-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
resource/aws_db_instance: Adds warning when setting character_set_name
on replica- or restore-type resources
#36518
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Thank you for your contribution! 🚀 A new usage of AWS SDK for Go V1 was detected. Please prefer AWS SDK for Go V2 for all net-new services. If this is an enhancement or bug fix to an existing AWS SDK Go V1 based resource, this comment can be safely ignored. For additional information refer to the AWS SDK for Go Versions page in the contributor guide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
% make testacc PKG=rds TESTS='TestAccRDSInstance_\w*characterSet'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/rds/... -v -count 1 -parallel 20 -run='TestAccRDSInstance_\w*characterSet' -timeout 360m
=== RUN TestAccRDSInstance_ReplicateSourceDB_characterSet_Source
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_characterSet_Source
=== RUN TestAccRDSInstance_ReplicateSourceDB_characterSet_Replica
=== PAUSE TestAccRDSInstance_ReplicateSourceDB_characterSet_Replica
=== RUN TestAccRDSInstance_ReplicateSourceDB_CrossRegion_characterSet
instance_test.go:2272: Skipping due to upstream error
--- SKIP: TestAccRDSInstance_ReplicateSourceDB_CrossRegion_characterSet (0.00s)
=== CONT TestAccRDSInstance_ReplicateSourceDB_characterSet_Source
=== CONT TestAccRDSInstance_ReplicateSourceDB_characterSet_Replica
--- PASS: TestAccRDSInstance_ReplicateSourceDB_characterSet_Source (2608.34s)
--- PASS: TestAccRDSInstance_ReplicateSourceDB_characterSet_Replica (2632.35s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/rds 2637.914s
This functionality has been released in v5.44.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
The
character_set_name
parameter can only be set when creating a new DB instance. Adds a conflict warning when setting it whenreplicate_source_db
,restore_to_point_in_time
, orsnapshot_identifier
is set. It was already an error when setting it withs3_import
.Relations
Relates ##20379
Output from Acceptance Testing