Skip to content

Instantly share code, notes, and snippets.

@samof76
Last active August 7, 2020 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samof76/4d36818c392807526a1c2763c02d79ee to your computer and use it in GitHub Desktop.
Save samof76/4d36818c392807526a1c2763c02d79ee to your computer and use it in GitHub Desktop.
10_update_cluster_configuration_17.tf
resource "null_resource" "update_cluster_configuration_1" {
provisioner "local-exec" {
command = "./update.sh"
environment = { CLUSTER_NAME = module.eks_cluster.eks_cluster_name
REGION = var.region
ARN = var.arn_name
TFE_CIDR = var.tfe_cidr
ECR_URL = var.utils_image_ecr_url
KEYMAKER_VERSION = var.keymaker_version
GATEKEEPER_VERSION = var.gatekeeper_version
DEBUG_AGENT_VERSION = var.debug_agent_version
ENABLE_MONITORING = var.enable_monitoring
ENABLE_LOGGING = var.enable_logging
}
}
depends_on = [null_resource.cluster_data_setup]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment