From 41ef1894c0c5db4f6cf7831e8150b9d2d6c9c25c Mon Sep 17 00:00:00 2001 From: Blair MacNeil Date: Mon, 10 Jul 2023 15:45:40 -0400 Subject: [PATCH] fix(SRE-11680): downgrade aws provider to 4.41 (#603) --- examples/arm64/versions.tf | 5 +++-- examples/default/versions.tf | 5 +++-- examples/ephemeral/versions.tf | 5 +++-- examples/permissions-boundary/setup/versions.tf | 5 +++-- examples/permissions-boundary/versions.tf | 5 +++-- examples/prebuilt/versions.tf | 5 +++-- examples/ubuntu/versions.tf | 5 +++-- examples/windows/versions.tf | 5 +++-- modules/download-lambda/versions.tf | 5 +++-- modules/runner-binaries-syncer/versions.tf | 5 +++-- modules/runners/versions.tf | 5 +++-- modules/setup-iam-permissions/versions.tf | 5 +++-- modules/ssm/versions.tf | 5 +++-- modules/webhook/versions.tf | 5 +++-- versions.tf | 5 +++-- 15 files changed, 45 insertions(+), 30 deletions(-) diff --git a/examples/arm64/versions.tf b/examples/arm64/versions.tf index cc8fa2b744..a9b703ec65 100644 --- a/examples/arm64/versions.tf +++ b/examples/arm64/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } local = { source = "hashicorp/local" diff --git a/examples/default/versions.tf b/examples/default/versions.tf index df1083934a..7a4b473bb4 100644 --- a/examples/default/versions.tf +++ b/examples/default/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } local = { source = "hashicorp/local" diff --git a/examples/ephemeral/versions.tf b/examples/ephemeral/versions.tf index df1083934a..7a4b473bb4 100644 --- a/examples/ephemeral/versions.tf +++ b/examples/ephemeral/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } local = { source = "hashicorp/local" diff --git a/examples/permissions-boundary/setup/versions.tf b/examples/permissions-boundary/setup/versions.tf index 67c5886f74..a3189b5815 100644 --- a/examples/permissions-boundary/setup/versions.tf +++ b/examples/permissions-boundary/setup/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } required_version = ">= 1" diff --git a/examples/permissions-boundary/versions.tf b/examples/permissions-boundary/versions.tf index df1083934a..7a4b473bb4 100644 --- a/examples/permissions-boundary/versions.tf +++ b/examples/permissions-boundary/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } local = { source = "hashicorp/local" diff --git a/examples/prebuilt/versions.tf b/examples/prebuilt/versions.tf index df1083934a..7a4b473bb4 100644 --- a/examples/prebuilt/versions.tf +++ b/examples/prebuilt/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } local = { source = "hashicorp/local" diff --git a/examples/ubuntu/versions.tf b/examples/ubuntu/versions.tf index df1083934a..7a4b473bb4 100644 --- a/examples/ubuntu/versions.tf +++ b/examples/ubuntu/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } local = { source = "hashicorp/local" diff --git a/examples/windows/versions.tf b/examples/windows/versions.tf index df1083934a..7a4b473bb4 100644 --- a/examples/windows/versions.tf +++ b/examples/windows/versions.tf @@ -1,8 +1,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } local = { source = "hashicorp/local" diff --git a/modules/download-lambda/versions.tf b/modules/download-lambda/versions.tf index 25b092757b..abe77662b8 100644 --- a/modules/download-lambda/versions.tf +++ b/modules/download-lambda/versions.tf @@ -3,8 +3,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } } diff --git a/modules/runner-binaries-syncer/versions.tf b/modules/runner-binaries-syncer/versions.tf index 25b092757b..abe77662b8 100644 --- a/modules/runner-binaries-syncer/versions.tf +++ b/modules/runner-binaries-syncer/versions.tf @@ -3,8 +3,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } } diff --git a/modules/runners/versions.tf b/modules/runners/versions.tf index 25b092757b..abe77662b8 100644 --- a/modules/runners/versions.tf +++ b/modules/runners/versions.tf @@ -3,8 +3,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } } diff --git a/modules/setup-iam-permissions/versions.tf b/modules/setup-iam-permissions/versions.tf index 25b092757b..abe77662b8 100644 --- a/modules/setup-iam-permissions/versions.tf +++ b/modules/setup-iam-permissions/versions.tf @@ -3,8 +3,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } } diff --git a/modules/ssm/versions.tf b/modules/ssm/versions.tf index 25b092757b..abe77662b8 100644 --- a/modules/ssm/versions.tf +++ b/modules/ssm/versions.tf @@ -3,8 +3,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } } diff --git a/modules/webhook/versions.tf b/modules/webhook/versions.tf index 25b092757b..abe77662b8 100644 --- a/modules/webhook/versions.tf +++ b/modules/webhook/versions.tf @@ -3,8 +3,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } } diff --git a/versions.tf b/versions.tf index 62628b9757..5577ac98e7 100644 --- a/versions.tf +++ b/versions.tf @@ -3,8 +3,9 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = ">= 5" + source = "hashicorp/aws", + version = "~> 4.41" + ## https://github.com/hashicorp/terraform-provider-aws/issues/31633 } } }