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
When implementating of a productStack for servicecatalog that creates a new VPC or resource, it works fine here
But whenever I try to discover existing resources such as a vpc, I run into an issue vpc = ec2.Vpc.from_lookup(self, "VPC", vpc_id=vpcid, is_default=False)
I get the following error: Cannot retrieve value from context provider vpc-provider since account/region are not specified at the stack level.
It's unclear to me how I can pass the account / region to the product stack. The parent service catalog stack has the account and region environment set.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When implementating of a productStack for servicecatalog that creates a new VPC or resource, it works fine here
But whenever I try to discover existing resources such as a vpc, I run into an issue
vpc = ec2.Vpc.from_lookup(self, "VPC", vpc_id=vpcid, is_default=False)
I get the following error:
Cannot retrieve value from context provider vpc-provider since account/region are not specified at the stack level.
It's unclear to me how I can pass the account / region to the product stack. The parent service catalog stack has the account and region environment set.
Beta Was this translation helpful? Give feedback.
All reactions