-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception getting availability zones using non-default provider #731
Comments
A bit confused. Why aren't you able to use the arn for the cc @danielrbradley in case this is relevant to the MLC version of the component. |
Using the ARN directly results in the same error. The await is likely irrelevant. |
@danielrbradley have you had a chance to take a look at this? As a workaround currently, I'm just creating a provider without an assumed role for this specific task (eg. the user of my AWS keys has permissions required to create a VPC). Let me know if I can provider more info. |
I've had a quick dig into this and agree there's a secondary issue from the instantiation of the provider from the created role. I still need to dig into why the |
I've now tested and ensured this works in the new implementation in #843, we're only applying security fixes to the classic implementation. This will be included in the next release. |
Hello!
Issue details
Steps to reproduce
awsx.ec2.Vpc
with explicit providerCode to reproduce is here:
https://github.com/shed909/pulumi-provider-assume-role-repro
Expected:
A VPC should be created using the declared provider, assuming the Pulumi role and using the specified region.
Actual:
Pulumi outputs the following error:
Possibly related to pulumi/pulumi-aws#673, but I'm getting a different error. I have implemented the workaround described in that thread, as well as messing around with different
dependsOn
args.It seems to be limited to the awsx provider, eg. EKS resources are being created in my main project if I remove awsx from the picture.
The text was updated successfully, but these errors were encountered: