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

Upgrade terraform-provider-aws to v5.79.0 #4876

Merged
merged 6 commits into from
Dec 4, 2024

Conversation

flostadler
Copy link
Contributor

@flostadler flostadler commented Dec 3, 2024

This PR was generated via $ upgrade-provider pulumi/pulumi-aws --kind=provider --target-version=5.79.0.


  • Upgrading terraform-provider-aws from 5.78.0 to 5.79.0.

Fixes #4873
Fixes #4878

@flostadler flostadler requested review from t0yv0, corymhall and a team December 3, 2024 18:39
@flostadler flostadler self-assigned this Dec 3, 2024
+ Read: resourceBucketLegacyRead,
+ Update: resourceBucketLegacyUpdate,
+ Delete: resourceBucketLegacyDelete,
+ CreateContext: resourceBucketLegacyCreate,
Copy link
Member

Choose a reason for hiding this comment

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

Was this fairly mechanical or needs careful review?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mostly mechanical. AWSClient.Region and AWSClient.Partition are methods now

output.txt Outdated
@@ -0,0 +1,28 @@
(cd provider && go build -p 2 -o /Users/flo/development/pulumi-aws/bin/pulumi-tfgen-aws -ldflags "-X github.com/pulumi/pulumi-aws/provider/v6/pkg/version.Version=6.0.0-alpha.0+dev -X github.com/hashicorp/terraform-provider-aws/version.ProviderVersion=6.0.0-alpha.0+dev " github.com/pulumi/pulumi-aws/provider/v6/cmd/pulumi-tfgen-aws)
Copy link
Member

Choose a reason for hiding this comment

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

This file should not be checked in possibly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Argh, I hate that upgrade-provider picks up random files.


// Object lock not supported in all partitions (extra guard, also guards in read func)
if err != nil && (meta.(*conns.AWSClient).Partition == endpoints.AwsPartitionID || meta.(*conns.AWSClient).Partition == endpoints.AwsUsGovPartitionID) {
if err != nil && (meta.(*conns.AWSClient).Partition(ctx) == endpoints.AwsPartitionID || meta.(*conns.AWSClient).Partition(ctx) == endpoints.AwsUsGovPartitionID) {
Copy link
Member

Choose a reason for hiding this comment

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

👍

@@ -1095,7 +1091,6 @@ def __init__(__self__, *,
:param pulumi.Input[str] preferred_maintenance_window: Weekly time range during which system maintenance can occur, in (UTC) e.g., `wed:04:00-wed:04:30`
:param pulumi.Input[str] reader_endpoint: Read-only endpoint for the Aurora cluster, automatically
load-balanced across replicas
:param pulumi.Input[str] replication_source_identifier: ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica. If DB Cluster is part of a Global Cluster, use the `lifecycle` configuration block `ignore_changes` argument to prevent this provider from showing differences for this argument instead of configuring this value.
Copy link
Member

Choose a reason for hiding this comment

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

Curious why the docstring is lost here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's because replication_source_identifier needs a replacement, they changed the docstring to include the word Terraform. Good thing is the unit tests catch this now after some changes earlier this year :)

@t0yv0 t0yv0 self-requested a review December 3, 2024 21:07
Copy link

github-actions bot commented Dec 3, 2024

Does the PR have any schema changes?

Found 1 breaking change:

Types

  • 🟢 "aws:eks/getClusterKubernetesNetworkConfig:getClusterKubernetesNetworkConfig": required: "elasticLoadBalancings" property has changed to Required

New resources:

  • ec2/vpcBlockPublicAccessExclusion.VpcBlockPublicAccessExclusion
  • ec2/vpcBlockPublicAccessOptions.VpcBlockPublicAccessOptions

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

@flostadler flostadler added the needs-release/minor When a PR with this label merges, it initiates a release of vX.Y+1.0 label Dec 4, 2024
@flostadler flostadler merged commit 375329a into master Dec 4, 2024
32 checks passed
@flostadler flostadler deleted the upgrade-terraform-provider-aws-to-v5.79.0 branch December 4, 2024 11:01
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (bd51234) to head (faf85ac).
Report is 2 commits behind head on master.

Additional details and impacted files
@@      Coverage Diff       @@
##   master   #4876   +/-   ##
==============================
==============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v6.63.0.

@github-actions github-actions bot removed the needs-release/minor When a PR with this label merges, it initiates a release of vX.Y+1.0 label Dec 4, 2024
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.79.0 Add support for EKS Auto Mode
3 participants