Skip to content
This repository was archived by the owner on Jan 31, 2021. It is now read-only.

Commit fae0a1d

Browse files
parabolicaknysh
authored andcommitted
Fix_the_examples_in_the_readme (#2)
- change the environment argument to stage in the example - fix the formatting for the terraform examples
1 parent 05dc9ff commit fae0a1d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ Instead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest re
5252

5353
```hcl
5454
module "cloudwatch_agent" {
55-
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
55+
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
5656
57-
name = "cloudwatch_agent"
57+
name = "cloudwatch_agent"
5858
}
5959
6060
resource "aws_launch_configuration" "multipart" {
@@ -76,11 +76,11 @@ resource "aws_launch_configuration" "multipart" {
7676

7777
```hcl
7878
module "cloudwatch_agent" {
79-
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
79+
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
8080
81-
name = "cloudwatch_agent"
82-
environment = "dev"
83-
namespace = "eg"
81+
name = "cloudwatch_agent"
82+
stage = "dev"
83+
namespace = "eg"
8484
8585
metrics_config = "advanced"
8686
userdata_part_content = "${data.template_file.cloud-init.rendered}"

README.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ usage: |-
106106
107107
```hcl
108108
module "cloudwatch_agent" {
109-
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
109+
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
110110
111-
name = "cloudwatch_agent"
111+
name = "cloudwatch_agent"
112112
}
113113
114114
resource "aws_launch_configuration" "multipart" {
@@ -130,11 +130,11 @@ usage: |-
130130
131131
```hcl
132132
module "cloudwatch_agent" {
133-
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
133+
source = "git::https://github.com/cloudposse/terraform-aws-cloudwatch-agent?ref=master"
134134
135-
name = "cloudwatch_agent"
136-
environment = "dev"
137-
namespace = "eg"
135+
name = "cloudwatch_agent"
136+
stage = "dev"
137+
namespace = "eg"
138138
139139
metrics_config = "advanced"
140140
userdata_part_content = "${data.template_file.cloud-init.rendered}"

0 commit comments

Comments
 (0)