Skip to content

Instantly share code, notes, and snippets.

@maguro
Created June 6, 2019 16:18
Show Gist options
  • Save maguro/64e41f8fdb96e9199ad4a12162b47e6a to your computer and use it in GitHub Desktop.
Save maguro/64e41f8fdb96e9199ad4a12162b47e6a to your computer and use it in GitHub Desktop.
terraform plan output
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.foo.google_container_cluster.foo-cluster will be updated in-place
~ resource "google_container_cluster" "foo-cluster" {
additional_zones = []
cluster_ipv4_cidr = "10.x.x.x/14"
default_max_pods_per_node = 110
enable_binary_authorization = false
enable_kubernetes_alpha = false
enable_legacy_abac = false
enable_tpu = false
endpoint = "35.x.x.x"
id = "tf-foo-prod"
initial_node_count = 0
instance_group_urls = [
"https://www.googleapis.com/compute/v1/projects/X/zones/us-west1-a/instanceGroups/gke-tf-foo-prod-default-pool-x-grp",
"https://www.googleapis.com/compute/v1/projects/X/zones/us-west1-a/instanceGroups/gke-tf-foo-prod-foo-pool-x-grp",
]
ip_allocation_policy = []
location = "us-west1-a"
logging_service = "logging.googleapis.com"
master_version = "1.13.6-gke.5"
min_master_version = "1.13.6-gke.5"
monitoring_service = "monitoring.googleapis.com"
name = "tf-foo-prod"
network = "projects/Z/global/networks/default"
node_locations = []
node_version = "1.13.6-gke.5"
project = "Z"
resource_labels = {}
services_ipv4_cidr = "10.x.x.x/20"
zone = "us-west1-a"
~ addons_config {
cloudrun_config {
disabled = false
}
http_load_balancing {
disabled = false
}
~ istio_config {
+ auth = "AUTH_NONE"
disabled = false
}
kubernetes_dashboard {
disabled = true
}
network_policy_config {
disabled = true
}
}
cluster_autoscaling {
enabled = false
}
database_encryption {
state = "DECRYPTED"
}
master_auth {
cluster_ca_certificate = "redacted"
client_certificate_config {
issue_client_certificate = false
}
}
network_policy {
enabled = false
provider = "PROVIDER_UNSPECIFIED"
}
node_config {
disk_size_gb = 100
disk_type = "pd-standard"
guest_accelerator = []
image_type = "COS"
labels = {}
local_ssd_count = 0
machine_type = "n1-standard-1"
metadata = {
"disable-legacy-endpoints" = "true"
}
oauth_scopes = [
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/trace.append",
]
preemptible = false
service_account = "default"
tags = []
}
node_pool {
initial_node_count = 0
instance_group_urls = [
"https://www.googleapis.com/compute/v1/projects/Z/zones/us-west1-a/instanceGroupManagers/gke-tf-foo-prod-default-pool-x-grp",
]
max_pods_per_node = 0
name = "default-pool"
node_count = 0
version = "1.13.6-gke.5"
management {
auto_repair = false
auto_upgrade = false
}
node_config {
disk_size_gb = 100
disk_type = "pd-standard"
guest_accelerator = []
image_type = "COS"
labels = {}
local_ssd_count = 0
machine_type = "n1-standard-1"
metadata = {
"disable-legacy-endpoints" = "true"
}
oauth_scopes = [
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/trace.append",
]
preemptible = false
service_account = "default"
tags = []
}
}
node_pool {
initial_node_count = 2
instance_group_urls = [
"https://www.googleapis.com/compute/v1/projects/Z/zones/us-west1-a/instanceGroupManagers/gke-tf-foo-prod-foo-pool-x-grp",
]
max_pods_per_node = 0
name = "foo-pool"
node_count = 2
version = "1.13.6-gke.5"
management {
auto_repair = false
auto_upgrade = false
}
node_config {
disk_size_gb = 100
disk_type = "pd-standard"
guest_accelerator = []
image_type = "COS"
labels = {
"service" = "foo"
}
local_ssd_count = 0
machine_type = "n1-standard-1"
metadata = {
"disable-legacy-endpoints" = "true"
}
oauth_scopes = [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/trace.append",
]
preemptible = false
service_account = "default"
tags = [
"foo",
]
}
}
}
Plan: 0 to add, 1 to change, 0 to destroy.
------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment