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

Commit

Permalink
Fix_the_examples_in_the_readme (#2)
Browse files Browse the repository at this point in the history
- change the environment argument to stage in the example
- fix the formatting for the terraform examples
  • Loading branch information
parabolic authored and aknysh committed May 3, 2019
1 parent 05dc9ff commit fae0a1d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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}"
Expand Down
12 changes: 6 additions & 6 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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}"
Expand Down

0 comments on commit fae0a1d

Please sign in to comment.