Skip to content

Commit

Permalink
Docs: Fix usage snippet (missing source attribute) (#25)
Browse files Browse the repository at this point in the history
* Fix usage snippet (missing source attribute)
* Fix module block name in usage snippet (does not match module name)

Co-authored-by: cloudpossebot <[email protected]>
  • Loading branch information
korenyoni and cloudpossebot authored Oct 22, 2021
1 parent 0d6ed23 commit 51de1bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ The table below correctly indicates which inputs are required.


```terraform
module "cloudwatch_log" {
module "cloudwatch_logs" {
source = "cloudposse/cloudwatch-logs/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
Expand Down
3 changes: 2 additions & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ description: |-
# How to use this project
usage: |-
```terraform
module "cloudwatch_log" {
module "cloudwatch_logs" {
source = "cloudposse/cloudwatch-logs/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
Expand Down

0 comments on commit 51de1bd

Please sign in to comment.