Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

PAS on AWS using tf: using Credentials.yml tf plan gives 403 #144

Open
quixoticmonk opened this issue Sep 30, 2019 · 0 comments
Open

PAS on AWS using tf: using Credentials.yml tf plan gives 403 #144

quixoticmonk opened this issue Sep 30, 2019 · 0 comments

Comments

@quixoticmonk
Copy link

  • Terraform version : 0.11.13
  • pcf tf template : latest
  • Issue : Using credentials.yml with the AWS access credentials displays the following error.

`$ ./terraform.exe plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

Error: Error refreshing state: 1 error(s) occurred:

  • provider.aws: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
    status code: 403, request id: #######`

I was able to resolve it with the AWS credentials exported using the EXPORT command and removing the credentials.yml file. Is there a certain version of tf which is needed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants