Skip to content

Commit

Permalink
Add tags and display_name in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Chen committed May 24, 2019
1 parent e6e6f30 commit 87d20d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -34,7 +34,7 @@ One can also simply assign the source from [terraform registry](https://registry
```hcl
module "sns-pagerduty" {
source = "dubiety/sns-pagerduty/aws"
version = "0.1.0"
version = "0.2.0"
create = 1
create_sns_topic = 1
Expand Down
6 changes: 6 additions & 0 deletions examples/create-sns/main.tf
Expand Up @@ -6,6 +6,12 @@ module "notify_pagerduty" {
source = "../.."
create_sns_topic = 1
sns_topic_name = "sns-topic-you-want-to-create"
display_name = "some-alerts"

pagerduty_endpoint = "https://events.pagerduty.com/integration/INTEGRATION_KEY/enqueue"

tags {
"Env" = "prod"
"foo" = "bar"
}
}

0 comments on commit 87d20d2

Please sign in to comment.