Skip to content

Commit

Permalink
Merge pull request #5 from base2Services/feature/endpoints_export
Browse files Browse the repository at this point in the history
Add output/export for endpoints
  • Loading branch information
Samseppiol committed Feb 2, 2021
2 parents 44aa3be + a420f62 commit e2efb3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vpc-v2.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,11 @@
SubnetIds subnet_groups[external_parameters[:endpoint_subnets]]
SecurityGroupIds [ Ref(:VpcEndpointInterface) ]
}

Output("#{vpce.capitalize}VPCEndpointId") {
Value(Ref("#{vpce.capitalize}VpcEndpoint"))
Export FnSub("${EnvironmentName}-#{external_parameters[:component_name]}-#{vpce.capitalize}VPCEndpointId")
}
end
end

Expand Down

0 comments on commit e2efb3d

Please sign in to comment.