Skip to content

Commit

Permalink
add variable types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennifer Valle committed May 4, 2021
1 parent a6ae769 commit cf8c2d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ variable enable_public_gateway {

variable cidr_blocks {
description = "An object containing lists of CIDR blocks. Each CIDR block will be used to create a subnet"
type = map
default = {
zone-1 = [
"10.10.10.0/28",
Expand Down Expand Up @@ -128,7 +129,8 @@ variable cidr_blocks {

variable acl_rules {
description = "Access control list rule set"
default = [
type = list
default = [
{
name = "roks-create-worker-nodes-inbound"
action = "allow"
Expand Down Expand Up @@ -311,6 +313,7 @@ variable acl_rules {

variable security_group_rules {
description = "List of security group rules to be added to default security group"
type = map
default = {
allow_all_inbound = {
source = "0.0.0.0/0"
Expand Down

0 comments on commit cf8c2d7

Please sign in to comment.