Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream v5.55.0 #4102

Merged
merged 9 commits into from
Jun 24, 2024
Merged

upstream v5.55.0 #4102

merged 9 commits into from
Jun 24, 2024

Conversation

flostadler
Copy link
Contributor

@flostadler flostadler commented Jun 24, 2024

  • Moving ./upstream to v5.55.0
  • Update patches
  • ./scripts/tidy-all.sh
  • Make scripts/patch_computed_only.sh honor whitespaces
  • ./script/patch_computed_only.sh
  • Add mod mappings for new resources
  • Regenerate schema
  • Regenerate SDK

closes #4093

@flostadler flostadler self-assigned this Jun 24, 2024
+ }
+ o.Retryer = conns.AddIsErrorRetryables(cfg.Retryer().(aws_sdkv2.RetryerV2), retry)
+ }), nil
+ return lambda_sdkv2.NewFromConfig(cfg,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's multiple similar changes to patches in this PR.
Upstream introduces some helpers for configuring the endpoint: https://github.com/hashicorp/terraform-provider-aws/pull/38057/files

@@ -29,6 +29,6 @@ FILES=$(cd upstream && git grep TagsAttributeComputedOnly |


for f in $FILES; do
replace="s/names.AttrTagsAll: tftags.TagsAttributeComputedOnly/names.AttrTagsAll: tftags.TagsAttribute/g"
replace="s/names.AttrTagsAll:\s+tftags.TagsAttributeComputedOnly/names.AttrTagsAll: tftags.TagsAttribute/g"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now supports different amounts of whitespaces

@flostadler flostadler requested a review from a team June 24, 2024 11:15
Copy link

github-actions bot commented Jun 24, 2024

Does the PR have any schema changes?

Found 6 breaking changes:

Resources

  • 🟢 "aws:ec2/networkInsightsPath:NetworkInsightsPath": required: "destination" property is no longer Required

Types

  • 🟢 "aws:autoscaling/getGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement:getGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement": required: "maxSpotPriceAsPercentageOfOptimalOnDemandPrice" property has changed to Required
  • 🟢 "aws:dynamodb/TableTtl:TableTtl": required: "attributeName" property is no longer Required
  • 🟢 "aws:ec2/getLaunchTemplateInstanceRequirement:getLaunchTemplateInstanceRequirement": required: "maxSpotPriceAsPercentageOfOptimalOnDemandPrice" property has changed to Required
  • 🟢 "aws:glue/getCatalogTableStorageDescriptor:getCatalogTableStorageDescriptor": required: "additionalLocations" property has changed to Required
  • 🟢 "aws:networkmanager/getCoreNetworkPolicyDocumentAttachmentPolicyAction:getCoreNetworkPolicyDocumentAttachmentPolicyAction": required: "associationMethod" property is no longer Required

New resources:

  • drs/replicationConfigurationTemplate.ReplicationConfigurationTemplate

Maintainer note: consult the runbook for dealing with any breaking changes.

Previously you could set the TTL attribute's name even though TTL
was disabled. This resulted in permadiffs.

Upstream introduced added validation in this PR:
hashicorp/terraform-provider-aws#37991
--- a/internal/service/appsync/api_key.go
+++ b/internal/service/appsync/api_key.go
@@ -36,7 +36,7 @@ func ResourceAPIKey() *schema.Resource {
@@ -49,7 +49,7 @@ func resourceAPIKey() *schema.Resource {
names.AttrDescription: {
Type: schema.TypeString,
Optional: true,
- Default: "Managed by Terraform",
+ Default: "Managed by Pulumi",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit tedious but we could move this from a patch some Go code running on provider init. Fewer patches, less busywork.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a ticket for this already?

kms,kms,kms,kms,,kms,,,KMS,KMS,,,2,,aws_kms_,,kms_,KMS (Key Management),AWS,,,,,,,KMS,ListKeys,,,
lakeformation,lakeformation,lakeformation,lakeformation,,lakeformation,,,LakeFormation,LakeFormation,,,2,,aws_lakeformation_,,lakeformation_,Lake Formation,AWS,,,,,,,LakeFormation,ListResources,,,
-lambda,lambda,lambda,lambda,,lambda,,,Lambda,Lambda,,,2,,aws_lambda_,,lambda_,Lambda,AWS,,,,,,,Lambda,ListFunctions,,,
+lambda,lambda,lambda,lambda,,lambda,,,Lambda,Lambda,x,,2,,aws_lambda_,,lambda_,Lambda,AWS,,,,,,,Lambda,ListFunctions,,,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wish GitHub knew how to display CSV diffs properly.. This is terrible.

Copy link
Member

@t0yv0 t0yv0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flostadler flostadler merged commit 00ba5ea into master Jun 24, 2024
24 checks passed
@flostadler flostadler deleted the upstream-v5.55.0 branch June 24, 2024 15:05
@stevenolen
Copy link

is there documentation about when this will be available in a release?

@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v6.42.0.

lumiere-bot bot referenced this pull request in coolguy1771/home-ops Jun 27, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@pulumi/aws](https://pulumi.io)
([source](https://togithub.com/pulumi/pulumi-aws)) | dependencies |
minor | [`6.41.0` ->
`6.42.0`](https://renovatebot.com/diffs/npm/@pulumi%2faws/6.41.0/6.42.0)
|

---

### Release Notes

<details>
<summary>pulumi/pulumi-aws (@&#8203;pulumi/aws)</summary>

###
[`v6.42.0`](https://togithub.com/pulumi/pulumi-aws/releases/tag/v6.42.0)

[Compare
Source](https://togithub.com/pulumi/pulumi-aws/compare/v6.41.0...v6.42.0)

##### What's Changed

- Add extra notes to critical resource properties by
[@&#8203;guineveresaenger](https://togithub.com/guineveresaenger) in
[https://github.com/pulumi/pulumi-aws/pull/4088](https://togithub.com/pulumi/pulumi-aws/pull/4088)
- upstream v5.55.0 by
[@&#8203;flostadler](https://togithub.com/flostadler) in
[https://github.com/pulumi/pulumi-aws/pull/4102](https://togithub.com/pulumi/pulumi-aws/pull/4102)
- Upgrade pulumi-terraform-bridge to v3.85.0 by
[@&#8203;pulumi-bot](https://togithub.com/pulumi-bot) in
[https://github.com/pulumi/pulumi-aws/pull/4103](https://togithub.com/pulumi/pulumi-aws/pull/4103)
- Enable TypedDict input types for the Python SDK by
[@&#8203;julienp](https://togithub.com/julienp) in
[https://github.com/pulumi/pulumi-aws/pull/4108](https://togithub.com/pulumi/pulumi-aws/pull/4108)
- fix!: unable to create fsx for OpenZfs Multi-AZ file system by
[@&#8203;corymhall](https://togithub.com/corymhall) in
[https://github.com/pulumi/pulumi-aws/pull/4095](https://togithub.com/pulumi/pulumi-aws/pull/4095)
- Fix unexpected alb.Listener target group refresh by
[@&#8203;t0yv0](https://togithub.com/t0yv0) in
[https://github.com/pulumi/pulumi-aws/pull/4083](https://togithub.com/pulumi/pulumi-aws/pull/4083)

##### ⚠ BREAKING CHANGES

- fsx.OpenZfsFileSystem - The `subnetIds` argument now accepts a list
instead of a string

##### New Contributors

- [@&#8203;julienp](https://togithub.com/julienp) made their first
contribution in
[https://github.com/pulumi/pulumi-aws/pull/4108](https://togithub.com/pulumi/pulumi-aws/pull/4108)

**Full Changelog**:
pulumi/pulumi-aws@v6.41.0...v6.42.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
lumiere-bot bot referenced this pull request in coolguy1771/home-ops Jun 27, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@pulumi/aws](https://pulumi.io)
([source](https://togithub.com/pulumi/pulumi-aws)) | dependencies |
minor | [`6.41.0` ->
`6.42.0`](https://renovatebot.com/diffs/npm/@pulumi%2faws/6.41.0/6.42.0)
|

---

### Release Notes

<details>
<summary>pulumi/pulumi-aws (@&#8203;pulumi/aws)</summary>

###
[`v6.42.0`](https://togithub.com/pulumi/pulumi-aws/releases/tag/v6.42.0)

[Compare
Source](https://togithub.com/pulumi/pulumi-aws/compare/v6.41.0...v6.42.0)

##### What's Changed

- Add extra notes to critical resource properties by
[@&#8203;guineveresaenger](https://togithub.com/guineveresaenger) in
[https://github.com/pulumi/pulumi-aws/pull/4088](https://togithub.com/pulumi/pulumi-aws/pull/4088)
- upstream v5.55.0 by
[@&#8203;flostadler](https://togithub.com/flostadler) in
[https://github.com/pulumi/pulumi-aws/pull/4102](https://togithub.com/pulumi/pulumi-aws/pull/4102)
- Upgrade pulumi-terraform-bridge to v3.85.0 by
[@&#8203;pulumi-bot](https://togithub.com/pulumi-bot) in
[https://github.com/pulumi/pulumi-aws/pull/4103](https://togithub.com/pulumi/pulumi-aws/pull/4103)
- Enable TypedDict input types for the Python SDK by
[@&#8203;julienp](https://togithub.com/julienp) in
[https://github.com/pulumi/pulumi-aws/pull/4108](https://togithub.com/pulumi/pulumi-aws/pull/4108)
- fix!: unable to create fsx for OpenZfs Multi-AZ file system by
[@&#8203;corymhall](https://togithub.com/corymhall) in
[https://github.com/pulumi/pulumi-aws/pull/4095](https://togithub.com/pulumi/pulumi-aws/pull/4095)
- Fix unexpected alb.Listener target group refresh by
[@&#8203;t0yv0](https://togithub.com/t0yv0) in
[https://github.com/pulumi/pulumi-aws/pull/4083](https://togithub.com/pulumi/pulumi-aws/pull/4083)

##### ⚠ BREAKING CHANGES

- fsx.OpenZfsFileSystem - The `subnetIds` argument now accepts a list
instead of a string

##### New Contributors

- [@&#8203;julienp](https://togithub.com/julienp) made their first
contribution in
[https://github.com/pulumi/pulumi-aws/pull/4108](https://togithub.com/pulumi/pulumi-aws/pull/4108)

**Full Changelog**:
pulumi/pulumi-aws@v6.41.0...v6.42.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade terraform-provider-aws to v5.55.0
4 participants