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

Add Valkey engine support for ElastiCache resources #39745

Merged
merged 16 commits into from
Oct 22, 2024

Conversation

relu
Copy link
Contributor

@relu relu commented Oct 16, 2024

Description

Adding support for the newly introduced Valkey engine in AWS ElastiCache.

Relations

Closes #39641.
Closes #39711.

References

Output from Acceptance Testing

% make testacc TESTS=TestAccElastiCacheCluster PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheCluster'  -timeout 360m
2024/10/16 21:29:03 Initializing Terraform AWS Provider...
=== 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_Redis_autoMinorVersionUpgrade
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption
=== CONT  TestAccElastiCacheCluster_port
=== CONT  TestAccElastiCacheCluster_vpc
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_decrease
=== CONT  TestAccElastiCacheCluster_snapshotsWithUpdates
=== CONT  TestAccElastiCacheCluster_outpost_memcached
=== CONT  TestAccElastiCacheCluster_outpostID_redis
=== CONT  TestAccElastiCacheCluster_outpostID_memcached
=== CONT  TestAccElastiCacheCluster_outpost_redis
=== CONT  TestAccElastiCacheCluster_EngineVersion_memcached
=== CONT  TestAccElastiCacheCluster_AZMode_redis
=== CONT  TestAccElastiCacheCluster_AZMode_memcached
=== CONT  TestAccElastiCacheCluster_multiAZInVPC
=== CONT  TestAccElastiCacheCluster_Memcached_finalSnapshot
=== CONT  TestAccElastiCacheCluster_tagWithOtherModification
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_increase
=== NAME  TestAccElastiCacheCluster_outpost_redis
    cluster_test.go:1360: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpost_redis (2.10s)
=== CONT  TestAccElastiCacheCluster_Redis_finalSnapshot
=== NAME  TestAccElastiCacheCluster_outpostID_memcached
    cluster_test.go:1400: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpostID_memcached (2.10s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica
=== NAME  TestAccElastiCacheCluster_outpost_memcached
    cluster_test.go:1320: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpost_memcached (2.11s)
=== CONT  TestAccElastiCacheCluster_TransitEncryption
=== NAME  TestAccElastiCacheCluster_outpostID_redis
    cluster_test.go:1433: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpostID_redis (2.15s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_redis
--- PASS: TestAccElastiCacheCluster_Memcached_finalSnapshot (7.28s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_redis (5.84s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_singleReplica
=== NAME  TestAccElastiCacheCluster_tagWithOtherModification
    cluster_test.go:1241: Step 1/2 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Cache Cluster (tf-acc-test-8771268403948989507): operation error ElastiCache: CreateCacheCluster, https response error StatusCode: 400, RequestID: 76d59ae0-81a7-4deb-82c3-c3ee8130e922, InvalidParameterCombination: Cannot find version 5.0.5 for redis
        
          with aws_elasticache_cluster.test,
          on terraform_plugin_test.tf line 12, in resource "aws_elasticache_cluster" "test":
          12: resource "aws_elasticache_cluster" "test" {
        
--- FAIL: TestAccElastiCacheCluster_tagWithOtherModification (17.20s)
=== CONT  TestAccElastiCacheCluster_Engine_redis_v5
--- PASS: TestAccElastiCacheClusterDataSource_basic (656.07s)
=== CONT  TestAccElastiCacheCluster_ipDiscovery
--- PASS: TestAccElastiCacheCluster_AZMode_memcached (659.91s)
=== CONT  TestAccElastiCacheCluster_ParameterGroupName_default
--- PASS: TestAccElastiCacheCluster_port (660.11s)
=== CONT  TestAccElastiCacheCluster_PortRedis_default
--- PASS: TestAccElastiCacheCluster_TransitEncryption (674.20s)
=== CONT  TestAccElastiCacheCluster_Engine_None
--- PASS: TestAccElastiCacheCluster_Engine_None (0.96s)
=== CONT  TestAccElastiCacheCluster_NodeTypeResize_redis
--- PASS: TestAccElastiCacheCluster_AZMode_redis (719.91s)
=== CONT  TestAccElastiCacheCluster_tags
--- PASS: TestAccElastiCacheCluster_Engine_redis_v5 (702.73s)
=== CONT  TestAccElastiCacheCluster_Engine_redis
--- PASS: TestAccElastiCacheCluster_vpc (743.14s)
=== CONT  TestAccElastiCacheCluster_disappears
--- PASS: TestAccElastiCacheCluster_snapshotsWithUpdates (754.71s)
=== CONT  TestAccElastiCacheCluster_Engine_memcached
--- PASS: TestAccElastiCacheCluster_Redis_autoMinorVersionUpgrade (780.85s)
=== CONT  TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations
--- PASS: TestAccElastiCacheCluster_multiAZInVPC (841.20s)
=== CONT  TestAccElastiCacheClusterDataSource_Engine_Redis_LogDeliveryConfigurations
--- PASS: TestAccElastiCacheCluster_Redis_finalSnapshot (900.54s)
=== CONT  TestAccElastiCacheCluster_NodeTypeResize_memcached
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_decrease (990.90s)
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones (1257.50s)
--- PASS: TestAccElastiCacheCluster_PortRedis_default (626.08s)
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_increase (1302.93s)
--- PASS: TestAccElastiCacheCluster_ParameterGroupName_default (670.45s)
--- PASS: TestAccElastiCacheCluster_ipDiscovery (693.55s)
--- PASS: TestAccElastiCacheCluster_tags (690.69s)
--- PASS: TestAccElastiCacheCluster_Engine_memcached (658.70s)
--- PASS: TestAccElastiCacheCluster_EngineVersion_memcached (1426.33s)
--- PASS: TestAccElastiCacheCluster_Engine_redis (712.84s)
--- PASS: TestAccElastiCacheCluster_disappears (738.13s)
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_singleReplica (1513.76s)
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica (1519.87s)
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone (1536.47s)
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption (1629.24s)
--- PASS: TestAccElastiCacheClusterDataSource_Engine_Redis_LogDeliveryConfigurations (954.35s)
--- PASS: TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations (1214.61s)
--- PASS: TestAccElastiCacheCluster_NodeTypeResize_memcached (1347.40s)
--- PASS: TestAccElastiCacheCluster_NodeTypeResize_redis (1597.59s)
--- PASS: TestAccElastiCacheCluster_EngineVersion_redis (4752.04s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	4758.107s
FAIL
make: *** [testacc] Error 1

% make testacc TESTS=TestAccElastiCacheGlobalReplicationGroup PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheGlobalReplicationGroup'  -timeout 360m
2024/10/16 22:52:44 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheGlobalReplicationGroup_Redis_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_Redis_basic
=== RUN   TestAccElastiCacheGlobalReplicationGroup_Valkey_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_Valkey_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_Redis_v6
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== 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_Redis_basic
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion (12.49s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade (994.50s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
=== NAME  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
    global_replication_group_test.go:1429: Step 1/2 error: Error running apply: exit status 1
        
        Error: waiting for ElastiCache Replication Group (tf-acc-test-7729164648717913307) create: operation error ElastiCache: DescribeReplicationGroups, https response error StatusCode: 403, RequestID: ac194684-1d77-427e-8cb4-341fa4850fef, api error ExpiredToken: The security token included in the request is expired
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 17, in resource "aws_elasticache_replication_group" "test":
          17: resource "aws_elasticache_replication_group" "test" {
        
=== NAME  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
    global_replication_group_test.go:981: Step 1/2 error: Error running apply: exit status 1
        
        Error: waiting for ElastiCache Replication Group (tf-acc-test-7775185755402597195) create: operation error ElastiCache: DescribeReplicationGroups, https response error StatusCode: 403, RequestID: fc90549f-4271-49ae-a036-0cae82c8fe07, api error ExpiredToken: The security token included in the request is expired
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 19, in resource "aws_elasticache_replication_group" "test":
          19: resource "aws_elasticache_replication_group" "test" {
        
=== NAME  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
    global_replication_group_test.go:948: Step 1/2 error: Error running apply: exit status 1
        
        Error: waiting for ElastiCache Replication Group (tf-acc-test-4905023755734054591) create: operation error ElastiCache: DescribeReplicationGroups, https response error StatusCode: 403, RequestID: 8e28fe51-4708-4de3-8bad-d1739ef2dbe6, api error ExpiredToken: The security token included in the request is expired
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 19, in resource "aws_elasticache_replication_group" "test":
          19: resource "aws_elasticache_replication_group" "test" {
        
=== NAME  TestAccElastiCacheGlobalReplicationGroup_Redis_basic
    global_replication_group_test.go:42: Step 1/2 error: Error running apply: exit status 1
        
        Error: waiting for ElastiCache Replication Group (tf-acc-test-1876775202459589671) create: operation error ElastiCache: DescribeReplicationGroups, https response error StatusCode: 403, RequestID: 3287f02a-2d7b-4f00-ab0f-4b3f873853c6, api error ExpiredToken: The security token included in the request is expired
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 17, in resource "aws_elasticache_replication_group" "test":
          17: resource "aws_elasticache_replication_group" "test" {
        
=== NAME  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
    global_replication_group_test.go:1297: Step 1/2 error: Error running apply: exit status 1
        
        Error: waiting for ElastiCache Replication Group (tf-acc-test-2501360711069680518) create: operation error ElastiCache: DescribeReplicationGroups, https response error StatusCode: 403, RequestID: 5b3cb255-0ebe-4773-b5b7-ed73b39a2fbc, api error ExpiredToken: The security token included in the request is expired
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 17, in resource "aws_elasticache_replication_group" "test":
          17: resource "aws_elasticache_replication_group" "test" {
        
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_Redis_basic (1040.45s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion (1040.46s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7 (1040.46s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade (1040.47s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5 (1040.48s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
=== NAME  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
    global_replication_group_test.go:914: Step 1/2 error: Error running apply: exit status 1
        
        Error: waiting for ElastiCache Replication Group (tf-acc-test-7446282787926702586) create: operation error ElastiCache: DescribeReplicationGroups, https response error StatusCode: 403, RequestID: 72e07209-9b33-469d-a032-bfc91480cc95, api error ExpiredToken: The security token included in the request is expired
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 19, in resource "aws_elasticache_replication_group" "test":
          19: resource "aws_elasticache_replication_group" "test" {
        
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade (1364.00s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade (1365.49s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade (1385.97s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade (1386.74s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_update
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase (1425.33s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x (1452.27s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x (1495.31s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange (1535.03s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_description
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6 (1552.45s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x (1558.44s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_disappears
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x (726.19s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_Valkey_basic
--- PASS: TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName (1889.70s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange (1040.93s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic (1041.00s)
=== NAME  TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
    global_replication_group_test.go:545: Step 1/2 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-1553973039314497373-a): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: e4857c83-3380-40ab-b2cd-0ee74a47f337, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.secondary,
          on terraform_plugin_test.tf line 150, in resource "aws_elasticache_replication_group" "secondary":
         150: resource "aws_elasticache_replication_group" "secondary" {
        
=== NAME  TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
    global_replication_group_test.go:516: Step 1/1 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-6218254449233015022-a): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: bcb0a903-c38d-4711-9394-1e9eea836cf7, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.alternate,
          on terraform_plugin_test.tf line 150, in resource "aws_elasticache_replication_group" "alternate":
         150: resource "aws_elasticache_replication_group" "alternate" {
        
        
        Error: creating ElastiCache Replication Group (tf-acc-test-6218254449233015022-t): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: d52a69e7-b451-4bf7-8940-b7f2628aad3c, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.third,
          on terraform_plugin_test.tf line 162, in resource "aws_elasticache_replication_group" "third":
         162: resource "aws_elasticache_replication_group" "third" {
        
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x (2405.61s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade (2555.35s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease (1538.82s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease (2583.55s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange (1221.52s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade (1548.42s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange (1185.84s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange (1263.52s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase (1603.92s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_Valkey_basic (1048.22s)
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion (1277.12s)
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries (1320.55s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange (1404.74s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange (1241.74s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_disappears (1259.91s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update (945.49s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_description (1300.37s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_update (1748.00s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	3140.951s
FAIL
make: *** [testacc] Error 1

# Re-running tests from above due to session expiry issue.
% make testacc TESTS="TestAccElastiCacheGlobalReplicationGroup_Redis_basic|TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x|TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion|TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries" PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheGlobalReplicationGroup_Redis_basic|TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5|TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x|TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion|TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries'  -timeout 360m
2024/10/17 08:19:45 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheGlobalReplicationGroup_Redis_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_Redis_basic
=== RUN   TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
=== RUN   TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== CONT  TestAccElastiCacheGlobalReplicationGroup_Redis_basic
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== CONT  TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
=== CONT  TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
    global_replication_group_test.go:516: Step 1/1 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-8402362781476582099-a): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: a9728227-bc1c-41bf-94cf-faa849d8da95, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.alternate,
          on terraform_plugin_test.tf line 150, in resource "aws_elasticache_replication_group" "alternate":
         150: resource "aws_elasticache_replication_group" "alternate" {
        
        
        Error: creating ElastiCache Replication Group (tf-acc-test-8402362781476582099-t): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: 5b769003-1a5b-46e4-ac6a-520727627e00, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.third,
          on terraform_plugin_test.tf line 162, in resource "aws_elasticache_replication_group" "third":
         162: resource "aws_elasticache_replication_group" "third" {
        
=== NAME  TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
    global_replication_group_test.go:545: Step 1/2 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-9069491455138942544-a): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: 76adb217-1f72-4512-889b-674a98c3961f, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.secondary,
          on terraform_plugin_test.tf line 150, in resource "aws_elasticache_replication_group" "secondary":
         150: resource "aws_elasticache_replication_group" "secondary" {
        
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade (1032.09s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x (1032.30s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion (1035.37s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5 (1081.64s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_Redis_basic (1116.96s)
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries (1466.42s)
--- FAIL: TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion (1466.43s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7 (1487.36s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	1493.611s
FAIL
make: *** [testacc] Error 1

% make testacc TESTS=TestAccElastiCacheParameterGroup PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheParameterGroup'  -timeout 360m
2024/10/17 09:02:58 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheParameterGroup_Redis_basic
=== PAUSE TestAccElastiCacheParameterGroup_Redis_basic
=== RUN   TestAccElastiCacheParameterGroup_Valkey_basic
=== PAUSE TestAccElastiCacheParameterGroup_Valkey_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_Redis_basic
=== CONT  TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters
=== CONT  TestAccElastiCacheParameterGroup_uppercaseName
=== CONT  TestAccElastiCacheParameterGroup_addParameter
=== CONT  TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters
=== CONT  TestAccElastiCacheParameterGroup_updateReservedMemoryParameter
=== CONT  TestAccElastiCacheParameterGroup_switchReservedMemoryParameter
=== CONT  TestAccElastiCacheParameterGroup_tags
=== CONT  TestAccElastiCacheParameterGroup_description
=== CONT  TestAccElastiCacheParameterGroup_removeAllParameters
=== CONT  TestAccElastiCacheParameterGroup_disappears
=== CONT  TestAccElastiCacheParameterGroup_Valkey_basic
--- PASS: TestAccElastiCacheParameterGroup_disappears (35.65s)
--- PASS: TestAccElastiCacheParameterGroup_uppercaseName (40.35s)
--- PASS: TestAccElastiCacheParameterGroup_Redis_basic (41.87s)
--- PASS: TestAccElastiCacheParameterGroup_Valkey_basic (42.82s)
--- PASS: TestAccElastiCacheParameterGroup_description (42.88s)
--- PASS: TestAccElastiCacheParameterGroup_removeAllParameters (53.81s)
--- PASS: TestAccElastiCacheParameterGroup_addParameter (57.43s)
--- PASS: TestAccElastiCacheParameterGroup_updateReservedMemoryParameter (62.18s)
--- PASS: TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters (62.40s)
--- PASS: TestAccElastiCacheParameterGroup_switchReservedMemoryParameter (62.95s)
--- PASS: TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters (63.02s)
--- PASS: TestAccElastiCacheParameterGroup_tags (77.99s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	84.563s

% make testacc TESTS=TestAccElastiCacheReplicationGroup PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheReplicationGroup'  -timeout 360m
2024/10/17 09:39:12 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheReplicationGroupDataSource_basic
=== PAUSE TestAccElastiCacheReplicationGroupDataSource_basic
=== RUN   TestAccElastiCacheReplicationGroupDataSource_clusterMode
=== PAUSE TestAccElastiCacheReplicationGroupDataSource_clusterMode
=== RUN   TestAccElastiCacheReplicationGroupDataSource_multiAZ
=== PAUSE TestAccElastiCacheReplicationGroupDataSource_multiAZ
=== RUN   TestAccElastiCacheReplicationGroupDataSource_Engine_Redis_LogDeliveryConfigurations
=== PAUSE TestAccElastiCacheReplicationGroupDataSource_Engine_Redis_LogDeliveryConfigurations
=== RUN   TestAccElastiCacheReplicationGroup_Redis_basic
=== PAUSE TestAccElastiCacheReplicationGroup_Redis_basic
=== RUN   TestAccElastiCacheReplicationGroup_Redis_basic_v5
=== PAUSE TestAccElastiCacheReplicationGroup_Redis_basic_v5
=== RUN   TestAccElastiCacheReplicationGroup_Valkey_basic
=== PAUSE TestAccElastiCacheReplicationGroup_Valkey_basic
=== RUN   TestAccElastiCacheReplicationGroup_uppercase
=== PAUSE TestAccElastiCacheReplicationGroup_uppercase
=== RUN   TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7
=== PAUSE TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7
=== RUN   TestAccElastiCacheReplicationGroup_EngineVersion_update
=== PAUSE TestAccElastiCacheReplicationGroup_EngineVersion_update
=== RUN   TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion
=== PAUSE TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion
=== RUN   TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
=== PAUSE TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
=== RUN   TestAccElastiCacheReplicationGroup_disappears
=== PAUSE TestAccElastiCacheReplicationGroup_disappears
=== RUN   TestAccElastiCacheReplicationGroup_updateDescription
=== PAUSE TestAccElastiCacheReplicationGroup_updateDescription
=== RUN   TestAccElastiCacheReplicationGroup_updateMaintenanceWindow
=== PAUSE TestAccElastiCacheReplicationGroup_updateMaintenanceWindow
=== RUN   TestAccElastiCacheReplicationGroup_updateUserGroups
=== PAUSE TestAccElastiCacheReplicationGroup_updateUserGroups
=== RUN   TestAccElastiCacheReplicationGroup_updateNodeSize
=== PAUSE TestAccElastiCacheReplicationGroup_updateNodeSize
=== RUN   TestAccElastiCacheReplicationGroup_updateParameterGroup
=== PAUSE TestAccElastiCacheReplicationGroup_updateParameterGroup
=== RUN   TestAccElastiCacheReplicationGroup_authToken
=== PAUSE TestAccElastiCacheReplicationGroup_authToken
=== RUN   TestAccElastiCacheReplicationGroup_stateUpgrade5270
=== PAUSE TestAccElastiCacheReplicationGroup_stateUpgrade5270
=== RUN   TestAccElastiCacheReplicationGroup_stateUpgrade5590
=== PAUSE TestAccElastiCacheReplicationGroup_stateUpgrade5590
=== RUN   TestAccElastiCacheReplicationGroup_vpc
=== PAUSE TestAccElastiCacheReplicationGroup_vpc
=== RUN   TestAccElastiCacheReplicationGroup_multiAzNotInVPC
=== PAUSE TestAccElastiCacheReplicationGroup_multiAzNotInVPC
=== RUN   TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated
=== PAUSE TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated
=== RUN   TestAccElastiCacheReplicationGroup_multiAzInVPC
=== PAUSE TestAccElastiCacheReplicationGroup_multiAzInVPC
=== RUN   TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC
=== PAUSE TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC
=== RUN   TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover
=== PAUSE TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover
=== RUN   TestAccElastiCacheReplicationGroup_ipDiscovery
=== PAUSE TestAccElastiCacheReplicationGroup_ipDiscovery
=== RUN   TestAccElastiCacheReplicationGroup_networkType
=== PAUSE TestAccElastiCacheReplicationGroup_networkType
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_basic
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_basic
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_singleNode
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_singleNode
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled
=== RUN   TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup
=== PAUSE TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup
=== RUN   TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError
=== PAUSE TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError
=== RUN   TestAccElastiCacheReplicationGroup_enableSnapshotting
=== PAUSE TestAccElastiCacheReplicationGroup_enableSnapshotting
=== RUN   TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken
=== PAUSE TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken
=== RUN   TestAccElastiCacheReplicationGroup_transitEncryption5x
=== PAUSE TestAccElastiCacheReplicationGroup_transitEncryption5x
=== RUN   TestAccElastiCacheReplicationGroup_transitEncryption7x
=== PAUSE TestAccElastiCacheReplicationGroup_transitEncryption7x
=== RUN   TestAccElastiCacheReplicationGroup_enableAtRestEncryption
=== PAUSE TestAccElastiCacheReplicationGroup_enableAtRestEncryption
=== RUN   TestAccElastiCacheReplicationGroup_useCMKKMSKeyID
=== PAUSE TestAccElastiCacheReplicationGroup_useCMKKMSKeyID
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled
=== RUN   TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters
=== PAUSE TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown
=== RUN   TestAccElastiCacheReplicationGroup_tags
=== PAUSE TestAccElastiCacheReplicationGroup_tags
=== RUN   TestAccElastiCacheReplicationGroup_tagWithOtherModification
=== PAUSE TestAccElastiCacheReplicationGroup_tagWithOtherModification
=== RUN   TestAccElastiCacheReplicationGroup_finalSnapshot
=== PAUSE TestAccElastiCacheReplicationGroup_finalSnapshot
=== RUN   TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade
=== PAUSE TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade
=== RUN   TestAccElastiCacheReplicationGroup_Validation_noNodeType
=== PAUSE TestAccElastiCacheReplicationGroup_Validation_noNodeType
=== RUN   TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== PAUSE TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== RUN   TestAccElastiCacheReplicationGroup_dataTiering
=== PAUSE TestAccElastiCacheReplicationGroup_dataTiering
=== RUN   TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled
=== PAUSE TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled
=== RUN   TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled
=== PAUSE TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled
=== CONT  TestAccElastiCacheReplicationGroupDataSource_basic
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown
=== CONT  TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled
=== CONT  TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled
=== CONT  TestAccElastiCacheReplicationGroup_dataTiering
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== CONT  TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== CONT  TestAccElastiCacheReplicationGroup_Validation_noNodeType
=== CONT  TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade
=== CONT  TestAccElastiCacheReplicationGroup_finalSnapshot
=== CONT  TestAccElastiCacheReplicationGroup_tagWithOtherModification
=== CONT  TestAccElastiCacheReplicationGroup_tags
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange
=== NAME  TestAccElastiCacheReplicationGroup_tagWithOtherModification
    replication_group_test.go:2337: Step 1/2 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-3696534383962352228): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: 361a9b66-7671-4fb0-8f83-69e57d9f6018, InvalidParameterCombination: Cannot find version 5.0.5 for redis
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 18, in resource "aws_elasticache_replication_group" "test":
          18: resource "aws_elasticache_replication_group" "test" {
        
--- FAIL: TestAccElastiCacheReplicationGroup_tagWithOtherModification (28.34s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled
--- PASS: TestAccElastiCacheReplicationGroup_Validation_noNodeType (32.53s)
=== CONT  TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters
--- PASS: TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters (3.64s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
    replication_group_test.go:2492: Step 1/2 error: Error running apply: exit status 1
        
        Error: creating EC2 VPC: operation error EC2: CreateVpc, https response error StatusCode: 400, RequestID: 3c8cd651-2bec-4081-8e7c-257c878c66a9, api error VpcLimitExceeded: The maximum number of VPCs has been reached.
        
          with aws_vpc.primary,
          on terraform_plugin_test.tf line 64, in resource "aws_vpc" "primary":
          64: resource "aws_vpc" "primary" {
        
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
    replication_group_test.go:2700: Step 1/1, expected an error with pattern, no match on: Error running apply: exit status 1
        
        Error: creating EC2 VPC: operation error EC2: CreateVpc, https response error StatusCode: 400, RequestID: 54080159-5e68-492a-a718-f7794d192b19, api error VpcLimitExceeded: The maximum number of VPCs has been reached.
        
          with aws_vpc.primary,
          on terraform_plugin_test.tf line 64, in resource "aws_vpc" "primary":
          64: resource "aws_vpc" "primary" {
        
=== NAME  TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
    replication_group_test.go:2463: Step 1/1, expected an error with pattern, no match on: Error running apply: exit status 1
        
        Error: creating EC2 VPC: operation error EC2: CreateVpc, https response error StatusCode: 400, RequestID: 33404c1b-3104-4989-9f12-9a8a36c55548, api error VpcLimitExceeded: The maximum number of VPCs has been reached.
        
          with aws_vpc.primary,
          on terraform_plugin_test.tf line 64, in resource "aws_vpc" "primary":
          64: resource "aws_vpc" "primary" {
        
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
    replication_group_test.go:2609: Step 1/1 error: Error running apply: exit status 1
        
        Error: creating EC2 VPC: operation error EC2: CreateVpc, https response error StatusCode: 400, RequestID: 2e55db8e-95d9-4ed2-9eea-5e12f8d6b93f, api error VpcLimitExceeded: The maximum number of VPCs has been reached.
        
          with aws_vpc.primary,
          on terraform_plugin_test.tf line 64, in resource "aws_vpc" "primary":
          64: resource "aws_vpc" "primary" {
        
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
    replication_group_test.go:2642: Step 1/3 error: Error running apply: exit status 1
        
        Error: creating EC2 VPC: operation error EC2: CreateVpc, https response error StatusCode: 400, RequestID: dd6cca5d-1287-4b6f-a5cf-919b1481282d, api error VpcLimitExceeded: The maximum number of VPCs has been reached.
        
          with aws_vpc.primary,
          on terraform_plugin_test.tf line 64, in resource "aws_vpc" "primary":
          64: resource "aws_vpc" "primary" {
        
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
    replication_group_test.go:2544: Step 1/3 error: Error running apply: exit status 1
        
        Error: creating EC2 VPC: operation error EC2: CreateVpc, https response error StatusCode: 400, RequestID: 3b929011-f3dc-4fd5-8e9b-8af6d46bc401, api error VpcLimitExceeded: The maximum number of VPCs has been reached.
        
          with aws_vpc.primary,
          on terraform_plugin_test.tf line 64, in resource "aws_vpc" "primary":
          64: resource "aws_vpc" "primary" {
        
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary (48.40s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic (48.81s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic
--- FAIL: TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType (48.81s)
=== CONT  TestAccElastiCacheReplicationGroup_useCMKKMSKeyID
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears (48.87s)
=== CONT  TestAccElastiCacheReplicationGroup_enableAtRestEncryption
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full (49.74s)
=== CONT  TestAccElastiCacheReplicationGroup_transitEncryption7x
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic (49.81s)
=== CONT  TestAccElastiCacheReplicationGroup_transitEncryption5x
--- PASS: TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade (882.82s)
=== CONT  TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken
--- PASS: TestAccElastiCacheReplicationGroupDataSource_basic (907.39s)
=== CONT  TestAccElastiCacheReplicationGroup_enableSnapshotting
--- PASS: TestAccElastiCacheReplicationGroup_tags (966.77s)
=== CONT  TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError
--- PASS: TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError (1.15s)
=== CONT  TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup
--- PASS: TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup (1.11s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled
--- PASS: TestAccElastiCacheReplicationGroup_finalSnapshot (1015.35s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_singleNode
--- PASS: TestAccElastiCacheReplicationGroup_enableAtRestEncryption (1252.17s)
=== CONT  TestAccElastiCacheReplicationGroup_authToken
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize (1721.63s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_singleNode (730.80s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled (2017.05s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled (2017.22s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange (2130.18s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup
--- PASS: TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken (1307.67s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_basic
--- PASS: TestAccElastiCacheReplicationGroup_useCMKKMSKeyID (2144.52s)
=== CONT  TestAccElastiCacheReplicationGroup_networkType
--- PASS: TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled (2307.50s)
=== CONT  TestAccElastiCacheReplicationGroup_ipDiscovery
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown (2314.33s)
=== CONT  TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover
--- PASS: TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover (2.43s)
=== CONT  TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown (2387.99s)
=== CONT  TestAccElastiCacheReplicationGroup_multiAzInVPC
--- PASS: TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled (2616.80s)
=== CONT  TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated
=== CONT  TestAccElastiCacheReplicationGroup_multiAzNotInVPC
--- PASS: TestAccElastiCacheReplicationGroup_enableSnapshotting (1780.53s)
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup (1000.39s)
=== CONT  TestAccElastiCacheReplicationGroup_vpc
--- PASS: TestAccElastiCacheReplicationGroup_transitEncryption5x (3125.23s)
=== CONT  TestAccElastiCacheReplicationGroup_stateUpgrade5590
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic (3331.79s)
=== CONT  TestAccElastiCacheReplicationGroup_stateUpgrade5270
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster (3524.77s)
=== CONT  TestAccElastiCacheReplicationGroup_EngineVersion_update
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled (3602.11s)
=== CONT  TestAccElastiCacheReplicationGroup_updateParameterGroup
--- PASS: TestAccElastiCacheReplicationGroup_dataTiering (3726.04s)
=== CONT  TestAccElastiCacheReplicationGroup_updateNodeSize
--- PASS: TestAccElastiCacheReplicationGroup_multiAzNotInVPC (1077.17s)
=== CONT  TestAccElastiCacheReplicationGroup_updateUserGroups
--- PASS: TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated (1164.95s)
=== CONT  TestAccElastiCacheReplicationGroup_updateMaintenanceWindow
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_basic (1819.08s)
=== CONT  TestAccElastiCacheReplicationGroup_updateDescription
--- PASS: TestAccElastiCacheReplicationGroup_authToken (2734.62s)
=== CONT  TestAccElastiCacheReplicationGroup_disappears
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp (2369.67s)
=== CONT  TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled (3168.99s)
=== CONT  TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion
--- PASS: TestAccElastiCacheReplicationGroup_transitEncryption7x (4109.40s)
=== CONT  TestAccElastiCacheReplicationGroup_Redis_basic_v5
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown (2154.26s)
=== CONT  TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7
--- PASS: TestAccElastiCacheReplicationGroup_vpc (1100.81s)
=== CONT  TestAccElastiCacheReplicationGroup_uppercase
=== CONT  TestAccElastiCacheReplicationGroup_Valkey_basic
--- PASS: TestAccElastiCacheReplicationGroup_ipDiscovery (1933.26s)
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp (2284.27s)
=== CONT  TestAccElastiCacheReplicationGroupDataSource_Engine_Redis_LogDeliveryConfigurations
--- PASS: TestAccElastiCacheReplicationGroup_stateUpgrade5270 (1027.73s)
=== CONT  TestAccElastiCacheReplicationGroup_Redis_basic
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup (2746.88s)
=== CONT  TestAccElastiCacheReplicationGroupDataSource_multiAZ
--- PASS: TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC (2204.26s)
=== CONT  TestAccElastiCacheReplicationGroupDataSource_clusterMode
--- PASS: TestAccElastiCacheReplicationGroup_updateMaintenanceWindow (938.32s)
--- PASS: TestAccElastiCacheReplicationGroup_multiAzInVPC (2421.22s)
--- PASS: TestAccElastiCacheReplicationGroup_updateDescription (895.80s)
--- PASS: TestAccElastiCacheReplicationGroup_updateParameterGroup (1473.46s)
--- PASS: TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion (1052.99s)
--- PASS: TestAccElastiCacheReplicationGroup_Valkey_basic (1097.45s)
--- PASS: TestAccElastiCacheReplicationGroupDataSource_multiAZ (951.61s)
--- PASS: TestAccElastiCacheReplicationGroup_Redis_basic (1076.32s)
--- PASS: TestAccElastiCacheReplicationGroup_Redis_basic_v5 (1518.43s)
--- PASS: TestAccElastiCacheReplicationGroup_uppercase (1488.86s)
--- PASS: TestAccElastiCacheReplicationGroupDataSource_Engine_Redis_LogDeliveryConfigurations (1672.61s)
--- PASS: TestAccElastiCacheReplicationGroup_updateNodeSize (2312.34s)
--- PASS: TestAccElastiCacheReplicationGroup_networkType (3923.94s)
--- PASS: TestAccElastiCacheReplicationGroup_disappears (2138.42s)
--- PASS: TestAccElastiCacheReplicationGroup_stateUpgrade5590 (3071.19s)
--- PASS: TestAccElastiCacheReplicationGroupDataSource_clusterMode (1838.39s)
=== NAME  TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
    replication_group_test.go:355: Step 2/2 error: Check failed: Check 2/3 error: ElastiCache Replication Group recreated
--- PASS: TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7 (2277.86s)
--- FAIL: TestAccElastiCacheReplicationGroup_Engine_RedisToValkey (2624.40s)
--- PASS: TestAccElastiCacheReplicationGroup_updateUserGroups (2990.50s)
--- PASS: TestAccElastiCacheReplicationGroup_EngineVersion_update (6470.40s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	10001.944s
FAIL
make: *** [testacc] Error 1

% make testacc TESTS="TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic|TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic|TestAccElastiCacheReplicationGroup_Engine_RedisToValkey" PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic|TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full|TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic|TestAccElastiCacheReplicationGroup_Engine_RedisToValkey'  -timeout 360m
2024/10/17 22:50:05 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
=== PAUSE TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
=== RUN   TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== PAUSE TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== CONT  TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== CONT  TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
    replication_group_test.go:2618: Step 1/1 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-7377208175193621258-s): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: 142de8e7-a54a-4b5a-93ad-28d16802376e, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 87, in resource "aws_elasticache_replication_group" "test":
          87: resource "aws_elasticache_replication_group" "test" {
        
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
    replication_group_test.go:2501: Step 1/2 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-4031059027442971190-s): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: d5a8b76a-a30b-46cc-ad63-6d073247531d, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 87, in resource "aws_elasticache_replication_group" "test":
          87: resource "aws_elasticache_replication_group" "test" {
        
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
    replication_group_test.go:2553: Step 1/3 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-8850603968115742253-s): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: 04a5fc97-f24c-410f-a733-b3a2d3101174, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 87, in resource "aws_elasticache_replication_group" "test":
          87: resource "aws_elasticache_replication_group" "test" {
        
--- PASS: TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType (1105.25s)
=== NAME  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
    replication_group_test.go:2651: Step 1/3 error: Error running apply: exit status 1
        
        Error: creating ElastiCache Replication Group (tf-acc-test-6548581980675953615-s): operation error ElastiCache: CreateReplicationGroup, https response error StatusCode: 400, RequestID: 1b97520a-4e8e-4917-bbb4-b689b194a0af, InvalidParameterCombination: Cannot use the given parameters when creating new replication group in an existing global replication group.
        
          with aws_elasticache_replication_group.test,
          on terraform_plugin_test.tf line 87, in resource "aws_elasticache_replication_group" "test":
          87: resource "aws_elasticache_replication_group" "test" {
        
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears (1221.98s)
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic (1222.37s)
--- PASS: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary (1326.23s)
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full (1327.41s)
--- FAIL: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic (1729.64s)
--- PASS: TestAccElastiCacheReplicationGroup_Engine_RedisToValkey (1787.27s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	1793.336s
FAIL
make: *** [testacc] Error 1

% make testacc TESTS=TestAccElastiCacheReservedNodeOffering PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheReservedNodeOffering'  -timeout 360m
2024/10/17 23:22:33 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheReservedNodeOffering_Redis_basic
=== PAUSE TestAccElastiCacheReservedNodeOffering_Redis_basic
=== RUN   TestAccElastiCacheReservedNodeOffering_Valkey_basic
=== PAUSE TestAccElastiCacheReservedNodeOffering_Valkey_basic
=== CONT  TestAccElastiCacheReservedNodeOffering_Redis_basic
=== CONT  TestAccElastiCacheReservedNodeOffering_Valkey_basic
--- PASS: TestAccElastiCacheReservedNodeOffering_Valkey_basic (17.36s)
--- PASS: TestAccElastiCacheReservedNodeOffering_Redis_basic (17.37s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	23.304s

% make testacc TESTS=TestAccElastiCacheServerlessCache PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheServerlessCache'  -timeout 360m
2024/10/18 01:00:44 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheServerlessCacheDataSource_Redis_basic
=== PAUSE TestAccElastiCacheServerlessCacheDataSource_Redis_basic
=== RUN   TestAccElastiCacheServerlessCacheDataSource_Valkey_basic
=== PAUSE TestAccElastiCacheServerlessCacheDataSource_Valkey_basic
=== RUN   TestAccElastiCacheServerlessCache_basicRedis
=== PAUSE TestAccElastiCacheServerlessCache_basicRedis
=== RUN   TestAccElastiCacheServerlessCache_basicValkey
=== PAUSE TestAccElastiCacheServerlessCache_basicValkey
=== RUN   TestAccElastiCacheServerlessCache_full
=== PAUSE TestAccElastiCacheServerlessCache_full
=== RUN   TestAccElastiCacheServerlessCache_fullRedis
=== PAUSE TestAccElastiCacheServerlessCache_fullRedis
=== RUN   TestAccElastiCacheServerlessCache_fullValkey
=== PAUSE TestAccElastiCacheServerlessCache_fullValkey
=== RUN   TestAccElastiCacheServerlessCache_update
=== PAUSE TestAccElastiCacheServerlessCache_update
=== RUN   TestAccElastiCacheServerlessCache_updatesc
=== PAUSE TestAccElastiCacheServerlessCache_updatesc
=== RUN   TestAccElastiCacheServerlessCache_update_RedisToValkey
=== PAUSE TestAccElastiCacheServerlessCache_update_RedisToValkey
=== RUN   TestAccElastiCacheServerlessCache_disappears
=== PAUSE TestAccElastiCacheServerlessCache_disappears
=== RUN   TestAccElastiCacheServerlessCache_tags
=== PAUSE TestAccElastiCacheServerlessCache_tags
=== CONT  TestAccElastiCacheServerlessCacheDataSource_Redis_basic
=== CONT  TestAccElastiCacheServerlessCache_disappears
=== CONT  TestAccElastiCacheServerlessCache_fullRedis
=== CONT  TestAccElastiCacheServerlessCache_tags
=== CONT  TestAccElastiCacheServerlessCache_basicValkey
=== CONT  TestAccElastiCacheServerlessCache_full
=== CONT  TestAccElastiCacheServerlessCache_basicRedis
=== CONT  TestAccElastiCacheServerlessCache_updatesc
=== CONT  TestAccElastiCacheServerlessCache_update_RedisToValkey
=== CONT  TestAccElastiCacheServerlessCache_update
=== CONT  TestAccElastiCacheServerlessCacheDataSource_Valkey_basic
=== CONT  TestAccElastiCacheServerlessCache_fullValkey
--- PASS: TestAccElastiCacheServerlessCache_disappears (430.17s)
--- PASS: TestAccElastiCacheServerlessCacheDataSource_Redis_basic (433.15s)
--- PASS: TestAccElastiCacheServerlessCache_basicValkey (438.79s)
--- PASS: TestAccElastiCacheServerlessCache_tags (462.98s)
--- PASS: TestAccElastiCacheServerlessCache_basicRedis (492.58s)
--- PASS: TestAccElastiCacheServerlessCache_update (538.56s)
--- PASS: TestAccElastiCacheServerlessCacheDataSource_Valkey_basic (540.23s)
--- PASS: TestAccElastiCacheServerlessCache_full (582.39s)
--- PASS: TestAccElastiCacheServerlessCache_fullRedis (591.77s)
--- PASS: TestAccElastiCacheServerlessCache_fullValkey (647.28s)
--- PASS: TestAccElastiCacheServerlessCache_update_RedisToValkey (735.45s)
--- PASS: TestAccElastiCacheServerlessCache_updatesc (887.60s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	894.282s

% make testacc TESTS=TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic PKG=elasticache
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic'  -timeout 360m
2024/10/18 00:21:02 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
--- PASS: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic (2586.71s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	2597.078s

WIP

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. needs-triage Waiting for first response or review from a maintainer. labels Oct 16, 2024
@relu relu force-pushed the f-elasticache-valkey branch from c134486 to 2995833 Compare October 16, 2024 11:48
Copy link
Contributor

@chlunde chlunde left a comment

Choose a reason for hiding this comment

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

Cool!

Did you consider if the following needs to be updated, as they have a check for Redis only?

  • clusterForceNewOnMemcachedNodeTypeChange
  • clusterValidateMemcachedSnapshotIdentifier

@relu relu force-pushed the f-elasticache-valkey branch from 2995833 to 3650d42 Compare October 16, 2024 18:41
@relu
Copy link
Contributor Author

relu commented Oct 16, 2024

I'm in the process of running the acceptance tests and will post updates to the PR as they are completed. I'm going to run for the following namespaces:

TestAccElastiCacheCluster TestAccElastiCacheGlobalReplicationGroup TestAccElastiCacheParameterGroup TestAccElastiCacheReplicationGroup TestAccElastiCacheReservedNodeOffering TestAccElastiCacheServerlessCacheDataSource TestAccElastiCacheServerlessCache

Fixes hashicorp#39641

Signed-off-by: Aurel Canciu <aurel.canciu@nexhealth.com>
@relu relu force-pushed the f-elasticache-valkey branch from 3650d42 to 834404e Compare October 16, 2024 19:01
@relu

This comment was marked as resolved.

relu added 5 commits October 17, 2024 09:00
…utes

The respective attributes are already checked using
`resource.TestCheckResourceAttr`.

Signed-off-by: Aurel Canciu <aurel.canciu@nexhealth.com>
This was a bit more tricky because AWS will allow modify requests for
the replication group when only the engine attribute is changed but this
actually ends up resulting in no actual upgrade operation.

What I've discovered is that for this process to be successful, the
engine_version attribute needs to be explicitly provided as well.

Signed-off-by: Aurel Canciu <aurel.canciu@nexhealth.com>
…ion_enabled

This was uncovered in
TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID where
transit_encryption_enabled was set on replication groups that were added
to the global replication group. The attribute should not be set in this
scenario.

Signed-off-by: Aurel Canciu <aurel.canciu@nexhealth.com>
…ache

Fixes hashicorp#39711

Signed-off-by: Aurel Canciu <aurel.canciu@nexhealth.com>
Signed-off-by: Aurel Canciu <aurel.canciu@nexhealth.com>
@ewbankkit ewbankkit added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Oct 18, 2024
@ewbankkit ewbankkit self-assigned this Oct 18, 2024
@github-actions github-actions bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Oct 18, 2024
@relu
Copy link
Contributor Author

relu commented Oct 21, 2024

@ewbankkit I've noticed you're attempting to add the feature to the aws_elasticache_cluster resource, unfortunately, that will not work as it's not supported. I've gone through the same process and ended up reverting the changes due to this error:

Error: creating ElastiCache Cache Cluster (tf-acc-test-6284825112531826268): operation error ElastiCache: CreateCacheCluster, https response error StatusCode: 400, RequestID: 645c43fe-d3ce-460e-a863-fe2b12124f82, InvalidParameterValue: This API doesn't support Valkey engine. Please use CreateReplicationGroup API for Valkey cluster creation.

My bad, I should have documented this finding on the PR.

@jramosf
Copy link
Contributor

jramosf commented Oct 22, 2024

Thanks @relu for the implementation. I have updated a redis cluster with AWS web console, then updating our existing Terraform code to reconcile the engine to valkey and with a Terraform provider build from this branch I can confirm it's working as expected.

The only catch to update existing resources is that we first need to add a separate aws_elasticache_parameter_group with family valkey7 to be used with the existing resource, but this is an AWS limitation.

Hope this gets merged soon.

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 🚀.

% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheCluster_' PKG=elasticache ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 4  -run=TestAccElastiCacheCluster_ -timeout 720m
2024/10/21 08:06:11 Initializing Terraform AWS Provider...
=== 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  TestAccElastiCacheCluster_Engine_memcached
=== CONT  TestAccElastiCacheCluster_NodeTypeResize_memcached
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_decrease
=== CONT  TestAccElastiCacheCluster_EngineVersion_redis
--- PASS: TestAccElastiCacheCluster_Engine_memcached (638.10s)
=== CONT  TestAccElastiCacheCluster_EngineVersion_memcached
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_decrease (1069.69s)
=== CONT  TestAccElastiCacheCluster_AZMode_redis
--- PASS: TestAccElastiCacheCluster_NodeTypeResize_memcached (1309.15s)
=== CONT  TestAccElastiCacheCluster_AZMode_memcached
--- PASS: TestAccElastiCacheCluster_AZMode_redis (709.73s)
=== CONT  TestAccElastiCacheCluster_multiAZInVPC
--- PASS: TestAccElastiCacheCluster_AZMode_memcached (673.98s)
=== CONT  TestAccElastiCacheCluster_vpc
--- PASS: TestAccElastiCacheCluster_EngineVersion_memcached (1423.67s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones
--- PASS: TestAccElastiCacheCluster_multiAZInVPC (768.89s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_increase
--- PASS: TestAccElastiCacheCluster_vpc (724.10s)
=== CONT  TestAccElastiCacheCluster_Redis_autoMinorVersionUpgrade
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_increaseWithPreferredAvailabilityZones (1136.25s)
=== CONT  TestAccElastiCacheCluster_outpostID_redis
    cluster_test.go:1433: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpostID_redis (0.42s)
=== CONT  TestAccElastiCacheCluster_outpostID_memcached
    cluster_test.go:1400: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpostID_memcached (0.26s)
=== CONT  TestAccElastiCacheCluster_outpost_redis
    cluster_test.go:1360: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpost_redis (0.18s)
=== CONT  TestAccElastiCacheCluster_outpost_memcached
    cluster_test.go:1320: skipping since no Outposts found
--- SKIP: TestAccElastiCacheCluster_outpost_memcached (0.15s)
=== CONT  TestAccElastiCacheCluster_TransitEncryption
--- PASS: TestAccElastiCacheCluster_Redis_autoMinorVersionUpgrade (532.89s)
=== CONT  TestAccElastiCacheCluster_tagWithOtherModification
--- PASS: TestAccElastiCacheCluster_TransitEncryption (339.61s)
=== CONT  TestAccElastiCacheCluster_tags
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_increase (997.07s)
=== CONT  TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations
--- PASS: TestAccElastiCacheCluster_tags (634.14s)
=== CONT  TestAccElastiCacheCluster_Engine_redis_v5
--- PASS: TestAccElastiCacheCluster_EngineVersion_redis (4208.44s)
=== CONT  TestAccElastiCacheCluster_Engine_None
--- PASS: TestAccElastiCacheCluster_Engine_None (0.79s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_singleReplica
--- PASS: TestAccElastiCacheCluster_tagWithOtherModification (1456.44s)
=== CONT  TestAccElastiCacheCluster_Redis_finalSnapshot
--- PASS: TestAccElastiCacheCluster_Engine_Redis_LogDeliveryConfigurations (1157.84s)
=== CONT  TestAccElastiCacheCluster_Memcached_finalSnapshot
--- PASS: TestAccElastiCacheCluster_Memcached_finalSnapshot (1.31s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica
--- PASS: TestAccElastiCacheCluster_Engine_redis_v5 (679.59s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone
--- PASS: TestAccElastiCacheCluster_Redis_finalSnapshot (741.42s)
=== CONT  TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_singleReplica (1357.48s)
=== CONT  TestAccElastiCacheCluster_port
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_multipleReplica (1268.17s)
=== CONT  TestAccElastiCacheCluster_snapshotsWithUpdates
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_availabilityZone (1127.14s)
=== CONT  TestAccElastiCacheCluster_ipDiscovery
--- PASS: TestAccElastiCacheCluster_port (681.93s)
=== CONT  TestAccElastiCacheCluster_disappears
--- PASS: TestAccElastiCacheCluster_ipDiscovery (722.59s)
=== CONT  TestAccElastiCacheCluster_Engine_redis
--- PASS: TestAccElastiCacheCluster_snapshotsWithUpdates (770.93s)
=== CONT  TestAccElastiCacheCluster_ParameterGroupName_default
--- PASS: TestAccElastiCacheCluster_disappears (708.12s)
=== CONT  TestAccElastiCacheCluster_NumCacheNodes_redis
--- PASS: TestAccElastiCacheCluster_NumCacheNodes_redis (1.16s)
=== CONT  TestAccElastiCacheCluster_NodeTypeResize_redis
--- PASS: TestAccElastiCacheCluster_ReplicationGroupID_transitEncryption (1590.87s)
=== CONT  TestAccElastiCacheCluster_PortRedis_default
--- PASS: TestAccElastiCacheCluster_Engine_redis (678.10s)
--- PASS: TestAccElastiCacheCluster_ParameterGroupName_default (636.67s)
--- PASS: TestAccElastiCacheCluster_PortRedis_default (595.60s)
--- PASS: TestAccElastiCacheCluster_NodeTypeResize_redis (1599.91s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	8563.631s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheGlobalReplicationGroup_' PKG=elasticache ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 4  -run=TestAccElastiCacheGlobalReplicationGroup_ -timeout 720m
2024/10/21 12:03:58 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheGlobalReplicationGroup_Redis_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_Redis_basic
=== RUN   TestAccElastiCacheGlobalReplicationGroup_Valkey_basic
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_Valkey_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_Redis_v6
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
=== RUN   TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== PAUSE TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
=== 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_Redis_basic
=== CONT  TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName
=== CONT  TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_Redis_basic (1057.79s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6
--- PASS: TestAccElastiCacheGlobalReplicationGroup_UpdateParameterGroupName (1898.64s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade (1900.92s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6 (860.06s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade_6x (1074.75s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Valkey_v7 (1056.85s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_ReplaceSecondary_differentRegion (3337.10s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorUpgrade (1888.54s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v6x (1064.47s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_NoChange_Redis_v5 (1086.99s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade_6x (1046.52s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Decrease (2730.26s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_MinorUpgrade (1053.20s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Decrease (2636.12s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnUpdate_Increase (2480.00s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnUpdate_NoVersion (1063.30s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_update
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorDowngrade (1106.58s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade_6x (2000.56s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MajorUpgrade (2178.29s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_update (2053.31s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_update (1272.46s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_setNoChange (1180.50s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createWithChange (1199.90s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_disappears
--- PASS: TestAccElastiCacheGlobalReplicationGroup_automaticFailover_createNoChange (1201.18s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_description
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_setNoChange (1093.93s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_NoVersion (1.54s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_multipleSecondaries (3622.24s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_disappears (1085.40s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade
--- PASS: TestAccElastiCacheGlobalReplicationGroup_description (1088.63s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetParameterGroupOnCreate_MinorUpgrade (903.04s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnUpdate_MinorUpgrade (1593.68s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_Valkey_basic
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MinorDowngrade (1010.99s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createWithChange (1669.75s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase
--- PASS: TestAccElastiCacheGlobalReplicationGroup_Valkey_basic (1109.25s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_NoChange (1402.16s)
=== CONT  TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetEngineVersionOnCreate_MajorUpgrade_6x (1993.57s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_clusterMode_basic (1319.49s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_nodeType_createNoChange (1126.08s)
--- PASS: TestAccElastiCacheGlobalReplicationGroup_SetNumNodeGroupsOnCreate_Increase (2386.40s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	15784.228s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheParameterGroup_\|TestAccElastiCacheReplicationGroup_' PKG=elasticache ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 4  -run=TestAccElastiCacheParameterGroup_\|TestAccElastiCacheReplicationGroup_ -timeout 720m
2024/10/21 17:44:19 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheParameterGroup_Redis_basic
=== PAUSE TestAccElastiCacheParameterGroup_Redis_basic
=== RUN   TestAccElastiCacheParameterGroup_Valkey_basic
=== PAUSE TestAccElastiCacheParameterGroup_Valkey_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
=== RUN   TestAccElastiCacheReplicationGroup_Redis_basic
=== PAUSE TestAccElastiCacheReplicationGroup_Redis_basic
=== RUN   TestAccElastiCacheReplicationGroup_Redis_basic_v5
=== PAUSE TestAccElastiCacheReplicationGroup_Redis_basic_v5
=== RUN   TestAccElastiCacheReplicationGroup_Valkey_basic
=== PAUSE TestAccElastiCacheReplicationGroup_Valkey_basic
=== RUN   TestAccElastiCacheReplicationGroup_uppercase
=== PAUSE TestAccElastiCacheReplicationGroup_uppercase
=== RUN   TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7
=== PAUSE TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7
=== RUN   TestAccElastiCacheReplicationGroup_EngineVersion_update
=== PAUSE TestAccElastiCacheReplicationGroup_EngineVersion_update
=== RUN   TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion
=== PAUSE TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion
=== RUN   TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
=== PAUSE TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
=== RUN   TestAccElastiCacheReplicationGroup_disappears
=== PAUSE TestAccElastiCacheReplicationGroup_disappears
=== RUN   TestAccElastiCacheReplicationGroup_updateDescription
=== PAUSE TestAccElastiCacheReplicationGroup_updateDescription
=== RUN   TestAccElastiCacheReplicationGroup_updateMaintenanceWindow
=== PAUSE TestAccElastiCacheReplicationGroup_updateMaintenanceWindow
=== RUN   TestAccElastiCacheReplicationGroup_updateUserGroups
=== PAUSE TestAccElastiCacheReplicationGroup_updateUserGroups
=== RUN   TestAccElastiCacheReplicationGroup_updateNodeSize
=== PAUSE TestAccElastiCacheReplicationGroup_updateNodeSize
=== RUN   TestAccElastiCacheReplicationGroup_updateParameterGroup
=== PAUSE TestAccElastiCacheReplicationGroup_updateParameterGroup
=== RUN   TestAccElastiCacheReplicationGroup_authToken
=== PAUSE TestAccElastiCacheReplicationGroup_authToken
=== RUN   TestAccElastiCacheReplicationGroup_stateUpgrade5270
=== PAUSE TestAccElastiCacheReplicationGroup_stateUpgrade5270
=== RUN   TestAccElastiCacheReplicationGroup_stateUpgrade5590
=== PAUSE TestAccElastiCacheReplicationGroup_stateUpgrade5590
=== RUN   TestAccElastiCacheReplicationGroup_vpc
=== PAUSE TestAccElastiCacheReplicationGroup_vpc
=== RUN   TestAccElastiCacheReplicationGroup_multiAzNotInVPC
=== PAUSE TestAccElastiCacheReplicationGroup_multiAzNotInVPC
=== RUN   TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated
=== PAUSE TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated
=== RUN   TestAccElastiCacheReplicationGroup_multiAzInVPC
=== PAUSE TestAccElastiCacheReplicationGroup_multiAzInVPC
=== RUN   TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC
=== PAUSE TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC
=== RUN   TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover
=== PAUSE TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover
=== RUN   TestAccElastiCacheReplicationGroup_ipDiscovery
=== PAUSE TestAccElastiCacheReplicationGroup_ipDiscovery
=== RUN   TestAccElastiCacheReplicationGroup_networkType
=== PAUSE TestAccElastiCacheReplicationGroup_networkType
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_basic
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_basic
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp
=== RUN   TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_singleNode
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_singleNode
=== RUN   TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled
=== PAUSE TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled
=== RUN   TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup
=== PAUSE TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup
=== RUN   TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError
=== PAUSE TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError
=== RUN   TestAccElastiCacheReplicationGroup_enableSnapshotting
=== PAUSE TestAccElastiCacheReplicationGroup_enableSnapshotting
=== RUN   TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken
=== PAUSE TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken
=== RUN   TestAccElastiCacheReplicationGroup_transitEncryption5x
=== PAUSE TestAccElastiCacheReplicationGroup_transitEncryption5x
=== RUN   TestAccElastiCacheReplicationGroup_transitEncryption7x
=== PAUSE TestAccElastiCacheReplicationGroup_transitEncryption7x
=== RUN   TestAccElastiCacheReplicationGroup_enableAtRestEncryption
=== PAUSE TestAccElastiCacheReplicationGroup_enableAtRestEncryption
=== RUN   TestAccElastiCacheReplicationGroup_useCMKKMSKeyID
=== PAUSE TestAccElastiCacheReplicationGroup_useCMKKMSKeyID
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled
=== RUN   TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters
=== PAUSE TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize
=== RUN   TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown
=== PAUSE TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown
=== RUN   TestAccElastiCacheReplicationGroup_tags
=== PAUSE TestAccElastiCacheReplicationGroup_tags
=== RUN   TestAccElastiCacheReplicationGroup_tagWithOtherModification
=== PAUSE TestAccElastiCacheReplicationGroup_tagWithOtherModification
=== RUN   TestAccElastiCacheReplicationGroup_finalSnapshot
=== PAUSE TestAccElastiCacheReplicationGroup_finalSnapshot
=== RUN   TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade
=== PAUSE TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade
=== RUN   TestAccElastiCacheReplicationGroup_Validation_noNodeType
=== PAUSE TestAccElastiCacheReplicationGroup_Validation_noNodeType
=== RUN   TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== PAUSE TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
=== RUN   TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== PAUSE TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
=== RUN   TestAccElastiCacheReplicationGroup_dataTiering
=== PAUSE TestAccElastiCacheReplicationGroup_dataTiering
=== RUN   TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled
=== PAUSE TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled
=== RUN   TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled
=== PAUSE TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled
=== CONT  TestAccElastiCacheParameterGroup_Redis_basic
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp
=== CONT  TestAccElastiCacheReplicationGroup_disappears
=== CONT  TestAccElastiCacheParameterGroup_description
--- PASS: TestAccElastiCacheParameterGroup_description (14.23s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled
--- PASS: TestAccElastiCacheParameterGroup_Redis_basic (14.25s)
=== CONT  TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled
--- PASS: TestAccElastiCacheReplicationGroup_disappears (769.48s)
=== CONT  TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled
--- PASS: TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Enabled (1095.42s)
=== CONT  TestAccElastiCacheReplicationGroup_dataTiering
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_multiAZEnabled (1540.55s)
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleUp (1627.46s)
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic
--- PASS: TestAccElastiCacheReplicationGroup_dataTiering (722.74s)
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears
--- PASS: TestAccElastiCacheReplicationGroup_Engine_Redis_LogDeliveryConfigurations_ClusterMode_Disabled (1070.69s)
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full
--- PASS: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterModeValidation_numNodeGroupsOnSecondary (1091.39s)
=== CONT  TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic
--- PASS: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_disappears (2111.60s)
=== CONT  TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType
--- PASS: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_full (2822.34s)
=== CONT  TestAccElastiCacheReplicationGroup_Validation_noNodeType
--- PASS: TestAccElastiCacheReplicationGroup_Validation_noNodeType (4.95s)
=== CONT  TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade
--- PASS: TestAccElastiCacheReplicationGroup_Validation_globalReplicationGroupIdAndNodeType (1111.23s)
=== CONT  TestAccElastiCacheReplicationGroup_finalSnapshot
--- PASS: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupID_basic (2489.56s)
=== CONT  TestAccElastiCacheReplicationGroup_tagWithOtherModification
--- PASS: TestAccElastiCacheReplicationGroup_GlobalReplicationGroupIDClusterMode_basic (3509.55s)
=== CONT  TestAccElastiCacheReplicationGroup_tags
--- PASS: TestAccElastiCacheReplicationGroup_autoMinorVersionUpgrade (835.97s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown
--- PASS: TestAccElastiCacheReplicationGroup_finalSnapshot (596.10s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize
--- PASS: TestAccElastiCacheReplicationGroup_tags (893.49s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_atTargetSize (1140.92s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappearsRemoveMemberCluster_scaleDown (1379.77s)
=== CONT  TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken
--- PASS: TestAccElastiCacheReplicationGroup_tagWithOtherModification (2017.21s)
=== CONT  TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters
--- PASS: TestAccElastiCacheReplicationGroup_autoFailoverEnabled_validateNumberCacheClusters (1.78s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_addMemberCluster (1457.03s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled
--- PASS: TestAccElastiCacheReplicationGroup_transitEncryptionWithAuthToken (743.48s)
=== CONT  TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClustersMemberClusterDisappears_noChange (1405.78s)
=== CONT  TestAccElastiCacheReplicationGroup_useCMKKMSKeyID
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverEnabled (1449.64s)
=== CONT  TestAccElastiCacheReplicationGroup_enableAtRestEncryption
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_autoFailoverDisabled (1347.99s)
=== CONT  TestAccElastiCacheReplicationGroup_uppercase
--- PASS: TestAccElastiCacheReplicationGroup_useCMKKMSKeyID (678.62s)
=== CONT  TestAccElastiCacheReplicationGroup_transitEncryption7x
--- PASS: TestAccElastiCacheReplicationGroup_NumberCacheClusters_basic (1354.11s)
=== CONT  TestAccElastiCacheReplicationGroup_Engine_RedisToValkey
--- PASS: TestAccElastiCacheReplicationGroup_enableAtRestEncryption (692.68s)
=== CONT  TestAccElastiCacheReplicationGroup_transitEncryption5x
--- PASS: TestAccElastiCacheReplicationGroup_uppercase (711.04s)
=== CONT  TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion
--- PASS: TestAccElastiCacheReplicationGroup_EngineVersion_6xToRealVersion (916.78s)
=== CONT  TestAccElastiCacheReplicationGroup_EngineVersion_update
--- PASS: TestAccElastiCacheReplicationGroup_Engine_RedisToValkey (1620.31s)
=== CONT  TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7
--- PASS: TestAccElastiCacheReplicationGroup_transitEncryption5x (1466.24s)
=== CONT  TestAccElastiCacheReplicationGroup_multiAzNotInVPC
--- PASS: TestAccElastiCacheReplicationGroup_Redis_EngineVersion_v7 (685.12s)
=== CONT  TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover
--- PASS: TestAccElastiCacheReplicationGroup_ValidationMultiAz_noAutomaticFailover (1.32s)
=== CONT  TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC
--- PASS: TestAccElastiCacheReplicationGroup_transitEncryption7x (2410.98s)
=== CONT  TestAccElastiCacheReplicationGroup_multiAzInVPC
--- PASS: TestAccElastiCacheReplicationGroup_multiAzNotInVPC (852.79s)
=== CONT  TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated
--- PASS: TestAccElastiCacheReplicationGroup_deprecatedAvailabilityZones_multiAzInVPC (776.52s)
=== CONT  TestAccElastiCacheReplicationGroup_Redis_basic_v5
--- PASS: TestAccElastiCacheReplicationGroup_multiAzInVPC (797.17s)
=== CONT  TestAccElastiCacheReplicationGroup_Valkey_basic
--- PASS: TestAccElastiCacheReplicationGroup_multiAzNotInVPC_repeated (779.07s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_singleNode
--- PASS: TestAccElastiCacheReplicationGroup_Redis_basic_v5 (358.50s)
=== CONT  TestAccElastiCacheReplicationGroup_enableSnapshotting
--- PASS: TestAccElastiCacheReplicationGroup_Valkey_basic (682.79s)
=== CONT  TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError
--- PASS: TestAccElastiCacheReplicationGroup_clusteringAndCacheNodesCausesError (0.82s)
=== CONT  TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup
--- PASS: TestAccElastiCacheReplicationGroup_cacheClustersConflictsWithReplicasPerNodeGroup (0.73s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_singleNode (715.33s)
=== CONT  TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters
--- PASS: TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_allParameters (22.69s)
=== CONT  TestAccElastiCacheParameterGroup_uppercaseName
--- PASS: TestAccElastiCacheParameterGroup_uppercaseName (13.73s)
=== CONT  TestAccElastiCacheParameterGroup_updateReservedMemoryParameter
--- PASS: TestAccElastiCacheParameterGroup_updateReservedMemoryParameter (22.07s)
=== CONT  TestAccElastiCacheParameterGroup_switchReservedMemoryParameter
--- PASS: TestAccElastiCacheParameterGroup_switchReservedMemoryParameter (22.72s)
=== CONT  TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters
--- PASS: TestAccElastiCacheParameterGroup_RemoveReservedMemoryParameter_remainingParameters (22.67s)
=== CONT  TestAccElastiCacheParameterGroup_addParameter
--- PASS: TestAccElastiCacheParameterGroup_addParameter (21.48s)
=== CONT  TestAccElastiCacheParameterGroup_removeAllParameters
--- PASS: TestAccElastiCacheReplicationGroup_enableSnapshotting (826.02s)
=== CONT  TestAccElastiCacheParameterGroup_disappears
--- PASS: TestAccElastiCacheParameterGroup_disappears (11.25s)
=== CONT  TestAccElastiCacheParameterGroup_Valkey_basic
--- PASS: TestAccElastiCacheParameterGroup_removeAllParameters (26.37s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp
--- PASS: TestAccElastiCacheParameterGroup_Valkey_basic (13.38s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleDown (1816.33s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_basic
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_updateFromDisabled_Compatible_Enabled (2385.00s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroupsAndReplicasPerNodeGroup_scaleUp (1895.85s)
=== CONT  TestAccElastiCacheParameterGroup_tags
--- PASS: TestAccElastiCacheParameterGroup_tags (29.91s)
=== CONT  TestAccElastiCacheReplicationGroup_updateParameterGroup
--- PASS: TestAccElastiCacheReplicationGroup_EngineVersion_update (5409.03s)
=== CONT  TestAccElastiCacheReplicationGroup_vpc
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_nonClusteredParameterGroup (746.08s)
=== CONT  TestAccElastiCacheReplicationGroup_stateUpgrade5590
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_basic (873.39s)
=== CONT  TestAccElastiCacheReplicationGroup_stateUpgrade5270
--- PASS: TestAccElastiCacheReplicationGroup_updateParameterGroup (903.78s)
=== CONT  TestAccElastiCacheReplicationGroup_authToken
--- PASS: TestAccElastiCacheReplicationGroup_vpc (672.85s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup
--- PASS: TestAccElastiCacheReplicationGroup_stateUpgrade5270 (583.42s)
=== CONT  TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown
--- PASS: TestAccElastiCacheReplicationGroup_stateUpgrade5590 (646.42s)
=== CONT  TestAccElastiCacheReplicationGroup_updateUserGroups
--- PASS: TestAccElastiCacheReplicationGroup_authToken (1276.76s)
=== CONT  TestAccElastiCacheReplicationGroup_updateNodeSize
--- PASS: TestAccElastiCacheReplicationGroup_updateUserGroups (1056.02s)
=== CONT  TestAccElastiCacheReplicationGroup_updateMaintenanceWindow
--- PASS: TestAccElastiCacheReplicationGroup_ClusterMode_updateReplicasPerNodeGroup (1613.06s)
=== CONT  TestAccElastiCacheReplicationGroup_ipDiscovery
--- PASS: TestAccElastiCacheReplicationGroup_ClusterModeUpdateNumNodeGroups_scaleDown (1771.40s)
=== CONT  TestAccElastiCacheReplicationGroup_updateDescription
--- PASS: TestAccElastiCacheReplicationGroup_updateMaintenanceWindow (837.40s)
=== CONT  TestAccElastiCacheReplicationGroup_Redis_basic
--- PASS: TestAccElastiCacheReplicationGroup_ipDiscovery (942.22s)
=== CONT  TestAccElastiCacheReplicationGroup_networkType
--- PASS: TestAccElastiCacheReplicationGroup_updateDescription (825.79s)
--- PASS: TestAccElastiCacheReplicationGroup_Redis_basic (745.43s)
--- PASS: TestAccElastiCacheReplicationGroup_updateNodeSize (1839.87s)
--- PASS: TestAccElastiCacheReplicationGroup_networkType (1036.38s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	20141.989s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccElastiCacheServerlessCache_' PKG=elasticache ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/elasticache/... -v -count 1 -parallel 4  -run=TestAccElastiCacheServerlessCache_ -timeout 720m
2024/10/22 05:54:33 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheServerlessCache_basicRedis
=== PAUSE TestAccElastiCacheServerlessCache_basicRedis
=== RUN   TestAccElastiCacheServerlessCache_basicValkey
=== PAUSE TestAccElastiCacheServerlessCache_basicValkey
=== RUN   TestAccElastiCacheServerlessCache_full
=== PAUSE TestAccElastiCacheServerlessCache_full
=== RUN   TestAccElastiCacheServerlessCache_fullRedis
=== PAUSE TestAccElastiCacheServerlessCache_fullRedis
=== RUN   TestAccElastiCacheServerlessCache_fullValkey
=== PAUSE TestAccElastiCacheServerlessCache_fullValkey
=== RUN   TestAccElastiCacheServerlessCache_update
=== PAUSE TestAccElastiCacheServerlessCache_update
=== RUN   TestAccElastiCacheServerlessCache_updatesc
=== PAUSE TestAccElastiCacheServerlessCache_updatesc
=== RUN   TestAccElastiCacheServerlessCache_update_RedisToValkey
=== PAUSE TestAccElastiCacheServerlessCache_update_RedisToValkey
=== RUN   TestAccElastiCacheServerlessCache_disappears
=== PAUSE TestAccElastiCacheServerlessCache_disappears
=== RUN   TestAccElastiCacheServerlessCache_tags
=== PAUSE TestAccElastiCacheServerlessCache_tags
=== CONT  TestAccElastiCacheServerlessCache_basicRedis
=== CONT  TestAccElastiCacheServerlessCache_update
=== CONT  TestAccElastiCacheServerlessCache_disappears
=== CONT  TestAccElastiCacheServerlessCache_tags
--- PASS: TestAccElastiCacheServerlessCache_basicRedis (422.33s)
=== CONT  TestAccElastiCacheServerlessCache_update_RedisToValkey
--- PASS: TestAccElastiCacheServerlessCache_tags (427.76s)
=== CONT  TestAccElastiCacheServerlessCache_fullRedis
--- PASS: TestAccElastiCacheServerlessCache_disappears (482.00s)
=== CONT  TestAccElastiCacheServerlessCache_fullValkey
--- PASS: TestAccElastiCacheServerlessCache_update (522.28s)
=== CONT  TestAccElastiCacheServerlessCache_updatesc
--- PASS: TestAccElastiCacheServerlessCache_fullRedis (354.97s)
=== CONT  TestAccElastiCacheServerlessCache_full
--- PASS: TestAccElastiCacheServerlessCache_fullValkey (302.94s)
=== CONT  TestAccElastiCacheServerlessCache_basicValkey
--- PASS: TestAccElastiCacheServerlessCache_updatesc (324.84s)
--- PASS: TestAccElastiCacheServerlessCache_full (219.11s)
--- PASS: TestAccElastiCacheServerlessCache_basicValkey (219.32s)
--- PASS: TestAccElastiCacheServerlessCache_update_RedisToValkey (582.91s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/elasticache	1010.262s

@ewbankkit
Copy link
Contributor

@relu Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit b5347d9 into hashicorp:main Oct 22, 2024
41 checks passed
@github-actions github-actions bot added this to the v5.73.0 milestone Oct 22, 2024
@relu relu deleted the f-elasticache-valkey branch October 22, 2024 16:56
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Oct 24, 2024
Copy link

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

@axot
Copy link

axot commented Oct 28, 2024

Does this support direct in-place upgrades from Redis engine?

@jramosf
Copy link
Contributor

jramosf commented Oct 30, 2024

Does this support direct in-place upgrades from Redis engine?

This PR #39950 probably will make it able to do in-place upgrades.

@iniinikoski
Copy link

Does this support direct in-place upgrades from Redis engine?

This PR #39950 probably will make it able to do in-place upgrades.

I was able to an in-place upgrade without the PR with the provider version 5.73.0. I did have to of course give the engine for provider but - worked really well. Awesome work!

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 Nov 30, 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. enhancement Requests to existing resources that expand the functionality or scope. service/elasticache Issues and PRs that pertain to the elasticache service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
6 participants