Skip to content

Instantly share code, notes, and snippets.

@samof76
Created August 7, 2020 05:45
Show Gist options
  • Save samof76/12de4b62ec615a9335e71a4ca236c1e5 to your computer and use it in GitHub Desktop.
Save samof76/12de4b62ec615a9335e71a4ca236c1e5 to your computer and use it in GitHub Desktop.
09_cluster_data_setup.tf
resource "null_resource" "cluster_data_setup" {
provisioner "local-exec" {
command = "./setup.sh"
environment = {
CLUSTER_NAME = module.eks_cluster.eks_cluster_name
REGION = var.region
ARN = var.arn_name
GATEKEEPER_VERSION = var.gatekeeper_version
}
}
depends_on = [module.eks_cluster, module.eks_cluster_node, module.eks_private_link]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment