Skip to content

Commit

Permalink
[BV-599] Write cluster metadata in a local file (#670)
Browse files Browse the repository at this point in the history
write cluster metadata in a local file
  • Loading branch information
Franr authored Dec 30, 2024
1 parent a51e6ab commit 8f22e6f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
19 changes: 19 additions & 0 deletions apps-devstg/us-east-1/k8s-eks-demoapps/cluster/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,14 @@ module "cluster-aws-auth" {

depends_on = [module.cluster]
}

resource "local_file" "metadata" {
content = <<EOT
type: k8s-eks-cluster
data:
region: ${var.region}
cluster_name: ${module.cluster.cluster_name}
profile: ${var.profile}
EOT
filename = "${path.module}/cluster.yaml"
}

0 comments on commit 8f22e6f

Please sign in to comment.