Difference between revisions of "The security token included in the request is invalid"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
  Error: configuring Terraform AWS Provider: validating provider credentials:  
 
  Error: configuring Terraform AWS Provider: validating provider credentials:  
  retrieving caller identity from STS: operation error STS: [[GetCallerIdentity]], https  
+
  retrieving caller identity from [[STS]]: [[operation error STS]]: [[GetCallerIdentity]], https  
 
  response error StatusCode: 403, RequestID: 12345, api  
 
  response error StatusCode: 403, RequestID: 12345, api  
 
  error [[InvalidClientTokenId]]: The security token included in the request is invalid
 
  error [[InvalidClientTokenId]]: The security token included in the request is invalid
 +
 +
│  with provider["[[registry.terraform.io/hashicorp/aws]]"],
 +
│  on main.tf line 4, in provider "was":
 +
│    4: provider "aws" {
 +
 +
 +
Solution: Do not use default profile in [[~/.aws/config]]
 +
KO: Solution: verify region in [[variables.tf]] match your [[~/.aws/config]] region
 +
 +
An error occurred ([[UnrecognizedClientException]]) when calling the DescribeCluster operation: The security token included in the request is invalid
 +
 +
 +
An error occurred ([[InvalidClientTokenId]]) when calling the GetSessionToken operation: The security token included in the request is invalid
  
 
== Related ==
 
== Related ==

Latest revision as of 23:12, 11 February 2024

Error: configuring Terraform AWS Provider: validating provider credentials: 
retrieving caller identity from STS: operation error STS: GetCallerIdentity, https 
response error StatusCode: 403, RequestID: 12345, api 
error InvalidClientTokenId: The security token included in the request is invalid

│   with provider["registry.terraform.io/hashicorp/aws"],
│   on main.tf line 4, in provider "was":
│    4: provider "aws" {
│
Solution: Do not use default profile in ~/.aws/config
KO: Solution: verify region in variables.tf match your ~/.aws/config region 
An error occurred (UnrecognizedClientException) when calling the DescribeCluster operation: The security token included in the request is invalid


An error occurred (InvalidClientTokenId) when calling the GetSessionToken operation: The security token included in the request is invalid

Related[edit]

See also[edit]

Advertising: