-
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
Bugfix: Allow HA
configuration of aws_lightsail_database
#28590
Bugfix: Allow HA
configuration of aws_lightsail_database
#28590
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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 TESTARGS='-run=TestAccLightsailDatabase_' PKG=lightsail ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lightsail/... -v -count 1 -parallel 3 -run=TestAccLightsailDatabase_ -timeout 180m
=== RUN TestAccLightsailDatabase_basic
=== PAUSE TestAccLightsailDatabase_basic
=== RUN TestAccLightsailDatabase_relationalDatabaseName
=== PAUSE TestAccLightsailDatabase_relationalDatabaseName
=== RUN TestAccLightsailDatabase_masterDatabaseName
=== PAUSE TestAccLightsailDatabase_masterDatabaseName
=== RUN TestAccLightsailDatabase_masterUsername
=== PAUSE TestAccLightsailDatabase_masterUsername
=== RUN TestAccLightsailDatabase_masterPassword
=== PAUSE TestAccLightsailDatabase_masterPassword
=== RUN TestAccLightsailDatabase_preferredBackupWindow
=== PAUSE TestAccLightsailDatabase_preferredBackupWindow
=== RUN TestAccLightsailDatabase_preferredMaintenanceWindow
=== PAUSE TestAccLightsailDatabase_preferredMaintenanceWindow
=== RUN TestAccLightsailDatabase_publiclyAccessible
=== PAUSE TestAccLightsailDatabase_publiclyAccessible
=== RUN TestAccLightsailDatabase_backupRetentionEnabled
=== PAUSE TestAccLightsailDatabase_backupRetentionEnabled
=== RUN TestAccLightsailDatabase_finalSnapshotName
=== PAUSE TestAccLightsailDatabase_finalSnapshotName
=== RUN TestAccLightsailDatabase_tags
=== PAUSE TestAccLightsailDatabase_tags
=== RUN TestAccLightsailDatabase_ha
=== PAUSE TestAccLightsailDatabase_ha
=== RUN TestAccLightsailDatabase_disappears
=== PAUSE TestAccLightsailDatabase_disappears
=== CONT TestAccLightsailDatabase_basic
=== CONT TestAccLightsailDatabase_publiclyAccessible
=== CONT TestAccLightsailDatabase_masterPassword
--- PASS: TestAccLightsailDatabase_masterPassword (5.78s)
=== CONT TestAccLightsailDatabase_tags
--- PASS: TestAccLightsailDatabase_tags (825.33s)
=== CONT TestAccLightsailDatabase_disappears
--- PASS: TestAccLightsailDatabase_publiclyAccessible (846.90s)
=== CONT TestAccLightsailDatabase_ha
--- PASS: TestAccLightsailDatabase_basic (870.36s)
=== CONT TestAccLightsailDatabase_preferredMaintenanceWindow
--- PASS: TestAccLightsailDatabase_disappears (535.84s)
=== CONT TestAccLightsailDatabase_preferredBackupWindow
--- PASS: TestAccLightsailDatabase_preferredMaintenanceWindow (718.51s)
=== CONT TestAccLightsailDatabase_masterDatabaseName
--- PASS: TestAccLightsailDatabase_preferredBackupWindow (759.19s)
=== CONT TestAccLightsailDatabase_masterUsername
--- PASS: TestAccLightsailDatabase_ha (1437.29s)
=== CONT TestAccLightsailDatabase_relationalDatabaseName
--- PASS: TestAccLightsailDatabase_masterDatabaseName (1542.86s)
=== CONT TestAccLightsailDatabase_finalSnapshotName
--- PASS: TestAccLightsailDatabase_relationalDatabaseName (864.14s)
=== CONT TestAccLightsailDatabase_backupRetentionEnabled
--- PASS: TestAccLightsailDatabase_masterUsername (1468.91s)
--- PASS: TestAccLightsailDatabase_backupRetentionEnabled (959.55s)
--- PASS: TestAccLightsailDatabase_finalSnapshotName (1038.52s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lightsail 4175.415s
@brittandeyoung Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.49.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 following PR was made to expedite the fixes associated with this original PR: #26488 . The Commits where brought into this PR to give original author credit. This PR makes the
availability_zone
optional as this field is not allowed when using an HA blueprint. Resource functions where also updated to support context.Relations
Closes #26488.
Closes #26137.
References
Output from Acceptance Testing