mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/aws: aws_elasticache_cluster
acceptance test for
`cluster_address`
This commit is contained in:
parent
10cddc8153
commit
87f632cb92
@ -27,6 +27,8 @@ func TestAccAWSElasticacheCluster_basic(t *testing.T) {
|
|||||||
testAccCheckAWSElasticacheClusterExists("aws_elasticache_cluster.bar", &ec),
|
testAccCheckAWSElasticacheClusterExists("aws_elasticache_cluster.bar", &ec),
|
||||||
resource.TestCheckResourceAttr(
|
resource.TestCheckResourceAttr(
|
||||||
"aws_elasticache_cluster.bar", "cache_nodes.0.id", "0001"),
|
"aws_elasticache_cluster.bar", "cache_nodes.0.id", "0001"),
|
||||||
|
resource.TestCheckResourceAttrSet("aws_elasticache_cluster.bar", "configuration_endpoint"),
|
||||||
|
resource.TestCheckResourceAttrSet("aws_elasticache_cluster.bar", "cluster_address"),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
3
vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go
generated
vendored
@ -2572,9 +2572,6 @@ type CacheCluster struct {
|
|||||||
// node.
|
// node.
|
||||||
ConfigurationEndpoint *Endpoint `type:"structure"`
|
ConfigurationEndpoint *Endpoint `type:"structure"`
|
||||||
|
|
||||||
// The DNS name of the cache cluster without the port appended.
|
|
||||||
ClusterAddress *string `type:"string"`
|
|
||||||
|
|
||||||
// The name of the cache engine (memcached or redis) to be used for this cache
|
// The name of the cache engine (memcached or redis) to be used for this cache
|
||||||
// cluster.
|
// cluster.
|
||||||
Engine *string `type:"string"`
|
Engine *string `type:"string"`
|
||||||
|
Loading…
Reference in New Issue
Block a user