From fae0a1dabbadfd3833ef765da3133ebf7286922b Mon Sep 17 00:00:00 2001 From: Nikola Velkovski Date: Fri, 3 May 2019 18:43:37 +0200 Subject: [PATCH] Fix_the_examples_in_the_readme (#2) - change the environment argument to stage in the example - fix the formatting for the terraform examples --- README.md | 12 ++++++------ README.yaml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 160b55c..f03a411 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ Instead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest re ```hcl module "cloudwatch_agent" { - source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" + source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" - name = "cloudwatch_agent" + name = "cloudwatch_agent" } resource "aws_launch_configuration" "multipart" { @@ -76,11 +76,11 @@ resource "aws_launch_configuration" "multipart" { ```hcl module "cloudwatch_agent" { - source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" + source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" - name = "cloudwatch_agent" - environment = "dev" - namespace = "eg" + name = "cloudwatch_agent" + stage = "dev" + namespace = "eg" metrics_config = "advanced" userdata_part_content = "${data.template_file.cloud-init.rendered}" diff --git a/README.yaml b/README.yaml index 985308a..3b970e3 100644 --- a/README.yaml +++ b/README.yaml @@ -106,9 +106,9 @@ usage: |- ```hcl module "cloudwatch_agent" { - source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" + source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" - name = "cloudwatch_agent" + name = "cloudwatch_agent" } resource "aws_launch_configuration" "multipart" { @@ -130,11 +130,11 @@ usage: |- ```hcl module "cloudwatch_agent" { - source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" + source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master" - name = "cloudwatch_agent" - environment = "dev" - namespace = "eg" + name = "cloudwatch_agent" + stage = "dev" + namespace = "eg" metrics_config = "advanced" userdata_part_content = "${data.template_file.cloud-init.rendered}"