Skip to content
This repository was archived by the owner on Feb 11, 2020. It is now read-only.

Commit 1cdd75d

Browse files
mgeerdsenkenoir
authored andcommitted
add variable efs_filesystem_id to pass it on to userdata module (#47)
1 parent 389ba79 commit 1cdd75d

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

ecs/cluster/userdata.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module "cluster_userdata" {
2-
source = "git::https://github.com/wellcometrust/terraform.git//userdata?ref=v1.0.0"
3-
cluster_name = "${aws_ecs_cluster.cluster.name}"
2+
source = "git::https://github.com/wellcometrust/terraform.git//userdata?ref=v1.0.0"
3+
cluster_name = "${aws_ecs_cluster.cluster.name}"
4+
efs_filesystem_id = "${var.efs_filesystem_id}"
45
}

ecs/cluster/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,7 @@ variable "alb_log_bucket_id" {}
6161
variable "ec2_terminating_topic_arn" {}
6262
variable "ec2_terminating_topic_publish_policy" {}
6363
variable "ec2_instance_terminating_for_too_long_alarm_arn" {}
64+
65+
variable "efs_filesystem_id" {
66+
default = "no_name_set"
67+
}

0 commit comments

Comments
 (0)