-
Notifications
You must be signed in to change notification settings - Fork 132
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 to terraform provider v5.46.0 #1271
Conversation
588a1d8
to
ccb0fe8
Compare
7ca93f7
to
724c288
Compare
Signed-off-by: Christopher Haar <[email protected]>
Signed-off-by: Christopher Haar <[email protected]> Signed-off-by: Matt Bush <[email protected]>
Signed-off-by: Matt Bush <[email protected]>
Signed-off-by: Matt Bush <[email protected]>
Signed-off-by: Matt Bush <[email protected]>
Signed-off-by: Matt Bush <[email protected]>
724c288
to
b296213
Compare
/test-examples="examples/eks/v1beta1/clusterauth.yaml" |
/test-examples="examples/fsx/v1beta1/ontapfilesystem.yaml" |
/test-examples="examples/emrserverless/v1beta1/application.yaml" |
Signed-off-by: Matt Bush <[email protected]>
Signed-off-by: Matt Bush <[email protected]>
/test-examples="examples/secretsmanager/v1beta1/secretrotation.yaml" |
/test-examples="examples/cloud9/v1beta1/environmentec2.yaml" |
/test-examples="examples/ecs/v1beta1/cluster.yaml" |
/test-examples="examples/appautoscaling/v1beta1/scheduledaction.yaml" |
Any updates on this PR? Happy to help out where I can. |
@johnathan-sq we will be focusing on finalizing the TF provider upgrade next week. |
Superseded by #1315 |
Description of your changes
Upgrade to the latest terraform provider version. There have been several complications, discussed below.
I have:
make reviewable
to ensure this PR is ready for review.Complications
This is integrating several separate pieces, which conflict with each other.
.Session
property onconns.AWSClient
.Session
property private (which isn't a breaking change to their public API since it's ininternal
, but we use a forked version of the TF provider that exposes some internal objects to make our no-fork architecture possible).eksctl
resolved it by removing theRetryMetricsHeader
from the middleware, but then later reverted that change after upgrading to aws go sdk v2 version 1.25.0.ClusterAuth
uptest passes on this branch, but I'd still appreciatePotentially incompatible schema changes:
From https://github.com/crossplane-contrib/provider-upjet-aws/actions/runs/8792472872/job/24128687844
Report breaking CRD OpenAPI v3 schema changes:
Report native schema version changes
Uptest runs
✔️ EKS ClusterAuth: https://github.com/crossplane-contrib/provider-upjet-aws/actions/runs/8794111828
✔️ FSX OnTapFileSystem: https://github.com/crossplane-contrib/provider-upjet-aws/actions/runs/8794383020
✔️ EMR Serverless Application: https://github.com/crossplane-contrib/provider-upjet-aws/actions/runs/8794565770
✔️ Cloud9 EnvironmentEc2: https://github.com/crossplane-contrib/provider-upjet-aws/actions/runs/8795118229
✔️ Secretsmanager SecretRotation: https://github.com/crossplane-contrib/provider-upjet-aws/actions/runs/8795106214
Terraform provider changelog lines to look into:
This is a very light filter through the tf provider changelog, with things I though might be slightly notable or worth checking. I'm sure there are a bunch of things on here that just won't matter at all.
scalable_dimension
as an additional filterderegister_on_new_revision
to allow keeping prior versions ACTIVE when a new revision is published.monitor_dimension
to [ForceNew]image_id
is Requiredoutput_format
kms_key_id
argumenttrigger.destination_arn
andtrigger.events
aws_config_organization_custom_rule.lambda_function_arn
s3_bucket_arn
attribute value from state read/refreshperformance_insights_retention_period
parameter_group_name
whenreplicate_source_db
is in different region.character_set_name
whenreplicate_source_db
,restore_to_point_in_time
, orsnapshot_identifier
is setauth
fromTypeList
toTypeSet
as order is not significantsource_ids
as Optional. This fixes a regression introduced in [v5.31.0]replication_task_settings
unset to use default settings.DEFAULT
) forconfiguration.execute_command_configuration.logging
panic: interface conversion: interface {} is nil, not map[string]interface {}
whenconfiguration
,configuration.execute_command_configuration
, orconfiguration.execute_command_configuration.log_configuration
are emptyservice_connect_configuration.service.tls.issuer_cert_authority.aws_pca_authority_arn
is Requiredlifecycle_policy
maximum item limit to 3throughput_capacity
is Optionalnumber_of_workers
andworker_type
as optional/computed, preventing persistent differences whenmax_capacity
is set.aws_instance
, addebs_block_device.*.tags_all
androot_block_device.*.tags_all
attributes which include default tagsextended_s3_configuration.processing_configuration.processors.parameters
fromTypeList
toTypeSet
as order is not significantsource_code_hash
does not change.load_balancer_arns
attributeInvalidNetworkAclID.NotFound
errors on resource Deletelogging
argument is now deprecated. Use theaws_redshift_logging
resource instead.snapshot_copy
argument is now deprecated. Use theaws_redshift_snapshot_copy
resource instead.name
casing changes./
fromkey
to maintain AWS SDK for Go v1 (pre-v5.17.0) compatibility./
fromkey
to maintain AWS SDK for Go v1 (pre-v5.17.0) compatibility./
fromkey
to maintain AWS SDK for Go v1 (pre-v5.17.0) compatibilityInvalidParameterException: The parameter RemoveFromVersionId can't be empty. Staging label AWSCURRENT is currently attached to version ..., so you must explicitly reference that version in RemoveFromVersionId
errors when a secret is updated outside TerraformInvalidRequestException
data_type
is updated.