Skip to content

Commit 85d8d95

Browse files
committed
DOPS-101 Use interpolation for variables
Apparently, using variables without interpolation doesn't work with older terraform versions. In this case, 0.11.7.
1 parent 59441c3 commit 85d8d95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

terraform/bootstrap/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ terraform {
1010
}
1111

1212
provider "aws" {
13-
region = var.aws_region
13+
region = "${var.aws_region}"
1414
}
1515

1616
module "bootstrap" {
1717
source = "trussworks/bootstrap/aws"
1818

19-
region = var.aws_region
20-
account_alias = var.account_alias
19+
region = "${var.aws_region}"
20+
account_alias = "${var.account_alias}"
2121
dynamodb_table_name = "${var.account_alias}-state-lock"
2222
}
2323

@@ -37,5 +37,5 @@ output "user_id" {
3737

3838
output "backend_details" {
3939
description = "Details of the S3 bucket and DynamoDB tables created for backend"
40-
value = module.bootstrap
40+
value = "${module.bootstrap}"
4141
}

0 commit comments

Comments
 (0)