Skip to content

Commit a87bbff

Browse files
authored
Merge pull request #9 from Guslington/develop
output security group id
2 parents 6641bf8 + e0f63c7 commit a87bbff

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)