Skip to content

Commit 50c3bd9

Browse files
author
Lachlan Donald
committed
Merge pull request #616 from jradtilbrook/cf-outputs
Add cloudformation output exports
1 parent e1e14a3 commit 50c3bd9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

templates/aws-stack.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,19 +383,32 @@ Parameters:
383383
Default: "false"
384384

385385
Outputs:
386+
VpcId:
387+
Value: !Ref Vpc
388+
Export:
389+
Name: !Sub '${AWS::StackName}-VpcId'
390+
386391
ManagedSecretsBucket:
387392
Value:
388393
!If [CreateSecretsBucket, !Ref ManagedSecretsBucket, "" ]
394+
Export:
395+
Name: !Sub '${AWS::StackName}-ManagedSecretsBucket'
389396

390397
ManagedSecretsLoggingBucket:
391398
Value:
392399
!If [CreateSecretsBucket, !Ref ManagedSecretsLoggingBucket, "" ]
400+
Export:
401+
Name: !Sub '${AWS::StackName}-ManagedSecretsLoggingBucket'
393402

394403
AutoScalingGroupName:
395404
Value: !Ref AgentAutoScaleGroup
405+
Export:
406+
Name: !Sub '${AWS::StackName}-AutoScalingGroupName'
396407

397408
InstanceRoleName:
398409
Value: !Ref IAMRole
410+
Export:
411+
Name: !Sub '${AWS::StackName}-InstanceRoleName'
399412

400413
AgentLifecycleTopic:
401414
Value: !Ref AgentLifecycleTopic

0 commit comments

Comments
 (0)