generated from clowdhaus/terraform-aws-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
28 lines (25 loc) · 961 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
output "start_execution_command" {
description = "Example awscli command to start the state machine execution"
value = <<-EOT
aws stepfunctions start-execution \
--region ${local.region} \
--state-machine-arn ${module.state_machine.state_machine_arn} \
--input ${jsonencode(jsonencode(
{
SnapshotName = "ml-container-cache"
SnapshotDescription = "ML container image cache"
}
))}
EOT
}
################################################################################
# Snapshot SSM Parameter
################################################################################
output "ssm_parameter_arn" {
description = "The ARN of the SSM parameter storing the snapshot name"
value = try(aws_ssm_parameter.snapshot_id[0].arn, null)
}
output "ssm_parameter_name" {
description = "The name of the SSM parameter storing the snapshot name"
value = try(aws_ssm_parameter.snapshot_id[0].name, null)
}