Skip to content

Commit

Permalink
modules/gke-nodepool: fix node default scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoo committed Feb 4, 2020
1 parent 68086d1 commit 479be4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gke-nodepool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module "cluster-1-nodepool-1" {
| *node_config_machine_type* | Nodes machine type. | <code title="">string</code> | | <code title="">n1-standard-1</code> |
| *node_config_metadata* | Metadata key/value pairs assigned to nodes. Set disable-legacy-endpoints to true when using this variable. | <code title="map&#40;string&#41;">map(string)</code> | | <code title="">null</code> |
| *node_config_min_cpu_platform* | Minimum CPU platform for nodes. | <code title="">string</code> | | <code title="">null</code> |
| *node_config_oauth_scopes* | Set of Google API scopes for the nodes service account. Include logging-write, monitoring, and storage-ro when using this variable. | <code title="list&#40;string&#41;">list(string)</code> | | <code title="">null</code> |
| *node_config_oauth_scopes* | Set of Google API scopes for the nodes service account. Include logging-write, monitoring, and storage-ro when using this variable. | <code title="list&#40;string&#41;">list(string)</code> | | <code title="">["logging-write", "monitoring-write", "storage-ro"]</code> |
| *node_config_preemptible* | Use preemptible VMs for nodes. | <code title="">bool</code> | | <code title="">null</code> |
| *node_config_sandbox_config* | GKE Sandbox configuration. Needs image_type set to COS_CONTAINERD and node_version set to 1.12.7-gke.17 when using this variable. | <code title="">string</code> | | <code title="">null</code> |
| *node_config_service_account* | Service account used for nodes. | <code title="">string</code> | | <code title="">null</code> |
Expand Down
2 changes: 1 addition & 1 deletion modules/gke-nodepool/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ variable "node_config_min_cpu_platform" {
variable "node_config_oauth_scopes" {
description = "Set of Google API scopes for the nodes service account. Include logging-write, monitoring, and storage-ro when using this variable."
type = list(string)
default = null
default = ["logging-write", "monitoring-write", "storage-ro"]
}

variable "node_config_preemptible" {
Expand Down

0 comments on commit 479be4d

Please sign in to comment.