[bug] Unable to Deploy to AWS
See original GitHub issueDescribe the bug
I’m getting the following error:
error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
Reproducible Example:
export GITHUB_USERNAME=“”
export GITHUB_TOKEN=“”
export AWS_ACCESS_KEY_ID=“”
export AWS_SECRET_ACCESS_KEY=“”
export CLOUDFLARE_TOKEN=“”
qhub init aws
qhub deploy -c qhub-config.yaml --dns-provider cloudflare --dns-auto-provision
Full Error:
INFO:qhub.provider.terraform:terraform init took 21.004 [s]
INFO:qhub.provider.terraform:rm local state file terraform.tfstate directory=terraform-state
INFO:qhub.provider.terraform:terraform import directory=terraform-state addr=module.terraform-state.aws_s3_bucket.terraform-state id=daskhub-dev-terraform-state
INFO:qhub.provider.terraform: terraform at /var/folders/wf/_b6z5_fx7gb71f96vy026vrr0000gn/T/terraform/0.14.9/terraform
[terraform]:
[terraform]: Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
[terraform]: status code: 403, request id: a28c0f32-1283-4e05-a0a1-0da3df0fa985
[terraform]:
[terraform]: on /Users/rhun/PycharmProjects/qhub-test/terraform-state/main.tf line 1, in provider "aws":
[terraform]: 1: provider "aws" {
[terraform]:
[terraform]:
INFO:qhub.provider.terraform:terraform apply directory=terraform-state targets=[]
INFO:qhub.provider.terraform: terraform at /var/folders/wf/_b6z5_fx7gb71f96vy026vrr0000gn/T/terraform/0.14.9/terraform
[terraform]:
[terraform]: Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
[terraform]: status code: 403, request id: 29ddaf82-5d11-42dc-b967-574896af8b7b
[terraform]:
[terraform]: on main.tf line 1, in provider "aws":
[terraform]: 1: provider "aws" {
[terraform]:
[terraform]:
Problem encountered: Terraform error
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
Troubleshoot EC2/On-Premises deployment issues
Troubleshoot deployment issues you might encounter when you use CodeDeploy to deploy to an EC2/On-Premises compute platform.
Read more >BUG: Unable to deploy new version once PIDs go over 2^ ...
Bug report: when PIDs go over 2^16 (~65k) and don't fit on a uint16 , deployments of new versions of my Docker image...
Read more >General Issues - AWS .NET deployment tool
Why this is happening: This error could happen for a variety of reasons, such as the application failing its initial health check or...
Read more >Bug #1860083 “failed to deploy bundle with “suitable ...
It looks like when the order of machines list is not in order for zones, it fails to deploy the machines with an...
Read more >Unable to Deploy AWS Lambda Service - Backendless Support
Unable to Deploy AWS Lambda Service · Bug · Giridhar_Duggirala (Giridhar Duggirala) September 1, 2020, 2:04am #1. Application ID: 56B058BD-D883-FCDC-FF12- ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @iameskild - I think it worked.
I have just deployed a Qhub 0.3.12 on AWS and didn’t encounter this issue.