Skip to content

Commit

Permalink
Output internal_v4_endpoint of cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
alxrem committed Mar 15, 2021
1 parent 917026f commit 45aaaf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ value is a map of node group attributes.
| cluster\_ca\_certificate | PEM-encoded public certificate that is the root of trust for<br>the Kubernetes cluster. |
| cluster\_id | ID of a new Kubernetes cluster. |
| external\_v4\_endpoint | An IPv4 external network address that is assigned to the master. |
| internal\_v4\_endpoint | An IPv4 internal network address that is assigned to the master. |
| node\_groups | Attributes of yandex\_node\_group resources created in cluster |
| node\_service\_account\_id | ID of service account to be used by the worker nodes of the Kubernetes cluster<br>to access Container Registry or to push node logs and metrics |
| service\_account\_id | ID of service account used for provisioning Compute Cloud and VPC resources<br>for Kubernetes cluster |
Expand Down
6 changes: 6 additions & 0 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ output "external_v4_endpoint" {
value = yandex_kubernetes_cluster.cluster.master[0].external_v4_endpoint
}

output "internal_v4_endpoint" {
description = "An IPv4 internal network address that is assigned to the master."

value = yandex_kubernetes_cluster.cluster.master[0].internal_v4_endpoint
}

output "cluster_ca_certificate" {
description = <<-EOF
PEM-encoded public certificate that is the root of trust for
Expand Down

0 comments on commit 45aaaf2

Please sign in to comment.