https://pulumi.com logo
#general
Title
# general
h

helpful-account-44059

07/13/2022, 7:27 AM
Hi, when i execute
pulumi refresh
, i got these errors, i'm sure i have the correct aws profile config
Copy code
aws:ec2:SecurityGroup (relation-nodeSecurityGroup):
    error: Preview failed: 1 error occurred:
    	* error configuring Terraform AWS Provider: 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: 3 errors occurred:
    	* failed getting account information via iam:GetUser: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
    	status code: 403, request id: 34fa5f6b-9d3a-420a-a840-3c5a1c0a1cc2
    	* error calling sts:GetCallerIdentity: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
    	status code: 403, request id: 64751105-14bb-40e7-b12d-2b94e75a9280
    	* failed getting account information via iam:ListRoles: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
    	status code: 403, request id: 70da462e-b97e-42f2-a389-62147dd6c695
a

alert-spoon-97538

07/13/2022, 5:34 PM
not sure if you're using multiple profiles but I was running into this a lot until I deleted my 'default' profile
👍 1
l

lemon-church-28946

07/13/2022, 7:41 PM
Same as @alert-spoon-97538. Found the easiest way around the issue was to set specific config values. Specifically these: •
aws:region
aws:accessKey
aws:secretKey
3 Views