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
Error: Cannot retrieve value from context provider key-provider since account/region are not specified at the stack level. Configure "env" with an account and region when you define your stack.See https://docs.aws.amazon.com/cdk/latest/guide/environments.html for more details.
at Function.getValue (/Users/jtirrell/Documents/git-repos/gitlab/wwps-lcc-proserve/delivery-kits/secure-sight-continuous-compliance/arch/cdk_build/node_modules/aws-cdk-lib/core/lib/context-provider.js:2:562)
at Function.fromLookup (/Users/jtirrell/Documents/git-repos/gitlab/wwps-lcc-proserve/delivery-kits/secure-sight-continuous-compliance/arch/cdk_build/node_modules/aws-cdk-lib/aws-kms/lib/key.js:1:6753)
I assume that any stack created by stacksets needs to be region agnostic, and therefore you can't provide account/region
One way would be to create your own lookup lambda (fromLookup is usually local to your code, not cloudformation)
Error: Cannot retrieve value from context provider vpc-provider since account/region are not specified at the stack level. Configure "env" with an account and region when you define your stack.See https://docs.aws.amazon.com/cdk/latest/guide/environments.html for more details.
Any workaround so that I can import a VPC into a stacksetstack would be very welcome at this point.
I would expect, because the stack-set is targeted to an account / region that the env variable should be set so that I can perform these look-ups.
The text was updated successfully, but these errors were encountered: