You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
The docs specify a complex behavior for the Ref intrinsic for this resource:
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ID of the security group if
you specified the VpcId property. Otherwise, it returns the name of the security group. If you omit the VpcId property
and need the ID of the VPC, use Fn::GetAtt instead.
I think in pulumi-cdk emulation of the CF Ref behavior we can default to assuming VpcId is set and returning GroupId for Ref, but leaving this ticket open in the backlog just in case we will need to revisit the "missing VpcId" behavior for completeness.
Affected area/feature
The text was updated successfully, but these errors were encountered:
Hello!
Issue details
The docs specify a complex behavior for the Ref intrinsic for this resource:
This seem to bear out in practice.
Without VpcId I get this:
AntonStack-AntonTestSecurityGroup-gDbu6UPqIWDL
With VpcId I get
sg-01e8f63de351adcfb
:I think in
pulumi-cdk
emulation of the CF Ref behavior we can default to assuming VpcId is set and returning GroupId for Ref, but leaving this ticket open in the backlog just in case we will need to revisit the "missing VpcId" behavior for completeness.Affected area/feature
The text was updated successfully, but these errors were encountered: