Skip to content

Commit bc4a37a

Browse files
committed
fixing typo in main.tf
1 parent 02e58d5 commit bc4a37a

File tree

1 file changed

+1
-1
lines changed
  • terraform/python/ec2/default

1 file changed

+1
-1
lines changed

terraform/python/ec2/default/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ resource "null_resource" "main_service_setup" {
145145
sudo yum install ec2-instance-connect -y
146146
147147
# Copy in CW Agent configuration
148-
agent_config='${replace(replace(file(var.custom_metrics_enabled ? "./amazon-cloudwatch-custom-agent.json" : "./amazon-cloudwatch-agent.json"), "/\\s+/", ""), "$REGION", var.aws_region)}'
148+
agent_config='${replace(file(var.custom_metrics_enabled ? "./amazon-cloudwatch-custom-agent.json" : "./amazon-cloudwatch-agent.json"), "$REGION", var.aws_region)}'
149149
echo $agent_config > amazon-cloudwatch-agent.json
150150
151151
# Get and run CW agent rpm

0 commit comments

Comments
 (0)