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

Commit 4bb9144

Browse files
authored
Allow admin_cidr_ingress to be a list of CIDR blocks (#44)
* Allow admin_cidr_ingress to be a list of CIDR blocks * Apply auto-formatting rules
1 parent 665b610 commit 4bb9144

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

ecs/cluster/asg/ecs_asg_launch_config/variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ variable "public_ip" {
3131
}
3232

3333
variable "admin_cidr_ingress" {
34+
type = "list"
3435
description = "CIDR for SSH access to EC2 instances"
3536
}
3637

ecs/cluster/asg/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ variable "vpc_id" {
4444
}
4545

4646
variable "admin_cidr_ingress" {
47-
default = "0.0.0.0/0"
47+
type = "list"
48+
default = ["0.0.0.0/0"]
4849
description = "CIDR for SSH access to EC2 instances"
4950
}
5051

ecs/cluster/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ variable "key_name" {
77
}
88

99
variable "admin_cidr_ingress" {
10-
default = "0.0.0.0/0"
10+
type = "list"
11+
default = ["0.0.0.0/0"]
1112
description = "CIDR for SSH access to EC2 instances"
1213
}
1314

0 commit comments

Comments
 (0)