witty-electrician-14202
06/28/2023, 10:47 PMconst bucketName = '...'
const bucket = new aws.s3.Bucket(bucketName, {
bucket: bucketName,
})
module.exports = { bucket }
I logged in using an s3 bucket and if I run pulumi up
it returns the following error:
configuring Terraform AWS Provider: validating provider credentials: retrieving caller identity from STS: operation error STS: GetCallerIdentity, https response error StatusCode: 0, RequestID: , request send failed, Post "<https://sts.us-east-2.amazonaws.com/>": dial tcp: lookup <http://sts.us-east-2.amazonaws.com|sts.us-east-2.amazonaws.com> on [fe80::96ea:eaff:fe2b:ec16%en0]:53: no such host
Do you guys have any clue on how I fix this issue or even how I could debug it better?
I've already checked and I was able to run the aws sts get-caller-identity
normally on the AWS CLI.
It seems very similar to this bug, but I can't move my state files from the s3 bucketbillowy-army-68599
witty-electrician-14202
06/28/2023, 11:48 PMbillowy-army-68599
witty-electrician-14202
06/28/2023, 11:50 PMbillowy-army-68599
witty-electrician-14202
06/28/2023, 11:52 PMServer: fe80::96ea:eaff:fe2b:ec16%11
Address: fe80::96ea:eaff:fe2b:ec16%11#53
Non-authoritative answer:
Name: <http://sts.us-east-2.amazonaws.com|sts.us-east-2.amazonaws.com>
Address: 52.95.18.19
billowy-army-68599
witty-electrician-14202
06/29/2023, 12:50 AMbillowy-army-68599
witty-electrician-14202
06/29/2023, 12:54 AMpulumi init stack
command works and creates the state filebillowy-army-68599
witty-electrician-14202
06/29/2023, 2:55 PMname: remix-poc
description: Remix app infrastructure
runtime: nodejs
config:
aws:region: us-east-2
skipCredentialsValidation
config, which makes the stack to start executing, at least. But one of my resources uses the aws.getCallerIdentity()
, causing the error anywaybillowy-army-68599
witty-electrician-14202
06/30/2023, 11:11 AM