Skip to content

Commit

Permalink
add missing providers definition to the caller
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Feb 15, 2024
1 parent 124ca52 commit bb64b32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions commonimages/base/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ module "imagebuilder" {
provider "aws" {
alias = "modernisation-platform"
region = "eu-west-2"
}

provider "aws" {
region = "eu-west-2"
assume_role {
role_arn = "arn:aws:iam::${local.environment_management.account_ids[terraform.workspace]}:role/ModernisationPlatformAccess"
}
Expand Down

0 comments on commit bb64b32

Please sign in to comment.