Skip to content

Commit 748a8a2

Browse files
dploegerDennis Ploeger
authored andcommitted
fix: Set api server ip ranges to empty per default
1 parent 2c3c050 commit 748a8a2

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ The following resources are used by this module:
6060

6161
The following input variables are required:
6262

63-
### api\_server\_ip\_ranges
64-
65-
Description: The IP ranges to allow for incoming traffic to the server nodes. To disable the limitation, set an empty list as value.
66-
67-
Type: `list(string)`
68-
6963
### default\_node\_pool\_k8s\_version
7064

7165
Description: Version of kubernetes for the default node pool
@@ -130,6 +124,14 @@ Type: `string`
130124

131125
The following input variables are optional (have default values):
132126

127+
### api\_server\_ip\_ranges
128+
129+
Description: The IP ranges to allow for incoming traffic to the server nodes. To disable the limitation, set an empty list as value.
130+
131+
Type: `list(string)`
132+
133+
Default: `[]`
134+
133135
### availability\_zones
134136

135137
Description: availability zones to spread the cluster nodes across, if omitted, only one avilability zone is used

vars.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ variable "ssh_public_key" {
166166
variable "api_server_ip_ranges" {
167167
type = list(string)
168168
description = "The IP ranges to allow for incoming traffic to the server nodes. To disable the limitation, set an empty list as value."
169+
default = []
169170
}
170171

171172
variable "managed_identity_security_group" {

0 commit comments

Comments
 (0)