From 9e4a349b199af28070c28e38da42757e4a45f5ee Mon Sep 17 00:00:00 2001 From: robertsweetman Date: Mon, 19 Feb 2024 10:32:00 +0000 Subject: [PATCH] remove provider blocks from module --- modules/imagebuilder/versions.tf | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/imagebuilder/versions.tf b/modules/imagebuilder/versions.tf index 207e63af..3b6a86b7 100644 --- a/modules/imagebuilder/versions.tf +++ b/modules/imagebuilder/versions.tf @@ -8,15 +8,15 @@ terraform { required_version = "=1.5.7" } -provider "aws" { - alias = "modernisation-platform" - region = "eu-west-2" -} +# provider "aws" { +# alias = "modernisation-platform" +# region = "eu-west-2" +# } -# AWS provider for the workspace you're working in (every resource will default to using this, unless otherwise specified) -provider "aws" { - region = "eu-west-2" - assume_role { - role_arn = "arn:aws:iam::${local.environment_management.account_ids[terraform.workspace]}:role/ModernisationPlatformAccess" - } -} \ No newline at end of file +# # AWS provider for the workspace you're working in (every resource will default to using this, unless otherwise specified) +# provider "aws" { +# region = "eu-west-2" +# assume_role { +# role_arn = "arn:aws:iam::${local.environment_management.account_ids[terraform.workspace]}:role/ModernisationPlatformAccess" +# } +# }