Skip to content

Commit 68f5b5d

Browse files
committed
Export AWS region variable
Signed-off-by: Arthur Diniz <[email protected]>
1 parent cd637f7 commit 68f5b5d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

_providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
provider "aws" {
2-
region = "ap-southeast-2"
2+
region = var.aws_region
33
}

_variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
variable "aws_region" {
2+
description = "The AWS region to deploy into (e.g. ap-southeast-2)."
3+
default = "ap-southeast-2"
4+
}
5+
6+
17
# --------------------------------------------------------------------------------------------------
28
# Variables for alarm-baseline module.
39
# --------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)