bland-byte-34481
10/04/2022, 2:02 PMconst zones = await aws.getAvailabilityZones(null, {
provider
});
const provider = return new aws.Provider("provider", {
assumeRole: {
roleArn,
externalId,
},
region,
profile,
});
error: Error: invocation of aws:index/getAvailabilityZones:getAvailabilityZones returned an error: unable to validate AWS credentials. Make sure you have:
• Set your AWS region, e.g. `pulumi config set aws:region us-west-2`
• Configured your AWS credentials as per <https://pulumi.io/install/aws.html>
You can also set these via cli using `aws configure`
"@pulumi/aws": "^5.6.0",
"@pulumi/awsx": "^0.40.0",
"@pulumi/pulumi": "^3.24.1",
mysterious-byte-81865
10/04/2022, 2:59 PMbland-byte-34481
10/06/2022, 9:58 PM