Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed pinned provider version & increased max_retries for Secure Baselines #6598

Merged
merged 5 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions terraform/environments/bootstrap/secure-baselines/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,39 @@ provider "aws" {

# Region specific providers for the workspace. Required for bootstrapping resources in enabled regions.
provider "aws" {
alias = "workspace-eu-central-1"
region = "eu-central-1"
alias = "workspace-eu-central-1"
region = "eu-central-1"
max_retries = 100

assume_role {
role_arn = "arn:aws:iam::${local.environment_management.account_ids[terraform.workspace]}:role/ModernisationPlatformAccess"
}
}

provider "aws" {
alias = "workspace-eu-west-1"
region = "eu-west-1"
alias = "workspace-eu-west-1"
region = "eu-west-1"
max_retries = 100

assume_role {
role_arn = "arn:aws:iam::${local.environment_management.account_ids[terraform.workspace]}:role/ModernisationPlatformAccess"
}
}

provider "aws" {
alias = "workspace-eu-west-2"
region = "eu-west-2"
alias = "workspace-eu-west-2"
region = "eu-west-2"
max_retries = 100

assume_role {
role_arn = "arn:aws:iam::${local.environment_management.account_ids[terraform.workspace]}:role/ModernisationPlatformAccess"
}
}

provider "aws" {
alias = "workspace-us-east-1"
region = "us-east-1"
alias = "workspace-us-east-1"
region = "us-east-1"
max_retries = 100

assume_role {
role_arn = "arn:aws:iam::${local.environment_management.account_ids[terraform.workspace]}:role/ModernisationPlatformAccess"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
aws = {
version = "5.38.0" #pinned temporarily due to rate limiting bug #6486
version = "~> 5.0"
source = "hashicorp/aws"
}
}
Expand Down
Loading