mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
testing initial work now
This commit is contained in:
16
outputs.tf
16
outputs.tf
@@ -10,31 +10,31 @@ output "kubeconfig" {
|
||||
|
||||
output "cluster_id" {
|
||||
description = "The name of the cluster."
|
||||
value = "${aws_eks_cluster.demo.id}"
|
||||
value = "${aws_eks_cluster.this.id}"
|
||||
}
|
||||
|
||||
# Though documented: not yet supported
|
||||
# Though documented, not yet supported
|
||||
# output "cluster_arn" {
|
||||
# description = "The Amazon Resource Name (ARN) of the cluster."
|
||||
# value = "${aws_eks_cluster.demo.arn}"
|
||||
# value = "${aws_eks_cluster.this.arn}"
|
||||
# }
|
||||
|
||||
output "cluster_certificate_authority_data" {
|
||||
description = "Nested attribute containing certificate-authority-data for your cluster. Tis is the base64 encoded certificate data required to communicate with your cluster."
|
||||
value = "${aws_eks_cluster.demo.certificate_authority.0.data}"
|
||||
value = "${aws_eks_cluster.this.certificate_authority.0.data}"
|
||||
}
|
||||
|
||||
output "cluster_endpoint" {
|
||||
description = "The endpoint for your Kubernetes API server."
|
||||
value = "${aws_eks_cluster.demo.endpoint}"
|
||||
value = "${aws_eks_cluster.this.endpoint}"
|
||||
}
|
||||
|
||||
output "cluster_version" {
|
||||
description = "The Kubernetes server version for the cluster."
|
||||
value = "${aws_eks_cluster.demo.version}"
|
||||
value = "${aws_eks_cluster.this.version}"
|
||||
}
|
||||
|
||||
output "cluster_vpc_config" {
|
||||
output "cluster_security_group_ids" {
|
||||
description = "description"
|
||||
value = "${aws_eks_cluster.demo.vpc_config}"
|
||||
value = "${aws_eks_cluster.this.vpc_config.0.security_group_ids}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user