diff --git a/providers.tf b/providers.tf index 4c0b4f7..01b9fba 100644 --- a/providers.tf +++ b/providers.tf @@ -1,6 +1,6 @@ provider "aws" { alias = "bucket-replication" - region = "eu-west-2" + region = var.region assume_role { role_arn = "arn:aws:iam::${var.account_number}:role/MemberInfrastructureAccess" } diff --git a/variables.tf b/variables.tf index a199a2b..b17ee4c 100644 --- a/variables.tf +++ b/variables.tf @@ -14,3 +14,9 @@ variable "application_name" { type = string description = "Name of application" } + +variable "region" { + description = "The AWS region where resources will be created" + type = string + default = "eu-west-2" +} \ No newline at end of file