Skip to content

Commit

Permalink
add outputs in terraform examples
Browse files Browse the repository at this point in the history
  • Loading branch information
diodonfrost committed Jun 21, 2019
1 parent c4bb307 commit f5b2bb1
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
17 changes: 17 additions & 0 deletions examples/autoscaling-schedule/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Terraform ex2-schedule outputs

output "lambda_stop_name" {
value = "${module.autoscaling-stop-friday.scheduler_lambda_name}"
}

output "lambda_stop_arn" {
value = "${module.autoscaling-stop-friday.scheduler_lambda_arn}"
}

output "lambda_start_name" {
value = "${module.autoscaling-start-monday.scheduler_lambda_name}"
}

output "lambda_start_arn" {
value = "${module.autoscaling-start-monday.scheduler_lambda_arn}"
}
17 changes: 17 additions & 0 deletions examples/ec2-schedule/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Terraform ex2-schedule outputs

output "lambda_stop_name" {
value = "${module.ec2-stop-friday.scheduler_lambda_name}"
}

output "lambda_stop_arn" {
value = "${module.ec2-stop-friday.scheduler_lambda_arn}"
}

output "lambda_start_name" {
value = "${module.ec2-start-monday.scheduler_lambda_name}"
}

output "lambda_start_arn" {
value = "${module.ec2-start-monday.scheduler_lambda_arn}"
}
17 changes: 17 additions & 0 deletions examples/rds-schedule/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Terraform ex2-schedule outputs

output "lambda_stop_name" {
value = "${module.rds-stop-friday.scheduler_lambda_name}"
}

output "lambda_stop_arn" {
value = "${module.rds-stop-friday.scheduler_lambda_arn}"
}

output "lambda_start_name" {
value = "${module.rds-start-monday.scheduler_lambda_name}"
}

output "lambda_start_arn" {
value = "${module.rds-start-monday.scheduler_lambda_arn}"
}

0 comments on commit f5b2bb1

Please sign in to comment.