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

MemoryDB: sweepers and other enhancements #22489

Merged

Conversation

roberth-k
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #20631
Depends on #22486

This PR wraps up work on MemoryDB.

  • Adds sweepers for all MemoryDB resources.
  • Refactors enums into a separate file.
  • Fixes aws_memorydb_cluster not respecting configured timeouts.
  • Splits required & optional arguments into separate sections in the documentation of all MemoryDB resources.
  • Re-uses a single validation function in all MemoryDB resource names.
  • Adds an acceptance test about restoring MemoryDB clusters from snapshot.

Output from acceptance testing:

$ make testacc PKG=memorydb TESTS=TestAccMemoryDB ACCTEST_PARALLELISM=4 ACCTEST_TIMEOUT=600m
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/memorydb/... -v -count 1 -parallel 4 -run='TestAccMemoryDB' -timeout 600m
=== RUN   TestAccMemoryDBACL_basic
=== PAUSE TestAccMemoryDBACL_basic
=== RUN   TestAccMemoryDBACL_disappears
=== PAUSE TestAccMemoryDBACL_disappears
=== RUN   TestAccMemoryDBACL_nameGenerated
=== PAUSE TestAccMemoryDBACL_nameGenerated
=== RUN   TestAccMemoryDBACL_namePrefix
=== PAUSE TestAccMemoryDBACL_namePrefix
=== RUN   TestAccMemoryDBACL_update_tags
=== PAUSE TestAccMemoryDBACL_update_tags
=== RUN   TestAccMemoryDBACL_update_userNames
=== PAUSE TestAccMemoryDBACL_update_userNames
=== RUN   TestAccMemoryDBCluster_basic
=== PAUSE TestAccMemoryDBCluster_basic
=== RUN   TestAccMemoryDBCluster_defaults
=== PAUSE TestAccMemoryDBCluster_defaults
=== RUN   TestAccMemoryDBCluster_disappears
=== PAUSE TestAccMemoryDBCluster_disappears
=== RUN   TestAccMemoryDBCluster_nameGenerated
=== PAUSE TestAccMemoryDBCluster_nameGenerated
=== RUN   TestAccMemoryDBCluster_namePrefix
=== PAUSE TestAccMemoryDBCluster_namePrefix
=== RUN   TestAccMemoryDBCluster_create_noTLS
=== PAUSE TestAccMemoryDBCluster_create_noTLS
=== RUN   TestAccMemoryDBCluster_create_withKMS
=== PAUSE TestAccMemoryDBCluster_create_withKMS
=== RUN   TestAccMemoryDBCluster_create_withPort
=== PAUSE TestAccMemoryDBCluster_create_withPort
=== RUN   TestAccMemoryDBCluster_create_fromSnapshot
=== PAUSE TestAccMemoryDBCluster_create_fromSnapshot
=== RUN   TestAccMemoryDBCluster_delete_withFinalSnapshot
=== PAUSE TestAccMemoryDBCluster_delete_withFinalSnapshot
=== RUN   TestAccMemoryDBCluster_update_aclName
=== PAUSE TestAccMemoryDBCluster_update_aclName
=== RUN   TestAccMemoryDBCluster_update_description
=== PAUSE TestAccMemoryDBCluster_update_description
=== RUN   TestAccMemoryDBCluster_update_engineVersion
=== PAUSE TestAccMemoryDBCluster_update_engineVersion
=== RUN   TestAccMemoryDBCluster_update_maintenanceWindow
=== PAUSE TestAccMemoryDBCluster_update_maintenanceWindow
=== RUN   TestAccMemoryDBCluster_update_nodeType
=== PAUSE TestAccMemoryDBCluster_update_nodeType
=== RUN   TestAccMemoryDBCluster_update_numShards_scaleUp
=== PAUSE TestAccMemoryDBCluster_update_numShards_scaleUp
=== RUN   TestAccMemoryDBCluster_update_numShards_scaleDown
=== PAUSE TestAccMemoryDBCluster_update_numShards_scaleDown
=== RUN   TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
=== PAUSE TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
=== RUN   TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
=== PAUSE TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
=== RUN   TestAccMemoryDBCluster_update_parameterGroup
=== PAUSE TestAccMemoryDBCluster_update_parameterGroup
=== RUN   TestAccMemoryDBCluster_update_securityGroupIds
=== PAUSE TestAccMemoryDBCluster_update_securityGroupIds
=== RUN   TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== PAUSE TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== RUN   TestAccMemoryDBCluster_update_snapshotWindow
=== PAUSE TestAccMemoryDBCluster_update_snapshotWindow
=== RUN   TestAccMemoryDBCluster_update_snsTopicArn
=== PAUSE TestAccMemoryDBCluster_update_snsTopicArn
=== RUN   TestAccMemoryDBCluster_update_tags
=== PAUSE TestAccMemoryDBCluster_update_tags
=== RUN   TestAccMemoryDBParameterGroup_basic
=== PAUSE TestAccMemoryDBParameterGroup_basic
=== RUN   TestAccMemoryDBParameterGroup_disappears
=== PAUSE TestAccMemoryDBParameterGroup_disappears
=== RUN   TestAccMemoryDBParameterGroup_update_parameters
=== PAUSE TestAccMemoryDBParameterGroup_update_parameters
=== RUN   TestAccMemoryDBParameterGroup_update_tags
=== PAUSE TestAccMemoryDBParameterGroup_update_tags
=== RUN   TestAccMemoryDBSnapshot_basic
=== PAUSE TestAccMemoryDBSnapshot_basic
=== RUN   TestAccMemoryDBSnapshot_disappears
=== PAUSE TestAccMemoryDBSnapshot_disappears
=== RUN   TestAccMemoryDBSnapshot_nameGenerated
=== PAUSE TestAccMemoryDBSnapshot_nameGenerated
=== RUN   TestAccMemoryDBSnapshot_namePrefix
=== PAUSE TestAccMemoryDBSnapshot_namePrefix
=== RUN   TestAccMemoryDBSnapshot_create_withKMS
=== PAUSE TestAccMemoryDBSnapshot_create_withKMS
=== RUN   TestAccMemoryDBSnapshot_update_tags
=== PAUSE TestAccMemoryDBSnapshot_update_tags
=== RUN   TestAccMemoryDBSubnetGroup_basic
=== PAUSE TestAccMemoryDBSubnetGroup_basic
=== RUN   TestAccMemoryDBSubnetGroup_disappears
=== PAUSE TestAccMemoryDBSubnetGroup_disappears
=== RUN   TestAccMemoryDBSubnetGroup_nameGenerated
=== PAUSE TestAccMemoryDBSubnetGroup_nameGenerated
=== RUN   TestAccMemoryDBSubnetGroup_namePrefix
=== PAUSE TestAccMemoryDBSubnetGroup_namePrefix
=== RUN   TestAccMemoryDBSubnetGroup_update_description
=== PAUSE TestAccMemoryDBSubnetGroup_update_description
=== RUN   TestAccMemoryDBSubnetGroup_update_subnetIds
=== PAUSE TestAccMemoryDBSubnetGroup_update_subnetIds
=== RUN   TestAccMemoryDBSubnetGroup_update_tags
=== PAUSE TestAccMemoryDBSubnetGroup_update_tags
=== RUN   TestAccMemoryDBUser_basic
=== PAUSE TestAccMemoryDBUser_basic
=== RUN   TestAccMemoryDBUser_disappears
=== PAUSE TestAccMemoryDBUser_disappears
=== RUN   TestAccMemoryDBUser_update_accessString
=== PAUSE TestAccMemoryDBUser_update_accessString
=== RUN   TestAccMemoryDBUser_update_passwords
=== PAUSE TestAccMemoryDBUser_update_passwords
=== RUN   TestAccMemoryDBUser_update_tags
=== PAUSE TestAccMemoryDBUser_update_tags
=== CONT  TestAccMemoryDBACL_basic
=== CONT  TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== CONT  TestAccMemoryDBSnapshot_update_tags
=== CONT  TestAccMemoryDBSnapshot_create_withKMS
--- PASS: TestAccMemoryDBACL_basic (141.48s)
=== CONT  TestAccMemoryDBSnapshot_namePrefix
--- PASS: TestAccMemoryDBCluster_update_snapshotRetentionLimit (1214.91s)
=== CONT  TestAccMemoryDBSnapshot_nameGenerated
--- PASS: TestAccMemoryDBSnapshot_create_withKMS (2177.88s)
=== CONT  TestAccMemoryDBSnapshot_disappears
--- PASS: TestAccMemoryDBSnapshot_update_tags (2192.97s)
=== CONT  TestAccMemoryDBSnapshot_basic
--- PASS: TestAccMemoryDBSnapshot_namePrefix (2491.44s)
=== CONT  TestAccMemoryDBCluster_update_tags
--- PASS: TestAccMemoryDBSnapshot_nameGenerated (2207.48s)
=== CONT  TestAccMemoryDBCluster_update_snsTopicArn
--- PASS: TestAccMemoryDBCluster_update_tags (1227.68s)
=== CONT  TestAccMemoryDBCluster_update_snapshotWindow
--- PASS: TestAccMemoryDBSnapshot_basic (2206.52s)
=== CONT  TestAccMemoryDBCluster_create_fromSnapshot
--- PASS: TestAccMemoryDBSnapshot_disappears (2226.31s)
=== CONT  TestAccMemoryDBCluster_update_securityGroupIds
--- PASS: TestAccMemoryDBCluster_update_snsTopicArn (1144.81s)
=== CONT  TestAccMemoryDBCluster_update_parameterGroup
--- PASS: TestAccMemoryDBCluster_update_snapshotWindow (1184.37s)
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
--- PASS: TestAccMemoryDBCluster_update_securityGroupIds (1272.26s)
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
--- PASS: TestAccMemoryDBCluster_update_parameterGroup (1365.95s)
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleDown
--- PASS: TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown (1528.68s)
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleUp
--- PASS: TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp (1499.95s)
=== CONT  TestAccMemoryDBCluster_update_nodeType
--- PASS: TestAccMemoryDBCluster_create_fromSnapshot (3285.88s)
=== CONT  TestAccMemoryDBCluster_update_maintenanceWindow
--- PASS: TestAccMemoryDBCluster_update_maintenanceWindow (1193.96s)
=== CONT  TestAccMemoryDBCluster_update_engineVersion
--- PASS: TestAccMemoryDBCluster_update_numShards_scaleDown (3380.14s)
=== CONT  TestAccMemoryDBCluster_update_description
--- PASS: TestAccMemoryDBCluster_update_nodeType (2284.88s)
=== CONT  TestAccMemoryDBParameterGroup_basic
--- PASS: TestAccMemoryDBParameterGroup_basic (15.12s)
=== CONT  TestAccMemoryDBParameterGroup_update_tags
--- PASS: TestAccMemoryDBParameterGroup_update_tags (52.11s)
=== CONT  TestAccMemoryDBParameterGroup_update_parameters
--- PASS: TestAccMemoryDBParameterGroup_update_parameters (76.18s)
=== CONT  TestAccMemoryDBParameterGroup_disappears
--- PASS: TestAccMemoryDBParameterGroup_disappears (10.16s)
=== CONT  TestAccMemoryDBCluster_update_aclName
--- PASS: TestAccMemoryDBCluster_update_numShards_scaleUp (3365.74s)
=== CONT  TestAccMemoryDBCluster_delete_withFinalSnapshot
--- PASS: TestAccMemoryDBCluster_update_engineVersion (1132.46s)
=== CONT  TestAccMemoryDBCluster_defaults
--- PASS: TestAccMemoryDBCluster_update_description (1316.02s)
=== CONT  TestAccMemoryDBCluster_create_noTLS
--- PASS: TestAccMemoryDBCluster_update_aclName (1246.61s)
=== CONT  TestAccMemoryDBCluster_namePrefix
--- PASS: TestAccMemoryDBCluster_defaults (1225.21s)
=== CONT  TestAccMemoryDBCluster_create_withPort
--- PASS: TestAccMemoryDBCluster_create_noTLS (1127.26s)
=== CONT  TestAccMemoryDBCluster_create_withKMS
--- PASS: TestAccMemoryDBCluster_namePrefix (1237.43s)
=== CONT  TestAccMemoryDBSubnetGroup_update_tags
--- PASS: TestAccMemoryDBCluster_delete_withFinalSnapshot (2190.56s)
=== CONT  TestAccMemoryDBUser_update_tags
--- PASS: TestAccMemoryDBSubnetGroup_update_tags (60.34s)
=== CONT  TestAccMemoryDBUser_update_passwords
--- PASS: TestAccMemoryDBUser_update_tags (70.31s)
=== CONT  TestAccMemoryDBCluster_nameGenerated
--- PASS: TestAccMemoryDBUser_update_passwords (158.12s)
=== CONT  TestAccMemoryDBCluster_disappears
--- PASS: TestAccMemoryDBCluster_create_withPort (1126.90s)
=== CONT  TestAccMemoryDBACL_update_tags
--- PASS: TestAccMemoryDBACL_update_tags (83.44s)
=== CONT  TestAccMemoryDBCluster_basic
--- PASS: TestAccMemoryDBCluster_create_withKMS (1189.41s)
=== CONT  TestAccMemoryDBACL_update_userNames
--- PASS: TestAccMemoryDBCluster_nameGenerated (1185.34s)
=== CONT  TestAccMemoryDBUser_update_accessString
--- PASS: TestAccMemoryDBUser_update_accessString (92.23s)
=== CONT  TestAccMemoryDBUser_basic
--- PASS: TestAccMemoryDBUser_basic (58.36s)
=== CONT  TestAccMemoryDBSubnetGroup_update_subnetIds
--- PASS: TestAccMemoryDBACL_update_userNames (596.45s)
=== CONT  TestAccMemoryDBUser_disappears
--- PASS: TestAccMemoryDBSubnetGroup_update_subnetIds (49.46s)
=== CONT  TestAccMemoryDBSubnetGroup_update_description
--- PASS: TestAccMemoryDBUser_disappears (64.48s)
=== CONT  TestAccMemoryDBACL_nameGenerated
--- PASS: TestAccMemoryDBSubnetGroup_update_description (32.64s)
=== CONT  TestAccMemoryDBSubnetGroup_disappears
--- PASS: TestAccMemoryDBSubnetGroup_disappears (16.41s)
=== CONT  TestAccMemoryDBACL_namePrefix
--- PASS: TestAccMemoryDBACL_namePrefix (25.02s)
=== CONT  TestAccMemoryDBSubnetGroup_nameGenerated
--- PASS: TestAccMemoryDBACL_nameGenerated (56.09s)
=== CONT  TestAccMemoryDBACL_disappears
--- PASS: TestAccMemoryDBSubnetGroup_nameGenerated (16.44s)
=== CONT  TestAccMemoryDBSubnetGroup_basic
--- PASS: TestAccMemoryDBSubnetGroup_basic (17.84s)
=== CONT  TestAccMemoryDBSubnetGroup_namePrefix
--- PASS: TestAccMemoryDBSubnetGroup_namePrefix (16.19s)
--- PASS: TestAccMemoryDBACL_disappears (64.37s)
--- PASS: TestAccMemoryDBCluster_disappears (1525.99s)
--- PASS: TestAccMemoryDBCluster_basic (1766.73s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/memorydb   14216.027s

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/memorydb Issues and PRs that pertain to the memorydb service. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XL Managed by automation to categorize the size of a PR. labels Jan 9, 2022
@ewbankkit ewbankkit force-pushed the f-memorydb_sweepers_and_other_enhancements branch from 670d11f to 0c026af Compare January 9, 2022 20:50
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Jan 9, 2022
@github-actions github-actions bot removed the provider Pertains to the provider itself, rather than any interaction with AWS. label Jan 9, 2022
@github-actions github-actions bot added generators Relates to code generators. service/ec2 Issues and PRs that pertain to the ec2 service. labels Jan 10, 2022
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM 🚀.

Commercial
% make testacc PKG=memorydb TESTS=TestAccMemoryDB ACCTEST_PARALLELISM=4 ACCTEST_TIMEOUT=600m 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/memorydb/... -v -count 1 -parallel 4 -run='TestAccMemoryDB'  -timeout 600m
=== RUN   TestAccMemoryDBACL_basic
=== PAUSE TestAccMemoryDBACL_basic
=== RUN   TestAccMemoryDBACL_disappears
=== PAUSE TestAccMemoryDBACL_disappears
=== RUN   TestAccMemoryDBACL_nameGenerated
=== PAUSE TestAccMemoryDBACL_nameGenerated
=== RUN   TestAccMemoryDBACL_namePrefix
=== PAUSE TestAccMemoryDBACL_namePrefix
=== RUN   TestAccMemoryDBACL_update_tags
=== PAUSE TestAccMemoryDBACL_update_tags
=== RUN   TestAccMemoryDBACL_update_userNames
=== PAUSE TestAccMemoryDBACL_update_userNames
=== RUN   TestAccMemoryDBCluster_basic
=== PAUSE TestAccMemoryDBCluster_basic
=== RUN   TestAccMemoryDBCluster_defaults
=== PAUSE TestAccMemoryDBCluster_defaults
=== RUN   TestAccMemoryDBCluster_disappears
=== PAUSE TestAccMemoryDBCluster_disappears
=== RUN   TestAccMemoryDBCluster_nameGenerated
=== PAUSE TestAccMemoryDBCluster_nameGenerated
=== RUN   TestAccMemoryDBCluster_namePrefix
=== PAUSE TestAccMemoryDBCluster_namePrefix
=== RUN   TestAccMemoryDBCluster_create_noTLS
=== PAUSE TestAccMemoryDBCluster_create_noTLS
=== RUN   TestAccMemoryDBCluster_create_withKMS
=== PAUSE TestAccMemoryDBCluster_create_withKMS
=== RUN   TestAccMemoryDBCluster_create_withPort
=== PAUSE TestAccMemoryDBCluster_create_withPort
=== RUN   TestAccMemoryDBCluster_create_fromSnapshot
=== PAUSE TestAccMemoryDBCluster_create_fromSnapshot
=== RUN   TestAccMemoryDBCluster_delete_withFinalSnapshot
=== PAUSE TestAccMemoryDBCluster_delete_withFinalSnapshot
=== RUN   TestAccMemoryDBCluster_update_aclName
=== PAUSE TestAccMemoryDBCluster_update_aclName
=== RUN   TestAccMemoryDBCluster_update_description
=== PAUSE TestAccMemoryDBCluster_update_description
=== RUN   TestAccMemoryDBCluster_update_engineVersion
=== PAUSE TestAccMemoryDBCluster_update_engineVersion
=== RUN   TestAccMemoryDBCluster_update_maintenanceWindow
=== PAUSE TestAccMemoryDBCluster_update_maintenanceWindow
=== RUN   TestAccMemoryDBCluster_update_nodeType
=== PAUSE TestAccMemoryDBCluster_update_nodeType
=== RUN   TestAccMemoryDBCluster_update_numShards_scaleUp
=== PAUSE TestAccMemoryDBCluster_update_numShards_scaleUp
=== RUN   TestAccMemoryDBCluster_update_numShards_scaleDown
=== PAUSE TestAccMemoryDBCluster_update_numShards_scaleDown
=== RUN   TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
=== PAUSE TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
=== RUN   TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
=== PAUSE TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
=== RUN   TestAccMemoryDBCluster_update_parameterGroup
=== PAUSE TestAccMemoryDBCluster_update_parameterGroup
=== RUN   TestAccMemoryDBCluster_update_securityGroupIds
=== PAUSE TestAccMemoryDBCluster_update_securityGroupIds
=== RUN   TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== PAUSE TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== RUN   TestAccMemoryDBCluster_update_snapshotWindow
=== PAUSE TestAccMemoryDBCluster_update_snapshotWindow
=== RUN   TestAccMemoryDBCluster_update_snsTopicArn
=== PAUSE TestAccMemoryDBCluster_update_snsTopicArn
=== RUN   TestAccMemoryDBCluster_update_tags
=== PAUSE TestAccMemoryDBCluster_update_tags
=== RUN   TestAccMemoryDBParameterGroup_basic
=== PAUSE TestAccMemoryDBParameterGroup_basic
=== RUN   TestAccMemoryDBParameterGroup_disappears
=== PAUSE TestAccMemoryDBParameterGroup_disappears
=== RUN   TestAccMemoryDBParameterGroup_update_parameters
=== PAUSE TestAccMemoryDBParameterGroup_update_parameters
=== RUN   TestAccMemoryDBParameterGroup_update_tags
=== PAUSE TestAccMemoryDBParameterGroup_update_tags
=== RUN   TestAccMemoryDBSnapshot_basic
=== PAUSE TestAccMemoryDBSnapshot_basic
=== RUN   TestAccMemoryDBSnapshot_disappears
=== PAUSE TestAccMemoryDBSnapshot_disappears
=== RUN   TestAccMemoryDBSnapshot_nameGenerated
=== PAUSE TestAccMemoryDBSnapshot_nameGenerated
=== RUN   TestAccMemoryDBSnapshot_namePrefix
=== PAUSE TestAccMemoryDBSnapshot_namePrefix
=== RUN   TestAccMemoryDBSnapshot_create_withKMS
=== PAUSE TestAccMemoryDBSnapshot_create_withKMS
=== RUN   TestAccMemoryDBSnapshot_update_tags
=== PAUSE TestAccMemoryDBSnapshot_update_tags
=== RUN   TestAccMemoryDBSubnetGroup_basic
=== PAUSE TestAccMemoryDBSubnetGroup_basic
=== RUN   TestAccMemoryDBSubnetGroup_disappears
=== PAUSE TestAccMemoryDBSubnetGroup_disappears
=== RUN   TestAccMemoryDBSubnetGroup_nameGenerated
=== PAUSE TestAccMemoryDBSubnetGroup_nameGenerated
=== RUN   TestAccMemoryDBSubnetGroup_namePrefix
=== PAUSE TestAccMemoryDBSubnetGroup_namePrefix
=== RUN   TestAccMemoryDBSubnetGroup_update_description
=== PAUSE TestAccMemoryDBSubnetGroup_update_description
=== RUN   TestAccMemoryDBSubnetGroup_update_subnetIds
=== PAUSE TestAccMemoryDBSubnetGroup_update_subnetIds
=== RUN   TestAccMemoryDBSubnetGroup_update_tags
=== PAUSE TestAccMemoryDBSubnetGroup_update_tags
=== RUN   TestAccMemoryDBUser_basic
=== PAUSE TestAccMemoryDBUser_basic
=== RUN   TestAccMemoryDBUser_disappears
=== PAUSE TestAccMemoryDBUser_disappears
=== RUN   TestAccMemoryDBUser_update_accessString
=== PAUSE TestAccMemoryDBUser_update_accessString
=== RUN   TestAccMemoryDBUser_update_passwords
=== PAUSE TestAccMemoryDBUser_update_passwords
=== RUN   TestAccMemoryDBUser_update_tags
=== PAUSE TestAccMemoryDBUser_update_tags
=== CONT  TestAccMemoryDBACL_basic
=== CONT  TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== CONT  TestAccMemoryDBSubnetGroup_basic
=== CONT  TestAccMemoryDBSnapshot_update_tags
--- PASS: TestAccMemoryDBSubnetGroup_basic (39.53s)
=== CONT  TestAccMemoryDBSubnetGroup_update_tags
--- PASS: TestAccMemoryDBACL_basic (159.89s)
=== CONT  TestAccMemoryDBSubnetGroup_update_subnetIds
--- PASS: TestAccMemoryDBSubnetGroup_update_tags (120.74s)
=== CONT  TestAccMemoryDBSnapshot_create_withKMS
--- PASS: TestAccMemoryDBSubnetGroup_update_subnetIds (94.58s)
=== CONT  TestAccMemoryDBSnapshot_namePrefix
--- PASS: TestAccMemoryDBCluster_update_snapshotRetentionLimit (1224.33s)
=== CONT  TestAccMemoryDBSnapshot_nameGenerated
--- PASS: TestAccMemoryDBSnapshot_update_tags (2295.10s)
=== CONT  TestAccMemoryDBSnapshot_disappears
--- PASS: TestAccMemoryDBSnapshot_namePrefix (2137.45s)
=== CONT  TestAccMemoryDBSnapshot_basic
--- PASS: TestAccMemoryDBSnapshot_create_withKMS (2249.78s)
=== CONT  TestAccMemoryDBSubnetGroup_update_description
--- PASS: TestAccMemoryDBSubnetGroup_update_description (67.83s)
=== CONT  TestAccMemoryDBSubnetGroup_namePrefix
--- PASS: TestAccMemoryDBSubnetGroup_namePrefix (34.42s)
=== CONT  TestAccMemoryDBSubnetGroup_nameGenerated
--- PASS: TestAccMemoryDBSubnetGroup_nameGenerated (34.46s)
=== CONT  TestAccMemoryDBSubnetGroup_disappears
--- PASS: TestAccMemoryDBSubnetGroup_disappears (33.95s)
=== CONT  TestAccMemoryDBUser_update_passwords
--- PASS: TestAccMemoryDBUser_update_passwords (186.61s)
=== CONT  TestAccMemoryDBUser_update_tags
--- PASS: TestAccMemoryDBUser_update_tags (124.23s)
=== CONT  TestAccMemoryDBUser_basic
--- PASS: TestAccMemoryDBUser_basic (57.19s)
=== CONT  TestAccMemoryDBUser_update_accessString
--- PASS: TestAccMemoryDBSnapshot_nameGenerated (1776.80s)
=== CONT  TestAccMemoryDBUser_disappears
--- PASS: TestAccMemoryDBUser_update_accessString (118.80s)
=== CONT  TestAccMemoryDBCluster_create_fromSnapshot
--- PASS: TestAccMemoryDBUser_disappears (78.28s)
=== CONT  TestAccMemoryDBParameterGroup_basic
--- PASS: TestAccMemoryDBParameterGroup_basic (32.63s)
=== CONT  TestAccMemoryDBCluster_update_securityGroupIds
--- PASS: TestAccMemoryDBSnapshot_disappears (1819.22s)
=== CONT  TestAccMemoryDBParameterGroup_update_tags
--- PASS: TestAccMemoryDBParameterGroup_update_tags (75.48s)
=== CONT  TestAccMemoryDBCluster_update_parameterGroup
--- PASS: TestAccMemoryDBCluster_update_securityGroupIds (1267.49s)
=== CONT  TestAccMemoryDBCluster_update_tags
--- PASS: TestAccMemoryDBSnapshot_basic (2183.65s)
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
--- PASS: TestAccMemoryDBCluster_update_parameterGroup (1357.94s)
=== CONT  TestAccMemoryDBCluster_update_snsTopicArn
--- PASS: TestAccMemoryDBCluster_update_tags (1272.61s)
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
--- PASS: TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown (1615.37s)
=== CONT  TestAccMemoryDBCluster_update_snapshotWindow
--- PASS: TestAccMemoryDBCluster_create_fromSnapshot (3205.35s)
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleDown
--- PASS: TestAccMemoryDBCluster_update_snsTopicArn (1253.00s)
=== CONT  TestAccMemoryDBParameterGroup_update_parameters
--- PASS: TestAccMemoryDBParameterGroup_update_parameters (120.17s)
=== CONT  TestAccMemoryDBCluster_defaults
--- PASS: TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp (1578.20s)
=== CONT  TestAccMemoryDBParameterGroup_disappears
--- PASS: TestAccMemoryDBParameterGroup_disappears (13.88s)
=== CONT  TestAccMemoryDBCluster_namePrefix
--- PASS: TestAccMemoryDBCluster_update_snapshotWindow (1198.61s)
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleUp
--- PASS: TestAccMemoryDBCluster_defaults (1217.09s)
=== CONT  TestAccMemoryDBCluster_create_withKMS
--- PASS: TestAccMemoryDBCluster_namePrefix (1337.32s)
=== CONT  TestAccMemoryDBCluster_update_nodeType
--- PASS: TestAccMemoryDBCluster_create_withKMS (1135.78s)
=== CONT  TestAccMemoryDBCluster_create_noTLS
--- PASS: TestAccMemoryDBCluster_update_numShards_scaleDown (3238.35s)
=== CONT  TestAccMemoryDBCluster_update_maintenanceWindow
--- PASS: TestAccMemoryDBCluster_create_noTLS (1212.23s)
=== CONT  TestAccMemoryDBCluster_update_aclName
--- PASS: TestAccMemoryDBCluster_update_maintenanceWindow (1194.51s)
=== CONT  TestAccMemoryDBCluster_update_description
--- PASS: TestAccMemoryDBCluster_update_numShards_scaleUp (3357.35s)
=== CONT  TestAccMemoryDBCluster_delete_withFinalSnapshot
--- PASS: TestAccMemoryDBCluster_update_nodeType (2207.94s)
=== CONT  TestAccMemoryDBCluster_update_engineVersion
--- PASS: TestAccMemoryDBCluster_update_aclName (1304.04s)
=== CONT  TestAccMemoryDBCluster_disappears
--- PASS: TestAccMemoryDBCluster_update_description (1296.71s)
=== CONT  TestAccMemoryDBACL_update_tags
--- PASS: TestAccMemoryDBCluster_update_engineVersion (1225.36s)
=== CONT  TestAccMemoryDBCluster_basic
--- PASS: TestAccMemoryDBACL_update_tags (93.73s)
=== CONT  TestAccMemoryDBACL_update_userNames
--- PASS: TestAccMemoryDBACL_update_userNames (614.33s)
=== CONT  TestAccMemoryDBACL_nameGenerated
--- PASS: TestAccMemoryDBACL_nameGenerated (66.15s)
=== CONT  TestAccMemoryDBACL_disappears
--- PASS: TestAccMemoryDBACL_disappears (67.79s)
=== CONT  TestAccMemoryDBACL_namePrefix
--- PASS: TestAccMemoryDBACL_namePrefix (51.51s)
=== CONT  TestAccMemoryDBCluster_nameGenerated
--- PASS: TestAccMemoryDBCluster_delete_withFinalSnapshot (2208.75s)
=== CONT  TestAccMemoryDBCluster_create_withPort
--- PASS: TestAccMemoryDBCluster_disappears (1653.28s)
--- PASS: TestAccMemoryDBCluster_basic (1611.69s)
--- PASS: TestAccMemoryDBCluster_nameGenerated (1209.56s)
--- PASS: TestAccMemoryDBCluster_create_withPort (1166.10s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/memorydb	14127.909s
GovCloud
% make testacc PKG=memorydb TESTS=TestAccMemoryDB ACCTEST_PARALLELISM=4 ACCTEST_TIMEOUT=600m
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/memorydb/... -v -count 1 -parallel 4 -run='TestAccMemoryDB'  -timeout 600m
=== RUN   TestAccMemoryDBACL_basic
=== PAUSE TestAccMemoryDBACL_basic
=== RUN   TestAccMemoryDBACL_disappears
=== PAUSE TestAccMemoryDBACL_disappears
=== RUN   TestAccMemoryDBACL_nameGenerated
=== PAUSE TestAccMemoryDBACL_nameGenerated
=== RUN   TestAccMemoryDBACL_namePrefix
=== PAUSE TestAccMemoryDBACL_namePrefix
=== RUN   TestAccMemoryDBACL_update_tags
=== PAUSE TestAccMemoryDBACL_update_tags
=== RUN   TestAccMemoryDBACL_update_userNames
=== PAUSE TestAccMemoryDBACL_update_userNames
=== RUN   TestAccMemoryDBCluster_basic
=== PAUSE TestAccMemoryDBCluster_basic
=== RUN   TestAccMemoryDBCluster_defaults
=== PAUSE TestAccMemoryDBCluster_defaults
=== RUN   TestAccMemoryDBCluster_disappears
=== PAUSE TestAccMemoryDBCluster_disappears
=== RUN   TestAccMemoryDBCluster_nameGenerated
=== PAUSE TestAccMemoryDBCluster_nameGenerated
=== RUN   TestAccMemoryDBCluster_namePrefix
=== PAUSE TestAccMemoryDBCluster_namePrefix
=== RUN   TestAccMemoryDBCluster_create_noTLS
=== PAUSE TestAccMemoryDBCluster_create_noTLS
=== RUN   TestAccMemoryDBCluster_create_withKMS
=== PAUSE TestAccMemoryDBCluster_create_withKMS
=== RUN   TestAccMemoryDBCluster_create_withPort
=== PAUSE TestAccMemoryDBCluster_create_withPort
=== RUN   TestAccMemoryDBCluster_create_fromSnapshot
=== PAUSE TestAccMemoryDBCluster_create_fromSnapshot
=== RUN   TestAccMemoryDBCluster_delete_withFinalSnapshot
=== PAUSE TestAccMemoryDBCluster_delete_withFinalSnapshot
=== RUN   TestAccMemoryDBCluster_update_aclName
=== PAUSE TestAccMemoryDBCluster_update_aclName
=== RUN   TestAccMemoryDBCluster_update_description
=== PAUSE TestAccMemoryDBCluster_update_description
=== RUN   TestAccMemoryDBCluster_update_engineVersion
=== PAUSE TestAccMemoryDBCluster_update_engineVersion
=== RUN   TestAccMemoryDBCluster_update_maintenanceWindow
=== PAUSE TestAccMemoryDBCluster_update_maintenanceWindow
=== RUN   TestAccMemoryDBCluster_update_nodeType
=== PAUSE TestAccMemoryDBCluster_update_nodeType
=== RUN   TestAccMemoryDBCluster_update_numShards_scaleUp
=== PAUSE TestAccMemoryDBCluster_update_numShards_scaleUp
=== RUN   TestAccMemoryDBCluster_update_numShards_scaleDown
=== PAUSE TestAccMemoryDBCluster_update_numShards_scaleDown
=== RUN   TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
=== PAUSE TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
=== RUN   TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
=== PAUSE TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
=== RUN   TestAccMemoryDBCluster_update_parameterGroup
=== PAUSE TestAccMemoryDBCluster_update_parameterGroup
=== RUN   TestAccMemoryDBCluster_update_securityGroupIds
=== PAUSE TestAccMemoryDBCluster_update_securityGroupIds
=== RUN   TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== PAUSE TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== RUN   TestAccMemoryDBCluster_update_snapshotWindow
=== PAUSE TestAccMemoryDBCluster_update_snapshotWindow
=== RUN   TestAccMemoryDBCluster_update_snsTopicArn
=== PAUSE TestAccMemoryDBCluster_update_snsTopicArn
=== RUN   TestAccMemoryDBCluster_update_tags
=== PAUSE TestAccMemoryDBCluster_update_tags
=== RUN   TestAccMemoryDBParameterGroup_basic
=== PAUSE TestAccMemoryDBParameterGroup_basic
=== RUN   TestAccMemoryDBParameterGroup_disappears
=== PAUSE TestAccMemoryDBParameterGroup_disappears
=== RUN   TestAccMemoryDBParameterGroup_update_parameters
=== PAUSE TestAccMemoryDBParameterGroup_update_parameters
=== RUN   TestAccMemoryDBParameterGroup_update_tags
=== PAUSE TestAccMemoryDBParameterGroup_update_tags
=== RUN   TestAccMemoryDBSnapshot_basic
=== PAUSE TestAccMemoryDBSnapshot_basic
=== RUN   TestAccMemoryDBSnapshot_disappears
=== PAUSE TestAccMemoryDBSnapshot_disappears
=== RUN   TestAccMemoryDBSnapshot_nameGenerated
=== PAUSE TestAccMemoryDBSnapshot_nameGenerated
=== RUN   TestAccMemoryDBSnapshot_namePrefix
=== PAUSE TestAccMemoryDBSnapshot_namePrefix
=== RUN   TestAccMemoryDBSnapshot_create_withKMS
=== PAUSE TestAccMemoryDBSnapshot_create_withKMS
=== RUN   TestAccMemoryDBSnapshot_update_tags
=== PAUSE TestAccMemoryDBSnapshot_update_tags
=== RUN   TestAccMemoryDBSubnetGroup_basic
=== PAUSE TestAccMemoryDBSubnetGroup_basic
=== RUN   TestAccMemoryDBSubnetGroup_disappears
=== PAUSE TestAccMemoryDBSubnetGroup_disappears
=== RUN   TestAccMemoryDBSubnetGroup_nameGenerated
=== PAUSE TestAccMemoryDBSubnetGroup_nameGenerated
=== RUN   TestAccMemoryDBSubnetGroup_namePrefix
=== PAUSE TestAccMemoryDBSubnetGroup_namePrefix
=== RUN   TestAccMemoryDBSubnetGroup_update_description
=== PAUSE TestAccMemoryDBSubnetGroup_update_description
=== RUN   TestAccMemoryDBSubnetGroup_update_subnetIds
=== PAUSE TestAccMemoryDBSubnetGroup_update_subnetIds
=== RUN   TestAccMemoryDBSubnetGroup_update_tags
=== PAUSE TestAccMemoryDBSubnetGroup_update_tags
=== RUN   TestAccMemoryDBUser_basic
=== PAUSE TestAccMemoryDBUser_basic
=== RUN   TestAccMemoryDBUser_disappears
=== PAUSE TestAccMemoryDBUser_disappears
=== RUN   TestAccMemoryDBUser_update_accessString
=== PAUSE TestAccMemoryDBUser_update_accessString
=== RUN   TestAccMemoryDBUser_update_passwords
=== PAUSE TestAccMemoryDBUser_update_passwords
=== RUN   TestAccMemoryDBUser_update_tags
=== PAUSE TestAccMemoryDBUser_update_tags
=== CONT  TestAccMemoryDBACL_basic
=== CONT  TestAccMemoryDBCluster_update_snapshotRetentionLimit
=== CONT  TestAccMemoryDBCluster_create_fromSnapshot
=== CONT  TestAccMemoryDBCluster_update_securityGroupIds
=== CONT  TestAccMemoryDBACL_basic
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBACL_basic (1.51s)
=== CONT  TestAccMemoryDBCluster_create_fromSnapshot
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_update_parameterGroup
=== CONT  TestAccMemoryDBCluster_update_securityGroupIds
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_create_fromSnapshot (1.51s)
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
--- SKIP: TestAccMemoryDBCluster_update_securityGroupIds (1.51s)
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_update_numReplicasPerShard_scaleDown (0.00s)
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleDown
=== CONT  TestAccMemoryDBCluster_update_snapshotRetentionLimit
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_update_snapshotRetentionLimit (1.51s)
=== CONT  TestAccMemoryDBCluster_update_nodeType
--- SKIP: TestAccMemoryDBCluster_update_numReplicasPerShard_scaleUp (0.00s)
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleUp
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleDown
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_update_numShards_scaleDown (0.00s)
=== CONT  TestAccMemoryDBCluster_update_maintenanceWindow
=== CONT  TestAccMemoryDBCluster_update_numShards_scaleUp
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_update_parameterGroup
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_update_engineVersion
=== CONT  TestAccMemoryDBSubnetGroup_basic
--- SKIP: TestAccMemoryDBCluster_update_numShards_scaleUp (0.00s)
=== CONT  TestAccMemoryDBSubnetGroup_basic
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_update_parameterGroup (0.00s)
=== CONT  TestAccMemoryDBCluster_update_maintenanceWindow
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_update_description
=== CONT  TestAccMemoryDBCluster_update_aclName
=== CONT  TestAccMemoryDBCluster_update_nodeType
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_delete_withFinalSnapshot
=== CONT  TestAccMemoryDBCluster_update_engineVersion
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBSubnetGroup_basic (0.00s)
=== CONT  TestAccMemoryDBParameterGroup_update_tags
--- SKIP: TestAccMemoryDBCluster_update_maintenanceWindow (0.00s)
=== CONT  TestAccMemoryDBCluster_delete_withFinalSnapshot
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_update_aclName
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSnapshot_update_tags
=== CONT  TestAccMemoryDBCluster_update_description
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBParameterGroup_update_tags
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_update_nodeType (0.00s)
=== CONT  TestAccMemoryDBSnapshot_namePrefix
=== CONT  TestAccMemoryDBUser_update_tags
--- SKIP: TestAccMemoryDBCluster_update_engineVersion (0.00s)
--- SKIP: TestAccMemoryDBCluster_delete_withFinalSnapshot (0.00s)
=== CONT  TestAccMemoryDBSnapshot_create_withKMS
=== CONT  TestAccMemoryDBSnapshot_update_tags
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBUser_update_tags
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSnapshot_nameGenerated
=== CONT  TestAccMemoryDBSnapshot_namePrefix
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBUser_update_passwords
=== CONT  TestAccMemoryDBSnapshot_disappears
=== CONT  TestAccMemoryDBSnapshot_create_withKMS
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSnapshot_nameGenerated
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSnapshot_disappears
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBUser_update_accessString
--- SKIP: TestAccMemoryDBCluster_update_aclName (0.00s)
=== CONT  TestAccMemoryDBUser_update_passwords
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_update_description (0.00s)
--- SKIP: TestAccMemoryDBParameterGroup_update_tags (0.00s)
=== CONT  TestAccMemoryDBUser_basic
=== CONT  TestAccMemoryDBUser_disappears
--- SKIP: TestAccMemoryDBSnapshot_update_tags (0.00s)
--- SKIP: TestAccMemoryDBUser_update_tags (0.00s)
--- SKIP: TestAccMemoryDBSnapshot_namePrefix (0.00s)
--- SKIP: TestAccMemoryDBSnapshot_create_withKMS (0.00s)
=== CONT  TestAccMemoryDBSnapshot_basic
--- SKIP: TestAccMemoryDBSnapshot_nameGenerated (0.00s)
--- SKIP: TestAccMemoryDBUser_update_passwords (0.00s)
--- SKIP: TestAccMemoryDBSnapshot_disappears (0.00s)
=== CONT  TestAccMemoryDBUser_basic
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBUser_disappears
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBParameterGroup_basic
=== CONT  TestAccMemoryDBSubnetGroup_update_tags
=== CONT  TestAccMemoryDBSnapshot_basic
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBParameterGroup_basic
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSubnetGroup_update_subnetIds
=== CONT  TestAccMemoryDBUser_update_accessString
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSubnetGroup_namePrefix
=== CONT  TestAccMemoryDBSubnetGroup_update_subnetIds
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSubnetGroup_update_description
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSubnetGroup_namePrefix
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSubnetGroup_disappears
--- SKIP: TestAccMemoryDBUser_basic (0.00s)
=== CONT  TestAccMemoryDBParameterGroup_update_parameters
=== CONT  TestAccMemoryDBSubnetGroup_disappears
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBUser_disappears (0.00s)
=== CONT  TestAccMemoryDBSubnetGroup_update_tags
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBParameterGroup_update_parameters
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_update_tags
=== CONT  TestAccMemoryDBCluster_defaults
=== CONT  TestAccMemoryDBCluster_update_tags
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBSubnetGroup_nameGenerated
=== CONT  TestAccMemoryDBCluster_create_noTLS
=== CONT  TestAccMemoryDBCluster_update_snsTopicArn
=== CONT  TestAccMemoryDBSubnetGroup_nameGenerated
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_create_withPort
--- SKIP: TestAccMemoryDBSnapshot_basic (0.00s)
=== CONT  TestAccMemoryDBCluster_update_snsTopicArn
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_create_noTLS
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBParameterGroup_basic (0.00s)
--- SKIP: TestAccMemoryDBUser_update_accessString (0.00s)
--- SKIP: TestAccMemoryDBCluster_update_snsTopicArn (0.00s)
--- SKIP: TestAccMemoryDBSubnetGroup_update_subnetIds (0.00s)
--- SKIP: TestAccMemoryDBSubnetGroup_update_description (0.00s)
=== CONT  TestAccMemoryDBCluster_create_withPort
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBSubnetGroup_namePrefix (0.00s)
--- SKIP: TestAccMemoryDBSubnetGroup_disappears (0.00s)
--- SKIP: TestAccMemoryDBCluster_create_withPort (0.00s)
=== CONT  TestAccMemoryDBACL_update_tags
--- SKIP: TestAccMemoryDBSubnetGroup_update_tags (0.00s)
--- SKIP: TestAccMemoryDBParameterGroup_update_parameters (0.00s)
=== CONT  TestAccMemoryDBCluster_defaults
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_update_tags (0.00s)
=== CONT  TestAccMemoryDBACL_update_tags
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_namePrefix
--- SKIP: TestAccMemoryDBSubnetGroup_nameGenerated (0.00s)
--- SKIP: TestAccMemoryDBCluster_create_noTLS (0.00s)
--- SKIP: TestAccMemoryDBCluster_defaults (0.00s)
=== CONT  TestAccMemoryDBCluster_disappears
=== CONT  TestAccMemoryDBCluster_create_withKMS
--- SKIP: TestAccMemoryDBACL_update_tags (0.00s)
=== CONT  TestAccMemoryDBCluster_disappears
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBParameterGroup_disappears
--- SKIP: TestAccMemoryDBCluster_disappears (0.00s)
=== CONT  TestAccMemoryDBCluster_update_snapshotWindow
=== CONT  TestAccMemoryDBCluster_namePrefix
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBParameterGroup_disappears
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_namePrefix (0.00s)
=== CONT  TestAccMemoryDBCluster_nameGenerated
=== CONT  TestAccMemoryDBACL_update_userNames
=== CONT  TestAccMemoryDBCluster_update_snapshotWindow
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_create_withKMS
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBACL_namePrefix
=== CONT  TestAccMemoryDBCluster_nameGenerated
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBACL_disappears
=== CONT  TestAccMemoryDBACL_update_userNames
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_basic
=== CONT  TestAccMemoryDBACL_nameGenerated
=== CONT  TestAccMemoryDBACL_disappears
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
=== CONT  TestAccMemoryDBCluster_basic
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBParameterGroup_disappears (0.00s)
--- SKIP: TestAccMemoryDBACL_disappears (0.00s)
--- SKIP: TestAccMemoryDBCluster_basic (0.00s)
--- SKIP: TestAccMemoryDBCluster_update_snapshotWindow (0.00s)
--- SKIP: TestAccMemoryDBCluster_create_withKMS (0.00s)
=== CONT  TestAccMemoryDBACL_namePrefix
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBCluster_nameGenerated (0.00s)
--- SKIP: TestAccMemoryDBACL_update_userNames (0.00s)
--- SKIP: TestAccMemoryDBACL_namePrefix (0.00s)
=== CONT  TestAccMemoryDBACL_nameGenerated
    subnet_group_test.go:25: MemoryDB is not supported in aws-us-gov partition
--- SKIP: TestAccMemoryDBACL_nameGenerated (0.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/memorydb	5.024s
Sweeper
% make sweep SWEEPARGS=-sweep-run=aws_memorydb_acl,aws_memorydb_cluster,aws_memorydb_parameter_group,aws_memorydb_snapshot,aws_memorydb_subnet_group,aws_memorydb_user SWEEP=us-west-2
# make sweep SWEEPARGS=-sweep-run=aws_example_thing
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -tags=sweep -sweep=us-west-2 -sweep-run=aws_memorydb_acl,aws_memorydb_cluster,aws_memorydb_parameter_group,aws_memorydb_snapshot,aws_memorydb_subnet_group,aws_memorydb_user -timeout 60m
2022/01/10 08:40:30 [DEBUG] Running Sweepers for region (us-west-2):
2022/01/10 08:40:30 [DEBUG] Sweeper (aws_memorydb_snapshot) has dependency (aws_memorydb_cluster), running..
2022/01/10 08:40:30 [DEBUG] Running Sweeper (aws_memorydb_cluster) in region (us-west-2)
2022/01/10 08:40:30 [INFO] AWS Auth provider used: "EnvProvider"
2022/01/10 08:40:30 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2022/01/10 08:40:30 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2022/01/10 08:40:32 [DEBUG] Completed Sweeper (aws_memorydb_cluster) in region (us-west-2) in 2.260319004s
2022/01/10 08:40:32 [DEBUG] Running Sweeper (aws_memorydb_snapshot) in region (us-west-2)
2022/01/10 08:40:32 [DEBUG] Waiting for state to become: [success]
2022/01/10 08:40:32 [DEBUG] Waiting for state to become: [success]
2022/01/10 08:40:32 [DEBUG] Deleting MemoryDB Snapshot: (tf-test-pry1tlbv)
2022/01/10 08:40:32 [DEBUG] Deleting MemoryDB Snapshot: (tf-test-euln43y3)
2022/01/10 08:40:33 [DEBUG] Waiting for state to become: []
2022/01/10 08:40:33 [DEBUG] Waiting for state to become: []
2022/01/10 08:40:33 [TRACE] Waiting 200ms before next try
2022/01/10 08:40:33 [TRACE] Waiting 200ms before next try
2022/01/10 08:40:34 [TRACE] Waiting 400ms before next try
2022/01/10 08:40:34 [TRACE] Waiting 400ms before next try
2022/01/10 08:40:35 [TRACE] Waiting 800ms before next try
2022/01/10 08:40:35 [TRACE] Waiting 800ms before next try
2022/01/10 08:40:36 [DEBUG] Completed Sweeper (aws_memorydb_snapshot) in region (us-west-2) in 3.762033474s
2022/01/10 08:40:36 [DEBUG] Sweeper (aws_memorydb_parameter_group) has dependency (aws_memorydb_cluster), running..
2022/01/10 08:40:36 [DEBUG] Sweeper (aws_memorydb_cluster) already ran in region (us-west-2)
2022/01/10 08:40:36 [DEBUG] Running Sweeper (aws_memorydb_parameter_group) in region (us-west-2)
2022/01/10 08:40:36 [DEBUG] Waiting for state to become: [success]
2022/01/10 08:40:36 [DEBUG] Deleting MemoryDB Parameter Group: (ewbankkit-test)
2022/01/10 08:40:37 [DEBUG] Completed Sweeper (aws_memorydb_parameter_group) in region (us-west-2) in 869.763198ms
2022/01/10 08:40:37 [DEBUG] Sweeper (aws_memorydb_user) has dependency (aws_memorydb_cluster), running..
2022/01/10 08:40:37 [DEBUG] Sweeper (aws_memorydb_cluster) already ran in region (us-west-2)
2022/01/10 08:40:37 [DEBUG] Running Sweeper (aws_memorydb_user) in region (us-west-2)
2022/01/10 08:40:37 [DEBUG] Waiting for state to become: [success]
2022/01/10 08:40:37 [DEBUG] Deleting MemoryDB User: (ewbankkit-test)
2022/01/10 08:40:38 [DEBUG] Waiting for state to become: []
2022/01/10 08:40:38 [TRACE] Waiting 200ms before next try
2022/01/10 08:40:39 [TRACE] Waiting 400ms before next try
2022/01/10 08:40:40 [TRACE] Waiting 800ms before next try
2022/01/10 08:40:41 [TRACE] Waiting 1.6s before next try
2022/01/10 08:40:43 [TRACE] Waiting 3.2s before next try
2022/01/10 08:40:46 [TRACE] Waiting 6.4s before next try
2022/01/10 08:40:53 [TRACE] Waiting 10s before next try
2022/01/10 08:41:04 [TRACE] Waiting 10s before next try
2022/01/10 08:41:15 [TRACE] Waiting 10s before next try
2022/01/10 08:41:25 [TRACE] Waiting 10s before next try
2022/01/10 08:41:36 [TRACE] Waiting 10s before next try
2022/01/10 08:41:46 [TRACE] Waiting 10s before next try
2022/01/10 08:41:56 [TRACE] Waiting 10s before next try
2022/01/10 08:42:07 [TRACE] Waiting 10s before next try
2022/01/10 08:42:17 [TRACE] Waiting 10s before next try
2022/01/10 08:42:28 [TRACE] Waiting 10s before next try
2022/01/10 08:42:38 [TRACE] Waiting 10s before next try
2022/01/10 08:42:49 [TRACE] Waiting 10s before next try
2022/01/10 08:42:59 [TRACE] Waiting 10s before next try
2022/01/10 08:43:10 [TRACE] Waiting 10s before next try
2022/01/10 08:43:20 [DEBUG] Completed Sweeper (aws_memorydb_user) in region (us-west-2) in 2m43.464453339s
2022/01/10 08:43:20 [DEBUG] Sweeper (aws_memorydb_cluster) already ran in region (us-west-2)
2022/01/10 08:43:20 [DEBUG] Sweeper (aws_memorydb_acl) has dependency (aws_memorydb_user), running..
2022/01/10 08:43:20 [DEBUG] Sweeper (aws_memorydb_user) has dependency (aws_memorydb_cluster), running..
2022/01/10 08:43:20 [DEBUG] Sweeper (aws_memorydb_cluster) already ran in region (us-west-2)
2022/01/10 08:43:20 [DEBUG] Sweeper (aws_memorydb_user) already ran in region (us-west-2)
2022/01/10 08:43:20 [DEBUG] Running Sweeper (aws_memorydb_acl) in region (us-west-2)
2022/01/10 08:43:21 [DEBUG] Waiting for state to become: [success]
2022/01/10 08:43:21 [DEBUG] Deleting MemoryDB ACL: (ewbankkit-test)
2022/01/10 08:43:21 [DEBUG] Waiting for state to become: []
2022/01/10 08:43:22 [TRACE] Waiting 200ms before next try
2022/01/10 08:43:22 [TRACE] Waiting 400ms before next try
2022/01/10 08:43:23 [TRACE] Waiting 800ms before next try
2022/01/10 08:43:24 [TRACE] Waiting 1.6s before next try
2022/01/10 08:43:26 [TRACE] Waiting 3.2s before next try
2022/01/10 08:43:30 [TRACE] Waiting 6.4s before next try
2022/01/10 08:43:37 [TRACE] Waiting 10s before next try
2022/01/10 08:43:47 [TRACE] Waiting 10s before next try
2022/01/10 08:43:58 [TRACE] Waiting 10s before next try
2022/01/10 08:44:08 [TRACE] Waiting 10s before next try
2022/01/10 08:44:19 [DEBUG] Completed Sweeper (aws_memorydb_acl) in region (us-west-2) in 58.424638129s
2022/01/10 08:44:19 [DEBUG] Sweeper (aws_memorydb_subnet_group) has dependency (aws_memorydb_cluster), running..
2022/01/10 08:44:19 [DEBUG] Sweeper (aws_memorydb_cluster) already ran in region (us-west-2)
2022/01/10 08:44:19 [DEBUG] Running Sweeper (aws_memorydb_subnet_group) in region (us-west-2)
2022/01/10 08:44:19 [DEBUG] Waiting for state to become: [success]
2022/01/10 08:44:19 [DEBUG] Deleting MemoryDB Subnet Group: (ewbankkit-test)
2022/01/10 08:44:19 [DEBUG] Completed Sweeper (aws_memorydb_subnet_group) in region (us-west-2) in 853.141799ms
2022/01/10 08:44:19 Completed Sweepers for region (us-west-2) in 3m49.634941555s
2022/01/10 08:44:19 Sweeper Tests for region (us-west-2) ran successfully:
	- aws_memorydb_subnet_group
	- aws_memorydb_cluster
	- aws_memorydb_snapshot
	- aws_memorydb_parameter_group
	- aws_memorydb_user
	- aws_memorydb_acl
ok  	github.com/hashicorp/terraform-provider-aws/internal/sweep	233.334s

@ewbankkit
Copy link
Contributor

@roberth-k Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 933ba4c into hashicorp:main Jan 10, 2022
@github-actions github-actions bot added this to the v3.72.0 milestone Jan 10, 2022
@github-actions
Copy link

This functionality has been released in v3.72.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!

@roberth-k roberth-k deleted the f-memorydb_sweepers_and_other_enhancements branch January 16, 2022 20:23
@github-actions
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. generators Relates to code generators. service/ec2 Issues and PRs that pertain to the ec2 service. service/memorydb Issues and PRs that pertain to the memorydb service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS MemoryDB for Redis Resources
2 participants