Skip to content

Commit

Permalink
remove provider blocks from module
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Feb 19, 2024
1 parent 98f79db commit 9e4a349
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions modules/imagebuilder/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
# # 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"
# }
# }

0 comments on commit 9e4a349

Please sign in to comment.