most-lighter-95902
12/30/2021, 11:26 PMawsx.ecr.buildAndPushImage
is calling the wrong ECR repo (i.e. the failed push error log shows the wrong aws account ID)billowy-army-68599
12/30/2021, 11:54 PMdocker info | grep Registry
most-lighter-95902
12/30/2021, 11:54 PMbillowy-army-68599
12/30/2021, 11:55 PMenv | grep -i AWS
most-lighter-95902
12/30/2021, 11:56 PMAWS_ACCESS_KEY
and AWS_SECRET_ACCESS_KEY
in .env
billowy-army-68599
12/30/2021, 11:59 PMmost-lighter-95902
12/31/2021, 12:00 AMconst repository = new awsx.ecr.Repository("app")
to create a repo, it’s also in the wrong accountaws configure
also has the right account credentials)?billowy-army-68599
12/31/2021, 12:21 AMaws sts get-caller-identity
from the CLI returns the correct account?aws:
variables set?most-lighter-95902
12/31/2021, 12:54 AMaws sts get-caller-identity
returns the correct account and I have one aws:
variable (aws:region
) setaws configure
or .env) and uses that to authenticate for aws services like ecr?billowy-army-68599
12/31/2021, 4:05 AMPulumi.stack.yaml
most-lighter-95902
12/31/2021, 5:24 PM