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

r/aws_elasticache_replication_group: Use configured Delete timeout during resource Delete #37182

Merged
merged 29 commits into from
May 1, 2024

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Apr 30, 2024

Description

Use the configured Delete timeout during resource delete, especially when disassociating ElastiCache Replication Groups from Global Replication Groups.

Relations

Closes #37121.
Closes #34819.
Closes #30493.

Output from Acceptance Testing

% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheGlobalReplicationGroup_' PKG=elasticache ACCTEST_PARALLELISM=4
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 4  -run=TestAccElastiCacheGlobalReplicationGroup_ -timeout 720m
=== RUN   TestAccElastiCacheGlobalReplicationGroup_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_basic
=== RUN   TestAccElastiCacheGlobalReplicationGroup_disappears
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_disappears
=== RUN   TestAccElastiCacheGlobalReplicationGroup_description
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_description
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_update
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_update
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
=== RUN   TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
=== RUN   TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== RUN   TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
=== CONT  TestAccElastiCacheGlobalReplicationGroup_basic
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x (814.34s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade (815.94s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6 (817.44s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_basic (859.47s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x (780.56s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion (3.09s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5 (824.17s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade (780.78s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade (1837.02s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x (1720.86s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName (1707.69s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade (1708.96s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade (802.13s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion (801.52s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade (842.91s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update (981.24s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x (1771.93s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade (1733.06s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange (835.33s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease (2128.32s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase (2179.05s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange (928.76s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange (1010.36s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange (1064.08s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_update
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease (2403.98s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase (2199.65s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange (948.28s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange (886.81s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic (1075.11s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_update (1959.88s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange (1749.84s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_description
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x (804.03s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
--- PASS: TestAccElastiCacheGlobalReplicationGroup_description (907.78s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_disappears
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade (1768.26s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_disappears (843.95s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion (3185.29s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries (2765.48s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	13228.368s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheGlobalReplicationGroup_' PKG=elasticache ACCTEST_PARALLELISM=4
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 4  -run=TestAccElastiCacheGlobalReplicationGroup_ -timeout 720m
=== RUN   TestAccElastiCacheGlobalReplicationGroup_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_basic
=== RUN   TestAccElastiCacheGlobalReplicationGroup_disappears
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_disappears
=== RUN   TestAccElastiCacheGlobalReplicationGroup_description
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_description
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_nodeType_update
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_nodeType_update
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
=== RUN   TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
=== RUN   TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== RUN   TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
=== CONT  TestAccElastiCacheGlobalReplicationGroup_basic
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
--- PASS: TestAccElastiCacheGlobalReplicationGroup_basic (827.93s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6 (869.43s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update (997.92s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange (1282.92s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
--- PASS: TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic (1554.65s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase (2473.65s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange (1072.81s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange (1521.65s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion (3250.12s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_update
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange (957.88s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries (2845.38s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange (1020.09s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade (810.44s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade (788.02s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion (799.14s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_update (1823.57s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName (1839.91s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade (872.34s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x (1853.48s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_description
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x (854.79s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade (2061.69s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_description (908.03s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion (11.11s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade (1740.40s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange (923.74s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade (1732.56s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade (850.01s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange (1839.76s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x (1800.47s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_disappears
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x (819.25s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase (2113.97s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_disappears (893.02s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease (2390.10s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v5 (843.82s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_v6x (845.28s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade (1706.55s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease (2352.97s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	14287.773s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheCluster' PKG=elasticache ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 3  -run=TestAccElastiCacheCluster -timeout 720m
=== RUN   TestAccElastiCacheClusterDataSource_basic
=== PAUSE TestAccElastiCacheClusterDataSource_basic
=== RUN   TestAccElastiCacheClusterDataSource_Engine_Redis_LogDeliveryConfigurations
=== PAUSE TestAccElastiCacheClusterDataSource_Engine_Redis_LogDeliveryConfigurations
=== RUN   TestAccElastiCacheCluster_Engine_memcached
=== PAUSE TestAccElastiCacheCluster_Engine_memcached
=== RUN   TestAccElastiCacheCluster_Engine_redis
=== PAUSE TestAccElastiCacheCluster_Engine_redis
=== RUN   TestAccElastiCacheCluster_disappears
=== PAUSE TestAccElastiCacheCluster_disappears
=== RUN   TestAccElastiCacheCluster_Engine_redis_v5
=== PAUSE TestAccElastiCacheCluster_Engine_redis_v5
=== RUN   TestAccElastiCacheCluster_Engine_None
=== PAUSE TestAccElastiCacheCluster_Engine_None
=== RUN   TestAccElastiCacheCluster_PortRedis_default
=== PAUSE TestAccElastiCacheCluster_PortRedis_default
=== RUN   TestAccElastiCacheCluster_ParameterGroupName_default
=== PAUSE TestAccElastiCacheCluster_ParameterGroupName_default
=== RUN   TestAccElastiCacheCluster_ipDiscovery
=== PAUSE TestAccElastiCacheCluster_ipDiscovery
=== RUN   TestAccElastiCacheCluster_port
=== PAUSE TestAccElastiCacheCluster_port
=== RUN   TestAccElastiCacheCluster_snapshotsWithUpdates
=== PAUSE TestAccElastiCacheCluster_snapshotsWithUpdates
=== RUN   TestAccElastiCacheCluster_NumCacheNodes_decrease
=== PAUSE TestAccElastiCacheCluster_NumCacheNodes_decrease
=== RUN   TestAccElastiCacheCluster_NumCacheNodes_increase
=== PAUSE TestAccElastiCacheCluster_NumCacheNodes_increase
=== RUN   TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones
=== PAUSE TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones
=== RUN   TestAccElastiCacheCluster_vpc
=== PAUSE TestAccElastiCacheCluster_vpc
=== RUN   TestAccElastiCacheCluster_multiAZInVPC
=== PAUSE TestAccElastiCacheCluster_multiAZInVPC
=== RUN   TestAccElastiCacheCluster_AZMode_memcached
=== PAUSE TestAccElastiCacheCluster_AZMode_memcached
=== RUN   TestAccElastiCacheCluster_AZMode_redis
=== PAUSE TestAccElastiCacheCluster_AZMode_redis
=== RUN   TestAccElastiCacheCluster_EngineVersion_memcached
=== PAUSE TestAccElastiCacheCluster_EngineVersion_memcached
=== RUN   TestAccElastiCacheCluster_EngineVersion_redis
=== PAUSE TestAccElastiCacheCluster_EngineVersion_redis
=== RUN   TestAccElastiCacheCluster_NodeTypeResize_memcached
=== PAUSE TestAccElastiCacheCluster_NodeTypeResize_memcached
=== RUN   TestAccElastiCacheCluster_NodeTypeResize_redis
=== PAUSE TestAccElastiCacheCluster_NodeTypeResize_redis
=== RUN   TestAccElastiCacheCluster_NumCacheNodes_redis
=== PAUSE TestAccElastiCacheCluster_NumCacheNodes_redis
=== RUN   TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone
=== PAUSE TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone
=== RUN   TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption
=== PAUSE TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption
=== RUN   TestAccElastiCacheCluster_ReplicationGroupID_singleReplica
=== PAUSE TestAccElastiCacheCluster_ReplicationGroupID_singleReplica
=== RUN   TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica
=== PAUSE TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica
=== RUN   TestAccElastiCacheCluster_Memcached_finalSnapshot
=== PAUSE TestAccElastiCacheCluster_Memcached_finalSnapshot
=== RUN   TestAccElastiCacheCluster_Redis_finalSnapshot
=== PAUSE TestAccElastiCacheCluster_Redis_finalSnapshot
=== RUN   TestAccElastiCacheCluster_Redis_autoMinorVersionUpgrade
=== PAUSE TestAccElastiCacheCluster_Redis_autoMinorVersionUpgrade
=== RUN   TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations
=== PAUSE TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations
=== RUN   TestAccElastiCacheCluster_tags
=== PAUSE TestAccElastiCacheCluster_tags
=== RUN   TestAccElastiCacheCluster_tagWithOtherModification
=== PAUSE TestAccElastiCacheCluster_tagWithOtherModification
=== RUN   TestAccElastiCacheCluster_TransitEncryption
=== PAUSE TestAccElastiCacheCluster_TransitEncryption
=== RUN   TestAccElastiCacheCluster_outpost_memcached
=== PAUSE TestAccElastiCacheCluster_outpost_memcached
=== RUN   TestAccElastiCacheCluster_outpost_redis
=== PAUSE TestAccElastiCacheCluster_outpost_redis
=== RUN   TestAccElastiCacheCluster_outpostID_memcached
=== PAUSE TestAccElastiCacheCluster_outpostID_memcached
=== RUN   TestAccElastiCacheCluster_outpostID_redis
=== PAUSE TestAccElastiCacheCluster_outpostID_redis
=== CONT  TestAccElastiCacheClusterDataSource_basic
=== CONT  TestAccElastiCacheCluster_EngineVersion_redis
=== CONT  TestAccElastiCacheCluster_port
--- PASS: TestAccElastiCacheClusterDataSource_basic (653.87s)
=== CONT  TestAccElastiCacheCluster_Engine_redis_v5
--- PASS: TestAccElastiCacheCluster_port (668.79s)
=== CONT  TestAccElastiCacheCluster_ipDiscovery
--- PASS: TestAccElastiCacheCluster_Engine_redis_v5 (698.91s)
=== CONT  TestAccElastiCacheCluster_ParameterGroupName_default
--- PASS: TestAccElastiCacheCluster_ipDiscovery (697.07s)
=== CONT  TestAccElastiCacheCluster_PortRedis_default
--- PASS: TestAccElastiCacheCluster_PortRedis_default (654.37s)
=== CONT  TestAccElastiCacheCluster_Engine_None
--- PASS: TestAccElastiCacheCluster_ParameterGroupName_default (667.60s)
=== CONT  TestAccElastiCacheCluster_Redis_autoMinorVersionUpgrade
--- PASS: TestAccElastiCacheCluster_Engine_None (2.47s)
=== CONT  TestAccElastiCacheCluster_outpostID_redis
    cluster_test.go:1433: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpostID_redis (0.40s)
=== CONT  TestAccElastiCacheCluster_outpostID_memcached
    cluster_test.go:1400: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpostID_memcached (0.17s)
=== CONT  TestAccElastiCacheCluster_outpost_redis
    cluster_test.go:1360: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpost_redis (0.15s)
=== CONT  TestAccElastiCacheCluster_outpost_memcached
    cluster_test.go:1320: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpost_memcached (0.15s)
=== CONT  TestAccElastiCacheCluster_TransitEncryption
--- PASS: TestAccElastiCacheCluster_TransitEncryption (683.20s)
=== CONT  TestAccElastiCacheCluster_tagWithOtherModification
--- PASS: TestAccElastiCacheCluster_Redis_autoMinorVersionUpgrade (741.41s)
=== CONT  TestAccElastiCacheCluster_tags
--- PASS: TestAccElastiCacheCluster_tags (682.42s)
=== CONT  TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations
--- PASS: TestAccElastiCacheCluster_tagWithOtherModification (1498.82s)
=== CONT  TestAccElastiCacheCluster_Engine_redis
--- PASS: TestAccElastiCacheCluster_EngineVersion_redis (4574.08s)
=== CONT  TestAccElastiCacheCluster_disappears
--- PASS: TestAccElastiCacheCluster_disappears (696.44s)
=== CONT  TestAccElastiCacheCluster_Memcached_finalSnapshot
--- PASS: TestAccElastiCacheCluster_Memcached_finalSnapshot (3.16s)
=== CONT  TestAccElastiCacheCluster_Redis_finalSnapshot
--- PASS: TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations (1349.51s)
=== CONT  TestAccElastiCacheCluster_Engine_memcached
--- PASS: TestAccElastiCacheCluster_Engine_redis (916.00s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica
--- PASS: TestAccElastiCacheCluster_Engine_memcached (667.25s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_redis
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_redis (4.53s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone
--- PASS: TestAccElastiCacheCluster_Redis_finalSnapshot (871.52s)
=== CONT  TestAccElastiCacheCluster_NodeTypeResize_redis
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica (1521.60s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone (1571.93s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_singleReplica
--- PASS: TestAccElastiCacheCluster_NodeTypeResize_redis (1621.35s)
=== CONT  TestAccElastiCacheClusterDataSource_Engine_Redis_LogDeliveryConfigurations
--- PASS: TestAccElastiCacheClusterDataSource_Engine_Redis_LogDeliveryConfigurations (893.43s)
=== CONT  TestAccElastiCacheCluster_NodeTypeResize_memcached
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption (1584.20s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_increase
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_singleReplica (1521.45s)
=== CONT  TestAccElastiCacheCluster_vpc
--- PASS: TestAccElastiCacheCluster_vpc (705.99s)
=== CONT  TestAccElastiCacheCluster_EngineVersion_memcached
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_increase (1165.70s)
=== CONT  TestAccElastiCacheCluster_AZMode_redis
--- PASS: TestAccElastiCacheCluster_NodeTypeResize_memcached (1283.50s)
=== CONT  TestAccElastiCacheCluster_AZMode_memcached
--- PASS: TestAccElastiCacheCluster_AZMode_redis (668.21s)
=== CONT  TestAccElastiCacheCluster_multiAZInVPC
--- PASS: TestAccElastiCacheCluster_AZMode_memcached (656.50s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_decrease
--- PASS: TestAccElastiCacheCluster_EngineVersion_memcached (1397.89s)
=== CONT  TestAccElastiCacheCluster_snapshotsWithUpdates
--- PASS: TestAccElastiCacheCluster_multiAZInVPC (704.53s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_decrease (1031.90s)
--- PASS: TestAccElastiCacheCluster_snapshotsWithUpdates (726.82s)
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones (1236.40s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	12012.973s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheParameterGroup_' PKG=elasticache ACCTEST_PARALLELISM=3 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 3  -run=TestAccElastiCacheParameterGroup_ -timeout 720m
=== RUN   TestAccElastiCacheParameterGroup_basic
=== PAUSE TestAccElastiCacheParameterGroup_basic
=== RUN   TestAccElastiCacheParameterGroup_disappears
=== PAUSE TestAccElastiCacheParameterGroup_disappears
=== RUN   TestAccElastiCacheParameterGroup_addParameter
=== PAUSE TestAccElastiCacheParameterGroup_addParameter
=== RUN   TestAccElastiCacheParameterGroup_removeAllParameters
=== PAUSE TestAccElastiCacheParameterGroup_removeAllParameters
=== RUN   TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters
=== PAUSE TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters
=== RUN   TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters
=== PAUSE TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters
=== RUN   TestAccElastiCacheParameterGroup_switchReservedMemoryParameter
=== PAUSE TestAccElastiCacheParameterGroup_switchReservedMemoryParameter
=== RUN   TestAccElastiCacheParameterGroup_updateReservedMemoryParameter
=== PAUSE TestAccElastiCacheParameterGroup_updateReservedMemoryParameter
=== RUN   TestAccElastiCacheParameterGroup_uppercaseName
=== PAUSE TestAccElastiCacheParameterGroup_uppercaseName
=== RUN   TestAccElastiCacheParameterGroup_description
=== PAUSE TestAccElastiCacheParameterGroup_description
=== RUN   TestAccElastiCacheParameterGroup_tags
=== PAUSE TestAccElastiCacheParameterGroup_tags
=== CONT  TestAccElastiCacheParameterGroup_basic
=== CONT  TestAccElastiCacheParameterGroup_switchReservedMemoryParameter
=== CONT  TestAccElastiCacheParameterGroup_removeAllParameters
--- PASS: TestAccElastiCacheParameterGroup_basic (28.29s)
=== CONT  TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters
--- PASS: TestAccElastiCacheParameterGroup_removeAllParameters (42.23s)
=== CONT  TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters
--- PASS: TestAccElastiCacheParameterGroup_switchReservedMemoryParameter (50.48s)
=== CONT  TestAccElastiCacheParameterGroup_description
--- PASS: TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters (57.96s)
=== CONT  TestAccElastiCacheParameterGroup_tags
--- PASS: TestAccElastiCacheParameterGroup_description (36.34s)
=== CONT  TestAccElastiCacheParameterGroup_addParameter
--- PASS: TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters (57.20s)
=== CONT  TestAccElastiCacheParameterGroup_updateReservedMemoryParameter
--- PASS: TestAccElastiCacheParameterGroup_addParameter (54.15s)
=== CONT  TestAccElastiCacheParameterGroup_disappears
--- PASS: TestAccElastiCacheParameterGroup_updateReservedMemoryParameter (56.80s)
=== CONT  TestAccElastiCacheParameterGroup_uppercaseName
--- PASS: TestAccElastiCacheParameterGroup_tags (78.61s)
--- PASS: TestAccElastiCacheParameterGroup_disappears (27.70s)
--- PASS: TestAccElastiCacheParameterGroup_uppercaseName (25.63s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	194.293s
% make testacc TESTARGS='-run=TestAccElastiCacheServerlessCache_basic' PKG=elasticache
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20  -run=TestAccElastiCacheServerlessCache_basic -timeout 360m
=== RUN   TestAccElastiCacheServerlessCache_basic
=== PAUSE TestAccElastiCacheServerlessCache_basic
=== RUN   TestAccElastiCacheServerlessCache_basicRedis
=== PAUSE TestAccElastiCacheServerlessCache_basicRedis
=== CONT  TestAccElastiCacheServerlessCache_basic
=== CONT  TestAccElastiCacheServerlessCache_basicRedis
--- PASS: TestAccElastiCacheServerlessCache_basic (311.86s)
--- PASS: TestAccElastiCacheServerlessCache_basicRedis (364.10s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	374.957s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheSubnetGroup' PKG=elasticache ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 3  -run=TestAccElastiCacheSubnetGroup -timeout 720m
=== RUN   TestAccElastiCacheSubnetGroupDataSource_basic
=== PAUSE TestAccElastiCacheSubnetGroupDataSource_basic
=== RUN   TestAccElastiCacheSubnetGroup_basic
=== PAUSE TestAccElastiCacheSubnetGroup_basic
=== RUN   TestAccElastiCacheSubnetGroup_disappears
=== PAUSE TestAccElastiCacheSubnetGroup_disappears
=== RUN   TestAccElastiCacheSubnetGroup_tags
=== PAUSE TestAccElastiCacheSubnetGroup_tags
=== RUN   TestAccElastiCacheSubnetGroup_update
=== PAUSE TestAccElastiCacheSubnetGroup_update
=== CONT  TestAccElastiCacheSubnetGroupDataSource_basic
=== CONT  TestAccElastiCacheSubnetGroup_tags
=== CONT  TestAccElastiCacheSubnetGroup_update
--- PASS: TestAccElastiCacheSubnetGroupDataSource_basic (28.58s)
=== CONT  TestAccElastiCacheSubnetGroup_disappears
--- PASS: TestAccElastiCacheSubnetGroup_update (50.92s)
=== CONT  TestAccElastiCacheSubnetGroup_basic
--- PASS: TestAccElastiCacheSubnetGroup_disappears (25.72s)
--- PASS: TestAccElastiCacheSubnetGroup_tags (66.56s)
--- PASS: TestAccElastiCacheSubnetGroup_basic (28.96s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	90.754s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheUser' PKG=elasticache ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 3  -run=TestAccElastiCacheUser -timeout 720m
=== RUN   TestAccElastiCacheUserDataSource_basic
=== PAUSE TestAccElastiCacheUserDataSource_basic
=== RUN   TestAccElastiCacheUserGroupAssociation_basic
=== PAUSE TestAccElastiCacheUserGroupAssociation_basic
=== RUN   TestAccElastiCacheUserGroupAssociation_update
=== PAUSE TestAccElastiCacheUserGroupAssociation_update
=== RUN   TestAccElastiCacheUserGroupAssociation_disappears
=== PAUSE TestAccElastiCacheUserGroupAssociation_disappears
=== RUN   TestAccElastiCacheUserGroupAssociation_multiple
=== PAUSE TestAccElastiCacheUserGroupAssociation_multiple
=== RUN   TestAccElastiCacheUserGroup_basic
=== PAUSE TestAccElastiCacheUserGroup_basic
=== RUN   TestAccElastiCacheUserGroup_update
=== PAUSE TestAccElastiCacheUserGroup_update
=== RUN   TestAccElastiCacheUserGroup_tags
=== PAUSE TestAccElastiCacheUserGroup_tags
=== RUN   TestAccElastiCacheUserGroup_disappears
=== PAUSE TestAccElastiCacheUserGroup_disappears
=== RUN   TestAccElastiCacheUser_basic
=== PAUSE TestAccElastiCacheUser_basic
=== RUN   TestAccElastiCacheUser_password_auth_mode
=== PAUSE TestAccElastiCacheUser_password_auth_mode
=== RUN   TestAccElastiCacheUser_iam_auth_mode
=== PAUSE TestAccElastiCacheUser_iam_auth_mode
=== RUN   TestAccElastiCacheUser_update
=== PAUSE TestAccElastiCacheUser_update
=== RUN   TestAccElastiCacheUser_update_password_auth_mode
=== PAUSE TestAccElastiCacheUser_update_password_auth_mode
=== RUN   TestAccElastiCacheUser_tags
=== PAUSE TestAccElastiCacheUser_tags
=== RUN   TestAccElastiCacheUser_disappears
=== PAUSE TestAccElastiCacheUser_disappears
=== RUN   TestAccElastiCacheUser_oobModify
=== PAUSE TestAccElastiCacheUser_oobModify
=== CONT  TestAccElastiCacheUserDataSource_basic
=== CONT  TestAccElastiCacheUser_basic
=== CONT  TestAccElastiCacheUserGroup_basic
--- PASS: TestAccElastiCacheUserDataSource_basic (44.64s)
=== CONT  TestAccElastiCacheUserGroup_disappears
--- PASS: TestAccElastiCacheUser_basic (48.48s)
=== CONT  TestAccElastiCacheUserGroup_tags
--- PASS: TestAccElastiCacheUserGroup_basic (171.64s)
=== CONT  TestAccElastiCacheUserGroup_update
--- PASS: TestAccElastiCacheUserGroup_tags (183.13s)
=== CONT  TestAccElastiCacheUser_update_password_auth_mode
--- PASS: TestAccElastiCacheUserGroup_disappears (188.00s)
=== CONT  TestAccElastiCacheUser_oobModify
--- PASS: TestAccElastiCacheUser_oobModify (180.48s)
=== CONT  TestAccElastiCacheUser_disappears
--- PASS: TestAccElastiCacheUser_update_password_auth_mode (184.54s)
=== CONT  TestAccElastiCacheUser_tags
--- PASS: TestAccElastiCacheUser_tags (54.79s)
=== CONT  TestAccElastiCacheUserGroupAssociation_multiple
--- PASS: TestAccElastiCacheUserGroup_update (302.92s)
=== CONT  TestAccElastiCacheUser_iam_auth_mode
--- PASS: TestAccElastiCacheUser_iam_auth_mode (56.89s)
=== CONT  TestAccElastiCacheUser_update
--- PASS: TestAccElastiCacheUser_disappears (233.57s)
=== CONT  TestAccElastiCacheUser_password_auth_mode
--- PASS: TestAccElastiCacheUser_update (125.81s)
=== CONT  TestAccElastiCacheUserGroupAssociation_disappears
--- PASS: TestAccElastiCacheUser_password_auth_mode (69.09s)
=== CONT  TestAccElastiCacheUserGroupAssociation_update
--- PASS: TestAccElastiCacheUserGroupAssociation_multiple (425.29s)
=== CONT  TestAccElastiCacheUserGroupAssociation_basic
--- PASS: TestAccElastiCacheUserGroupAssociation_disappears (302.80s)
--- PASS: TestAccElastiCacheUserGroupAssociation_update (426.57s)
--- PASS: TestAccElastiCacheUserGroupAssociation_basic (302.81s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	1210.204s

blgm and others added 25 commits April 26, 2024 16:15
When adding extra nodes to an elasticache_replication_group, we saw the
error:
```
Error: modifying ElastiCache Replication Group (csbb2a2560a-acf7-4106-9618-4263082cb536) clusters: error waiting for ElastiCache Replication Group (csbb2a2560a-acf7-4106-9618-4263082cb536) replica addition: unexpected state 'snapshotting', wanted target 'available'.
              last error: %!s(<nil>) with aws_elasticache_replication_group.redis, on main.tf line 46, in resource "aws_elasticache_replication_group" "redis": 46: resource "aws_elasticache_replication_group" "redis"
```

Looks like a snapshot occurred while waiting for the scale up. I see
that "snapshotting" is an allowed state in the
`WaitReplicationGroupAvailable()` function, so for consistency it makes
sense for it to also be allowed in the
`WaitReplicationGroupMemberClustersAvailable()` function.

Testing: tests of this functionality don't seem to go into this level of
detail, so no tests were modified.
When scaling in (i.e. reducing node count), apply change _after_ making other modifications.  This avoid an invalid parameter error in certain conditions, e.g. if reducing from 2 to 1 while also disabling multi_az_enabled and/or automatic_failover_enabled, the configuration has to be applied before reducing node count (otherwise an error like 'InvalidParameterValue: Must have at least 1 replica for Multi-AZ enabled Replication Group' is generated

To avoid issues in the other direction, continue to apply scale _out_s prior to other modifications
% make testacc TESTARGS='-run=TestAccElastiCacheServerlessCache_basic' PKG=elasticache
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20  -run=TestAccElastiCacheServerlessCache_basic -timeout 360m
=== RUN   TestAccElastiCacheServerlessCache_basic
=== PAUSE TestAccElastiCacheServerlessCache_basic
=== RUN   TestAccElastiCacheServerlessCache_basicRedis
=== PAUSE TestAccElastiCacheServerlessCache_basicRedis
=== CONT  TestAccElastiCacheServerlessCache_basic
=== CONT  TestAccElastiCacheServerlessCache_basicRedis
--- PASS: TestAccElastiCacheServerlessCache_basic (311.86s)
--- PASS: TestAccElastiCacheServerlessCache_basicRedis (364.10s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	374.957s
# Conflicts:
#	internal/service/elasticache/cluster.go
#	internal/service/elasticache/replication_group.go
…t when detaching from any global replication group.
Copy link

Community Note

Voting for Prioritization

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

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/elasticache Issues and PRs that pertain to the elasticache service. sweeper Pertains to changes to or issues with the sweeper. labels Apr 30, 2024
@github-actions github-actions bot added generators Relates to code generators. size/XL Managed by automation to categorize the size of a PR. labels Apr 30, 2024
@terraform-aws-provider terraform-aws-provider bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Apr 30, 2024
Copy link

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.

@ewbankkit ewbankkit changed the title [WIP] r/aws_elasticache_replication_group: Use configured Delete timeout during resource Delete r/aws_elasticache_replication_group: Use configured Delete timeout during resource Delete May 1, 2024
@ewbankkit ewbankkit merged commit 6bb8779 into main May 1, 2024
71 checks passed
@ewbankkit ewbankkit deleted the f-aws_elasticache_replication_group.timeouts branch May 1, 2024 20:45
@github-actions github-actions bot added this to the v5.48.0 milestone May 1, 2024
github-actions bot pushed a commit that referenced this pull request May 1, 2024
Copy link

github-actions bot commented May 2, 2024

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

@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label May 2, 2024
Copy link

github-actions bot commented Jun 2, 2024

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 Jun 2, 2024
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/elasticache Issues and PRs that pertain to the elasticache 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.

r/aws_elasticache_replication_group: Configurable timeout for disassociating from global replication group.
3 participants