From bded5a8092a8717ec7f361060e990e0103df7cc0 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Tue, 13 Dec 2022 13:52:40 +0000 Subject: [PATCH 1/2] Remove deprecated attribute --- test/unit-test/providers.tf | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/unit-test/providers.tf b/test/unit-test/providers.tf index 5e63b8b..5ec1f94 100644 --- a/test/unit-test/providers.tf +++ b/test/unit-test/providers.tf @@ -10,14 +10,12 @@ provider "aws" { provider "aws" { alias = "testing-ci-user" region = "eu-west-2" - skip_get_ec2_platforms = true } # AWS provider for core-vpc-, to share VPCs into this account provider "aws" { alias = "core-vpc" region = "eu-west-2" - skip_get_ec2_platforms = true assume_role { role_arn = "arn:aws:iam::${local.environment_management.account_ids[local.provider_name]}:role/member-delegation-${local.vpc_name}-${local.environment}" } @@ -27,7 +25,6 @@ provider "aws" { provider "aws" { alias = "core-network-services" region = "eu-west-2" - skip_get_ec2_platforms = true assume_role { role_arn = "arn:aws:iam::${local.environment_management.account_ids["core-network-services-production"]}:role/modify-dns-records" } From 59c3f2786d63dece84201c6dd010308db8b76fc9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 13 Dec 2022 13:54:37 +0000 Subject: [PATCH 2/2] Commit changes made by code formatters --- test/unit-test/providers.tf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/unit-test/providers.tf b/test/unit-test/providers.tf index 5ec1f94..555040c 100644 --- a/test/unit-test/providers.tf +++ b/test/unit-test/providers.tf @@ -8,14 +8,14 @@ provider "aws" { # AWS provider for the testing-ci user (testing-test account), to get things from there if required provider "aws" { - alias = "testing-ci-user" - region = "eu-west-2" + alias = "testing-ci-user" + region = "eu-west-2" } # AWS provider for core-vpc-, to share VPCs into this account provider "aws" { - alias = "core-vpc" - region = "eu-west-2" + alias = "core-vpc" + region = "eu-west-2" assume_role { role_arn = "arn:aws:iam::${local.environment_management.account_ids[local.provider_name]}:role/member-delegation-${local.vpc_name}-${local.environment}" } @@ -23,8 +23,8 @@ provider "aws" { # AWS provider for network services to enable dns entries for certificate validation to be created provider "aws" { - alias = "core-network-services" - region = "eu-west-2" + alias = "core-network-services" + region = "eu-west-2" assume_role { role_arn = "arn:aws:iam::${local.environment_management.account_ids["core-network-services-production"]}:role/modify-dns-records" }