Skip to content

Commit

Permalink
fixing example code to be executable
Browse files Browse the repository at this point in the history
  • Loading branch information
exequielrafaela committed Jul 6, 2019
1 parent e5e5692 commit 291d457
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module "billing_cloudwatch_alert" {
source = "../../cost-mgmt-billing-alarm-bb"
source = "../../../terraform-aws-cost-billing-alarm"

aws_env = "${var.aws_profile}"
monthly_billing_threshold = 500
currency = "USD"
}

output "sns_topic" {
value = "${module.billing_cloudwatch_alert.sns_topic}"
value = "${module.billing_cloudwatch_alert.sns_topic_arn}"
}

# Will output the following:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "billing_cloudwatch_alert" {
source = "../../cost-mgmt-billing-alarm-bb"
source = "../../../terraform-aws-cost-billing-alarm"

aws_env = "${var.aws_profile}"
aws_account_id = 111111111111
Expand All @@ -8,7 +8,7 @@ module "billing_cloudwatch_alert" {
}

output "sns_topic" {
value = "${module.billing_cloudwatch_alert.sns_topic}"
value = "${module.billing_cloudwatch_alert.sns_topic_arn}"
}

# Will output the following:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "billing_cloudwatch_alert" {
source = "../../cost-mgmt-billing-alarm-bb"
source = "../../../terraform-aws-cost-billing-alarm"

aws_env = "${var.aws_profile}"
monthly_billing_threshold = 500
Expand All @@ -8,7 +8,7 @@ module "billing_cloudwatch_alert" {
}

output "sns_topic" {
value = "${module.billing_cloudwatch_alert.sns_topic}"
value = "${module.billing_cloudwatch_alert.sns_topic_arn}"
}

# Will output the following:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "billing_cloudwatch_alert" {
source = "../../cost-mgmt-billing-alarm-bb"
source = "../../../terraform-aws-cost-billing-alarm"

aws_env = "${var.aws_profile}"
aws_account_id = 111111111111
Expand All @@ -9,7 +9,7 @@ module "billing_cloudwatch_alert" {
}

output "sns_topic" {
value = "${module.billing_cloudwatch_alert.sns_topic}"
value = "${module.billing_cloudwatch_alert.sns_topic_arn}"
}

# Will output the following:
Expand Down

0 comments on commit 291d457

Please sign in to comment.