Skip to content

Commit ccec465

Browse files
committed
add output
1 parent 8e53f98 commit ccec465

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

cloudformation.yml.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ Resources:
2323
Data: |
2424
${indent(8, data)}
2525
%{~ endif ~}
26+
Outputs:
27+
componentArn:
28+
Description: ARN of the created component
29+
Value: !Ref "imageBuildComponent"

outputs.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
output "component_arn" {
2+
value = aws_cloudformation_stack.this.outputs.componentArn
3+
}

0 commit comments

Comments
 (0)