I’m trying to use the multi profiles (around 15 - per each region). The thing is i fail with InvalidIdentityToken, this is probably because of parallel requests / or too many requests.
Terraform perform AssumeRole per profile. As i’m deploying multi region it performs too many requests
reference:
This will cause 3 assume roles:
provider "aws" {
region = "ap-northeast-2"
alias = "ap-northeast-2"
}
provider "aws" {
region = "ap-northeast-1"
alias = "ap-northeast-1"
}
provider "aws" {
region = "ap-northeast-3"
alias = "ap-northeast-3"
}
Any way to perform a retry / sleep between those assumes? any workaround?