Skip to content
Snippets Groups Projects
Unverified Commit fb666c44 authored by Maxime Guyot's avatar Maxime Guyot Committed by GitHub
Browse files

Quoted type constraints are deprecated (#6497)

parent 58b5bf78
No related branches found
No related tags found
No related merge requests found
...@@ -65,39 +65,39 @@ variable "network_id" { ...@@ -65,39 +65,39 @@ variable "network_id" {
} }
variable "k8s_master_fips" { variable "k8s_master_fips" {
type = "list" type = list
} }
variable "k8s_master_no_etcd_fips" { variable "k8s_master_no_etcd_fips" {
type = "list" type = list
} }
variable "k8s_node_fips" { variable "k8s_node_fips" {
type = "list" type = list
} }
variable "k8s_nodes_fips" { variable "k8s_nodes_fips" {
type = "map" type = map
} }
variable "bastion_fips" { variable "bastion_fips" {
type = "list" type = list
} }
variable "bastion_allowed_remote_ips" { variable "bastion_allowed_remote_ips" {
type = "list" type = list
} }
variable "master_allowed_remote_ips" { variable "master_allowed_remote_ips" {
type = "list" type = list
} }
variable "k8s_allowed_remote_ips" { variable "k8s_allowed_remote_ips" {
type = "list" type = list
} }
variable "k8s_allowed_egress_ips" { variable "k8s_allowed_egress_ips" {
type = "list" type = list
} }
variable "k8s_nodes" {} variable "k8s_nodes" {}
...@@ -113,7 +113,7 @@ variable "supplementary_node_groups" { ...@@ -113,7 +113,7 @@ variable "supplementary_node_groups" {
} }
variable "worker_allowed_ports" { variable "worker_allowed_ports" {
type = "list" type = list
} }
variable "use_access_ip" {} variable "use_access_ip" {}
......
...@@ -7,7 +7,7 @@ variable "network_dns_domain" {} ...@@ -7,7 +7,7 @@ variable "network_dns_domain" {}
variable "cluster_name" {} variable "cluster_name" {}
variable "dns_nameservers" { variable "dns_nameservers" {
type = "list" type = list
} }
variable "subnet_cidr" {} variable "subnet_cidr" {}
......
...@@ -131,7 +131,7 @@ variable "network_name" { ...@@ -131,7 +131,7 @@ variable "network_name" {
variable "network_dns_domain" { variable "network_dns_domain" {
description = "dns_domain for the internal network" description = "dns_domain for the internal network"
type = "string" type = string
default = null default = null
} }
...@@ -142,13 +142,13 @@ variable "use_neutron" { ...@@ -142,13 +142,13 @@ variable "use_neutron" {
variable "subnet_cidr" { variable "subnet_cidr" {
description = "Subnet CIDR block." description = "Subnet CIDR block."
type = "string" type = string
default = "10.0.0.0/24" default = "10.0.0.0/24"
} }
variable "dns_nameservers" { variable "dns_nameservers" {
description = "An array of DNS name server names used by hosts in this subnet." description = "An array of DNS name server names used by hosts in this subnet."
type = "list" type = list
default = [] default = []
} }
...@@ -178,30 +178,30 @@ variable "supplementary_node_groups" { ...@@ -178,30 +178,30 @@ variable "supplementary_node_groups" {
variable "bastion_allowed_remote_ips" { variable "bastion_allowed_remote_ips" {
description = "An array of CIDRs allowed to SSH to hosts" description = "An array of CIDRs allowed to SSH to hosts"
type = "list" type = list(string)
default = ["0.0.0.0/0"] default = ["0.0.0.0/0"]
} }
variable "master_allowed_remote_ips" { variable "master_allowed_remote_ips" {
description = "An array of CIDRs allowed to access API of masters" description = "An array of CIDRs allowed to access API of masters"
type = "list" type = list(string)
default = ["0.0.0.0/0"] default = ["0.0.0.0/0"]
} }
variable "k8s_allowed_remote_ips" { variable "k8s_allowed_remote_ips" {
description = "An array of CIDRs allowed to SSH to hosts" description = "An array of CIDRs allowed to SSH to hosts"
type = "list" type = list(string)
default = [] default = []
} }
variable "k8s_allowed_egress_ips" { variable "k8s_allowed_egress_ips" {
description = "An array of CIDRs allowed for egress traffic" description = "An array of CIDRs allowed for egress traffic"
type = "list" type = list(string)
default = ["0.0.0.0/0"] default = ["0.0.0.0/0"]
} }
variable "worker_allowed_ports" { variable "worker_allowed_ports" {
type = "list" type = list
default = [ default = [
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment