worried-terabyte-60325
04/20/2022, 9:01 AMpulumi stack ls
after logging to minio, fail on pulumi up
, and pulumi up --debug
shows some request to <https://iam.amazonaws.com/doc/2010-05-08/>
.
Is there something wrong? My pulumi version is 3.28.0
Here is the error output of pulumi up
:
error: an unhandled error occurred: program exited with non-zero exit code: 1
error: program failed: 1 error occurred:
* rpc error: code = Unknown desc = invocation of aws:ec2/getAmi:getAmi returned an error: 1 error occurred:
* error retrieving account details: AWS account ID not previously found and failed retrieving via all available methods. See <https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id> for workaround and implications. Errors: 2 errors occurred:
* error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: 6ec2693b-0916-463f-bdc1-3124a181789a, api error InvalidClientTokenId: The security token included in the request is invalid.
* failed getting account information via iam:ListRoles: operation error IAM: ListRoles, https response error StatusCode: 403, RequestID: 08187f7f-4c79-4c25-9de8-a782098b5859, api error InvalidClientTokenId: The security token included in the request is invalid.
exit status 1
billowy-army-68599
04/20/2022, 9:04 AMworried-terabyte-60325
04/20/2022, 9:17 AMbillowy-army-68599
04/20/2022, 9:19 AMpulumi up
worried-terabyte-60325
04/20/2022, 9:21 AMbillowy-army-68599
04/20/2022, 9:21 AMpulumi config aws:accessKey <key>
pulumi config aws:secretKey <key> --secret
worried-terabyte-60325
04/20/2022, 9:25 AMAWS_PROFILE=minio
, that didn't work.billowy-army-68599
04/20/2022, 9:26 AMworried-terabyte-60325
04/20/2022, 9:27 AMbillowy-army-68599
04/20/2022, 9:28 AM[minio]
aws_access_key_id = xxx
aws_secret_access_key = xxx
[aws]
aws_access_key_id = xxx
aws_secret_access_key = xxx
And then do:
pulumi config set aws:profile aws
and then do:
AWS_PROFILE=minio pulumi up
worried-terabyte-60325
04/20/2022, 9:35 AMbillowy-army-68599
04/20/2022, 9:35 AMworried-terabyte-60325
04/20/2022, 9:35 AM