Open jtirrell-amazon opened 2 months ago
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)
I have the same issue when trying to import a VPC
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.