Skip to content

Commit

Permalink
Merge pull request #732 from USEPA/elasticache-discovery
Browse files Browse the repository at this point in the history
Address formatting in parameters.tf
  • Loading branch information
azinck authored Jun 29, 2022
2 parents 6825419 + d5b6eef commit 2e2cde9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/infrastructure/parameters.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ resource "aws_ssm_parameter" "elasticache_endpoint" {

# Provide the ElastiCache nodes as a comma-separated list of host:port addresses for loading in settings.php.
resource "aws_ssm_parameter" "elasticache_node_endpoints" {
name = "/webcms/${var.environment}/endpoints/elasticache-nodes"
type = "StringList"
value = join(",", [for node in aws_elasticache_cluster.cache.cache_nodes: "${node.address}:${node.port}"])
name = "/webcms/${var.environment}/endpoints/elasticache-nodes"
type = "StringList"
value = join(",", [for node in aws_elasticache_cluster.cache.cache_nodes : "${node.address}:${node.port}"])

tags = var.tags
}
Expand Down

0 comments on commit 2e2cde9

Please sign in to comment.