https://pulumi.com logo
#aws
Title
# aws
s

square-hair-965

10/21/2022, 8:47 PM
has anyone experienced s3 bucket creation hanging when trying to use a provider? the 'creating...' just hangs indefinitely when I try to do something like this:
Copy code
const replicantProvider = new aws.Provider("replicantProvider", {
        region: 'us-east-2'
    });


    const replicantS3Bucket = new aws.s3.Bucket(replicantBucketName, replicantBucketConfig, {
        provider: replicantProvider
    });
i'm on the latest version of the sdks and pulumi cli
the provider in general is kind of frustrating, as it complains if I try to pass it a config value:
Copy code
const replicantProvider = new aws.Provider("replicantProvider", {
        region: config.require("replication_region")
    });
b

billowy-army-68599

10/21/2022, 9:01 PM
@square-hair-965 this usually happens when credentials have expired or you have an outdated session token
s

square-hair-965

10/21/2022, 9:20 PM
hmm ok i can try refreshing my credents but i'm having no problem doing the updates within the current stacks default aws region
i tried new credentials and am still having the same issue, there seems to be some sort of bug with giving s3 bucket component a provider in another region
i've done similar things elsewhere with no issues so I'm pretty confused
very bizarre jaxx, from what I can tell it just didn't like my bucket name, i literally changed it from
org-region-replicant
to
org-region-replicated
and it worked