Created
January 10, 2020 21:11
-
-
Save cgutshall/fa44bfd98edc3e68a6669285dcad288c to your computer and use it in GitHub Desktop.
terrafrom_configmap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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