From 6a7944869642bb7c5f59ab8208c7d215acb3760a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mat=C3=ADas=20Kungfoo=20de=20la=20C=C3=A1mara=20Beo?= =?UTF-8?q?vide?= Date: Wed, 7 Sep 2022 14:06:43 -0300 Subject: [PATCH] Enhancement | Removed shared_credentials_file key from aws provider (ISSUE-92 from Leverage) (#27) --- template/management/global/base-identities/config.tf | 1 - template/management/global/organizations/config.tf | 1 - template/management/global/sso/config.tf | 1 - template/management/primary_region/base-tf-backend/config.tf | 2 -- template/management/primary_region/security-base/config.tf | 1 - template/security/global/base-identities/config.tf | 1 - template/security/primary_region/base-tf-backend/config.tf | 2 -- template/security/primary_region/security-base/config.tf | 1 - template/shared/global/base-identities/config.tf | 1 - template/shared/primary_region/base-network/config.tf | 1 - template/shared/primary_region/base-tf-backend/config.tf | 2 -- template/shared/primary_region/security-base/config.tf | 1 - 12 files changed, 15 deletions(-) diff --git a/template/management/global/base-identities/config.tf b/template/management/global/base-identities/config.tf index e7b0bf2..ccb821a 100644 --- a/template/management/global/base-identities/config.tf +++ b/template/management/global/base-identities/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/management/global/organizations/config.tf b/template/management/global/organizations/config.tf index 18753d4..f6bee6e 100644 --- a/template/management/global/organizations/config.tf +++ b/template/management/global/organizations/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/management/global/sso/config.tf b/template/management/global/sso/config.tf index bb70cd4..a0d597f 100644 --- a/template/management/global/sso/config.tf +++ b/template/management/global/sso/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/management/primary_region/base-tf-backend/config.tf b/template/management/primary_region/base-tf-backend/config.tf index 4ebc32e..3b3f4f9 100644 --- a/template/management/primary_region/base-tf-backend/config.tf +++ b/template/management/primary_region/base-tf-backend/config.tf @@ -5,14 +5,12 @@ provider "aws" { alias = "main_region" region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } provider "aws" { alias = "secondary_region" region = var.region_secondary profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } terraform { diff --git a/template/management/primary_region/security-base/config.tf b/template/management/primary_region/security-base/config.tf index 9b6d061..8022e2b 100644 --- a/template/management/primary_region/security-base/config.tf +++ b/template/management/primary_region/security-base/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/security/global/base-identities/config.tf b/template/security/global/base-identities/config.tf index d669bd4..42df49a 100644 --- a/template/security/global/base-identities/config.tf +++ b/template/security/global/base-identities/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/security/primary_region/base-tf-backend/config.tf b/template/security/primary_region/base-tf-backend/config.tf index b97db15..d182a7a 100644 --- a/template/security/primary_region/base-tf-backend/config.tf +++ b/template/security/primary_region/base-tf-backend/config.tf @@ -5,14 +5,12 @@ provider "aws" { alias = "main_region" region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } provider "aws" { alias = "secondary_region" region = var.region_secondary profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } terraform { diff --git a/template/security/primary_region/security-base/config.tf b/template/security/primary_region/security-base/config.tf index 7bbae8c..141e14b 100644 --- a/template/security/primary_region/security-base/config.tf +++ b/template/security/primary_region/security-base/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/shared/global/base-identities/config.tf b/template/shared/global/base-identities/config.tf index 71008e7..86f946f 100644 --- a/template/shared/global/base-identities/config.tf +++ b/template/shared/global/base-identities/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/shared/primary_region/base-network/config.tf b/template/shared/primary_region/base-network/config.tf index 198e650..c7cb9e0 100644 --- a/template/shared/primary_region/base-network/config.tf +++ b/template/shared/primary_region/base-network/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================# diff --git a/template/shared/primary_region/base-tf-backend/config.tf b/template/shared/primary_region/base-tf-backend/config.tf index 826115c..734e7de 100644 --- a/template/shared/primary_region/base-tf-backend/config.tf +++ b/template/shared/primary_region/base-tf-backend/config.tf @@ -5,14 +5,12 @@ provider "aws" { alias = "main_region" region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } provider "aws" { alias = "secondary_region" region = var.region_secondary profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } terraform { diff --git a/template/shared/primary_region/security-base/config.tf b/template/shared/primary_region/security-base/config.tf index 8288f97..516c3f0 100644 --- a/template/shared/primary_region/security-base/config.tf +++ b/template/shared/primary_region/security-base/config.tf @@ -4,7 +4,6 @@ provider "aws" { region = var.region profile = var.profile - shared_credentials_file = "~/.aws/${var.project}/config" } #=============================#