Closed
Description
Use aws credential like below,
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-session-token: ${{secrets.AWS_SESSION_TOKEN}}
aws-region: cn-northwest-1
Got below error,
Run aws-actions/configure-aws-credentials@v1
##[error]Inaccessible host: `sts.cn-northwest-1.amazonaws.com'. This service may not be available in the `cn-northwest-1' region.
According to the doc of AWS China region, the correct endpoint of STS in China region is sts.cn-northwest-1.amazonaws.com.cn
. Of course, cn-northwest-1
will be replaced as cn-north-1
in BJS region.
Metadata
Metadata
Assignees
Labels
No labels