ambitious-rocket-23091
10/14/2022, 7:04 PMconst provider = new aws.Provider(`${accountName}-account-provider`, {
accessKey: env.AWS_ACCESS_KEY_ID,
secretKey: env.AWS_SECRET_ACCESS_KEY,
region: "us-east-1",
assumeRole: {
roleArn: pulumi.interpolate`arn:aws:iam::${accountId}:role/OrganizationAccountAccessRole`,
},
});
bucket = aws.s3.BucketV2("bucket", {provider=provider})
apologies if there is an answer to this already I did some searches in this channel but didn't see anything that matched what I'm trying to do.little-cartoon-10569
10/16/2022, 7:03 PM