back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_eks_cluster_auth" {
source = "./modules/aws/d/aws_eks_cluster_auth"
# name - (required) is a type of string
name = null
}
top
variable "name" {
description = "(required)"
type = string
}
top
data "aws_eks_cluster_auth" "this" {
# name - (required) is a type of string
name = var.name
}
top
output "id" {
description = "returns a string"
value = data.aws_eks_cluster_auth.this.id
}
output "token" {
description = "returns a string"
value = data.aws_eks_cluster_auth.this.token
sensitive = true
}
output "this" {
value = aws_eks_cluster_auth.this
}
top