green-daybreak-91402
04/27/2022, 10:30 PMerror configuring Terraform AWS Provider: failed to get shared config profile,
I am able to run preview, refresh and deploy locally with no issues. I have checked the correct AWS Credentials and Pulumi Access Token are being passed to the GH Actions workflow. Anyone seen and fixed this error before?billowy-army-68599
aws sts get-caller-identity
work? is it a self hosted runner?green-daybreak-91402
04/27/2022, 10:35 PM- uses: <docker://pulumi/actions>
with:
args: preview
env:
PULUMI_CI: pr
PULUMI_ROOT: infra
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
and in previous steps we are setting teh env variable values from GH secretsbillowy-army-68599
aws sts get-caller-identity
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
${{ env.AWS_ACCESS_KEY_ID }}
green-daybreak-91402
04/27/2022, 10:38 PMenv.
aws sts get-caller-identity
high-morning-17948
04/27/2022, 10:53 PMpulumi:pulumi:Stack hyperion-api-dev running error: Error: invocation of aws:iam/getAccountAlias:getAccountAlias returned an error: 1 error occurred:
billowy-army-68599
green-daybreak-91402
04/27/2022, 11:24 PMuses: pulumi/actions@v3
we were previously using:
uses: <docker://pulumi/actions>
"@pulumi/aws": "^5.3.0",
"@pulumi/awsx": "^0.40.0",
"@pulumi/pulumi": "^3.30.0",
"@pulumi/random": "^4.5.0",
we reverted and it works as before…billowy-army-68599
green-daybreak-91402
04/27/2022, 11:56 PMbillowy-army-68599
green-daybreak-91402
04/27/2022, 11:59 PM