Skip to content

Commit bda564a

Browse files
author
Lachlan Donald
authored
Merge pull request #616 from jradtilbrook/cf-outputs
Add cloudformation output exports
2 parents eb6c493 + b0fc37c commit bda564a

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
@@ -376,19 +376,32 @@ Parameters:
376376
Default: "false"
377377

378378
Outputs:
379+
VpcId:
380+
Value: !Ref Vpc
381+
Export:
382+
Name: !Sub '${AWS::StackName}-VpcId'
383+
379384
ManagedSecretsBucket:
380385
Value:
381386
!If [CreateSecretsBucket, !Ref ManagedSecretsBucket, "" ]
387+
Export:
388+
Name: !Sub '${AWS::StackName}-ManagedSecretsBucket'
382389

383390
ManagedSecretsLoggingBucket:
384391
Value:
385392
!If [CreateSecretsBucket, !Ref ManagedSecretsLoggingBucket, "" ]
393+
Export:
394+
Name: !Sub '${AWS::StackName}-ManagedSecretsLoggingBucket'
386395

387396
AutoScalingGroupName:
388397
Value: !Ref AgentAutoScaleGroup
398+
Export:
399+
Name: !Sub '${AWS::StackName}-AutoScalingGroupName'
389400

390401
InstanceRoleName:
391402
Value: !Ref IAMRole
403+
Export:
404+
Name: !Sub '${AWS::StackName}-InstanceRoleName'
392405

393406
Conditions:
394407
UseSpotInstances:

0 commit comments

Comments
 (0)