Skip to content

Instantly share code, notes, and snippets.

@cgutshall
Created January 10, 2020 21:11
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 cgutshall/fa44bfd98edc3e68a6669285dcad288c to your computer and use it in GitHub Desktop.
Save cgutshall/fa44bfd98edc3e68a6669285dcad288c to your computer and use it in GitHub Desktop.
terrafrom_configmap
provider "kubernetes" {}
resource "kubernetes_config_map" "filebeat-config" {
metadata {
name = "filebeat-config"
namespace = "kube-system"
labels = {
k8s-apps = "filebeat"
}
}
data = {
"filebeat.yml" = "${file("${path.module}/config/filebeat.yml")}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment