Skip to content

Commit e0f63c7

Browse files
committed
output security group id
1 parent 6641bf8 commit e0f63c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

aurora-postgres.cfndsl.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
Tags aurora_tags
4343
end
4444

45+
Output(:SecurityGroupId) {
46+
Value(FnGetAtt(:SecurityGroup, :GroupId))
47+
Export FnSub("${EnvironmentName}-#{external_parameters[:component_name]}-securitygroup-id")
48+
}
49+
4550
RDS_DBSubnetGroup(:DBClusterSubnetGroup) {
4651
SubnetIds Ref('SubnetIds')
4752
DBSubnetGroupDescription FnSub("Aurora postgres #{component_name} subnets for the ${EnvironmentName} environment")

0 commit comments

Comments
 (0)