hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.84k stars 9.19k forks source link

fix: set cluster address in redis #39994

Open aiell0 opened 1 week ago

aiell0 commented 1 week ago

Description

Set the Elasticache cluster_address output for Redis. Currently it is only set for Memcached.

Relations

Relates https://github.com/hashicorp/terraform-provider-aws/issues/20394

References

Output from Acceptance Testing

lawrenceaiello@Lawrences-MacBook-Pro-2 ~/Development/aiell0/terraform-provider-aws (b-elasticache-redis-endpoint) $ make testacc TESTS=TestAccElastiCacheCluster_Engine_redis PKG=elasticache                                                <aws:default>
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_Engine_redis'  -timeout 360m
2024/11/03 20:23:41 Initializing Terraform AWS Provider...
=== RUN   TestAccElastiCacheCluster_Engine_redis
=== PAUSE TestAccElastiCacheCluster_Engine_redis
=== RUN   TestAccElastiCacheCluster_Engine_redis_v5
=== PAUSE TestAccElastiCacheCluster_Engine_redis_v5
=== CONT  TestAccElastiCacheCluster_Engine_redis
=== CONT  TestAccElastiCacheCluster_Engine_redis_v5
--- PASS: TestAccElastiCacheCluster_Engine_redis_v5 (713.34s)
--- PASS: TestAccElastiCacheCluster_Engine_redis (775.40s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/elasticache        779.310s

...
github-actions[bot] commented 1 week ago

Community Note

Voting for Prioritization

For Submitters