-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/aws_neptune_cluster: Fixing Issue #38979 with incorrect default value used for cluster and instance parameter group #38980
Conversation
both the cluster and instance parameter group. Changed preferred instance types for tests to use graviton instances where possible to save on testing cost. Updated KMS key policies used in test as the previously used policies were overly permissive. Fixed issue with waiting state used in tests for engine upgrades. Previous waiting functions did not take PendingModifiedValues into account when checking cluster status.
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 🚀.
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccNeptuneCluster_\|TestAccNeptuneClusterInstance_' PKG=neptune ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/neptune/... -v -count 1 -parallel 4 -run=TestAccNeptuneCluster_\|TestAccNeptuneClusterInstance_ -timeout 720m
=== RUN TestAccNeptuneClusterInstance_basic
=== PAUSE TestAccNeptuneClusterInstance_basic
=== RUN TestAccNeptuneClusterInstance_disappears
=== PAUSE TestAccNeptuneClusterInstance_disappears
=== RUN TestAccNeptuneClusterInstance_identifierGenerated
=== PAUSE TestAccNeptuneClusterInstance_identifierGenerated
=== RUN TestAccNeptuneClusterInstance_identifierPrefix
=== PAUSE TestAccNeptuneClusterInstance_identifierPrefix
=== RUN TestAccNeptuneClusterInstance_tags
=== PAUSE TestAccNeptuneClusterInstance_tags
=== RUN TestAccNeptuneClusterInstance_withAZ
=== PAUSE TestAccNeptuneClusterInstance_withAZ
=== RUN TestAccNeptuneClusterInstance_withSubnetGroup
=== PAUSE TestAccNeptuneClusterInstance_withSubnetGroup
=== RUN TestAccNeptuneClusterInstance_kmsKey
=== PAUSE TestAccNeptuneClusterInstance_kmsKey
=== RUN TestAccNeptuneCluster_basic
=== PAUSE TestAccNeptuneCluster_basic
=== RUN TestAccNeptuneCluster_disappears
=== PAUSE TestAccNeptuneCluster_disappears
=== RUN TestAccNeptuneCluster_identifierGenerated
=== PAUSE TestAccNeptuneCluster_identifierGenerated
=== RUN TestAccNeptuneCluster_identifierPrefix
=== PAUSE TestAccNeptuneCluster_identifierPrefix
=== RUN TestAccNeptuneCluster_tags
=== PAUSE TestAccNeptuneCluster_tags
=== RUN TestAccNeptuneCluster_copyTagsToSnapshot
=== PAUSE TestAccNeptuneCluster_copyTagsToSnapshot
=== RUN TestAccNeptuneCluster_serverlessConfiguration
=== PAUSE TestAccNeptuneCluster_serverlessConfiguration
=== RUN TestAccNeptuneCluster_takeFinalSnapshot
=== PAUSE TestAccNeptuneCluster_takeFinalSnapshot
=== RUN TestAccNeptuneCluster_updateIAMRoles
=== PAUSE TestAccNeptuneCluster_updateIAMRoles
=== RUN TestAccNeptuneCluster_kmsKey
=== PAUSE TestAccNeptuneCluster_kmsKey
=== RUN TestAccNeptuneCluster_encrypted
=== PAUSE TestAccNeptuneCluster_encrypted
=== RUN TestAccNeptuneCluster_backupsUpdate
=== PAUSE TestAccNeptuneCluster_backupsUpdate
=== RUN TestAccNeptuneCluster_iamAuth
=== PAUSE TestAccNeptuneCluster_iamAuth
=== RUN TestAccNeptuneCluster_updateCloudWatchLogsExports
=== PAUSE TestAccNeptuneCluster_updateCloudWatchLogsExports
=== RUN TestAccNeptuneCluster_updateEngineVersion
=== PAUSE TestAccNeptuneCluster_updateEngineVersion
=== RUN TestAccNeptuneCluster_updateEngineMajorVersion
=== PAUSE TestAccNeptuneCluster_updateEngineMajorVersion
=== RUN TestAccNeptuneCluster_GlobalClusterIdentifier_PrimarySecondaryClusters
=== PAUSE TestAccNeptuneCluster_GlobalClusterIdentifier_PrimarySecondaryClusters
=== RUN TestAccNeptuneCluster_deleteProtection
=== PAUSE TestAccNeptuneCluster_deleteProtection
=== RUN TestAccNeptuneCluster_restoreFromSnapshot
=== PAUSE TestAccNeptuneCluster_restoreFromSnapshot
=== RUN TestAccNeptuneCluster_storageType
=== PAUSE TestAccNeptuneCluster_storageType
=== CONT TestAccNeptuneClusterInstance_basic
=== CONT TestAccNeptuneCluster_serverlessConfiguration
=== CONT TestAccNeptuneClusterInstance_kmsKey
=== CONT TestAccNeptuneCluster_updateCloudWatchLogsExports
--- PASS: TestAccNeptuneCluster_serverlessConfiguration (166.55s)
=== CONT TestAccNeptuneCluster_identifierPrefix
--- PASS: TestAccNeptuneCluster_updateCloudWatchLogsExports (206.89s)
=== CONT TestAccNeptuneCluster_copyTagsToSnapshot
--- PASS: TestAccNeptuneCluster_identifierPrefix (144.76s)
=== CONT TestAccNeptuneCluster_tags
--- PASS: TestAccNeptuneCluster_copyTagsToSnapshot (202.92s)
=== CONT TestAccNeptuneCluster_encrypted
--- PASS: TestAccNeptuneCluster_tags (142.45s)
=== CONT TestAccNeptuneCluster_iamAuth
--- PASS: TestAccNeptuneCluster_encrypted (125.61s)
=== CONT TestAccNeptuneCluster_backupsUpdate
--- PASS: TestAccNeptuneCluster_iamAuth (146.50s)
=== CONT TestAccNeptuneCluster_updateIAMRoles
--- PASS: TestAccNeptuneCluster_backupsUpdate (164.46s)
=== CONT TestAccNeptuneCluster_kmsKey
--- PASS: TestAccNeptuneCluster_updateIAMRoles (164.44s)
=== CONT TestAccNeptuneCluster_takeFinalSnapshot
--- PASS: TestAccNeptuneCluster_kmsKey (141.44s)
=== CONT TestAccNeptuneCluster_disappears
--- PASS: TestAccNeptuneCluster_disappears (133.42s)
=== CONT TestAccNeptuneCluster_identifierGenerated
--- PASS: TestAccNeptuneCluster_takeFinalSnapshot (329.82s)
=== CONT TestAccNeptuneCluster_basic
--- PASS: TestAccNeptuneCluster_identifierGenerated (155.19s)
=== CONT TestAccNeptuneCluster_deleteProtection
--- PASS: TestAccNeptuneCluster_basic (165.99s)
=== CONT TestAccNeptuneCluster_storageType
--- PASS: TestAccNeptuneCluster_deleteProtection (253.93s)
=== CONT TestAccNeptuneCluster_restoreFromSnapshot
--- PASS: TestAccNeptuneCluster_storageType (225.96s)
=== CONT TestAccNeptuneClusterInstance_tags
--- PASS: TestAccNeptuneClusterInstance_kmsKey (1499.92s)
=== CONT TestAccNeptuneCluster_updateEngineMajorVersion
--- PASS: TestAccNeptuneClusterInstance_basic (1540.07s)
=== CONT TestAccNeptuneClusterInstance_withSubnetGroup
--- PASS: TestAccNeptuneCluster_restoreFromSnapshot (486.12s)
=== CONT TestAccNeptuneCluster_GlobalClusterIdentifier_PrimarySecondaryClusters
--- PASS: TestAccNeptuneClusterInstance_tags (1406.56s)
=== CONT TestAccNeptuneClusterInstance_withAZ
--- PASS: TestAccNeptuneClusterInstance_withSubnetGroup (1389.27s)
=== CONT TestAccNeptuneClusterInstance_identifierGenerated
--- PASS: TestAccNeptuneCluster_updateEngineMajorVersion (2068.96s)
=== CONT TestAccNeptuneCluster_updateEngineVersion
--- PASS: TestAccNeptuneCluster_GlobalClusterIdentifier_PrimarySecondaryClusters (1601.27s)
=== CONT TestAccNeptuneClusterInstance_identifierPrefix
--- PASS: TestAccNeptuneClusterInstance_withAZ (1435.23s)
=== CONT TestAccNeptuneClusterInstance_disappears
--- PASS: TestAccNeptuneClusterInstance_identifierGenerated (1607.13s)
--- PASS: TestAccNeptuneCluster_updateEngineVersion (1788.13s)
--- PASS: TestAccNeptuneClusterInstance_identifierPrefix (1668.18s)
--- PASS: TestAccNeptuneClusterInstance_disappears (1533.09s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/neptune 5867.016s
@triggan Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.65.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
Fixing Issue #38979 where an incorrect default value was being used for
both the cluster and instance parameter group.
Changed preferred instance types for tests to use Graviton instances where possible to save on testing cost.
Updated KMS key policies used in tests as the previously used policies were overly permissive.
Fixed issue with waiting state used in tests for engine upgrades. Previous waiting functions did not take PendingModifiedValues into account when checking cluster status.
Relations
Closes #38979
References
Output from Acceptance Testing