Created
September 20, 2022 13:37
-
-
Save semutmerah/d88de38c14a81e1586516b700ff99a5b to your computer and use it in GitHub Desktop.
datadog terraform example
This file contains hidden or 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
resource "helm_release" "datadog" { | |
name = "datadog-agent" | |
lifecycle { | |
ignore_changes = [ | |
status, | |
] | |
} | |
repository = "https://helm.datadoghq.com" | |
chart = "datadog" | |
version = "2.35.3" | |
wait_for_jobs = false | |
set { | |
name = "datadog.site" | |
value = "us5.datadoghq.com" | |
} | |
set { | |
name = "datadog.apiKey" | |
value = "censored" | |
} | |
set { | |
name = "datadog.appKey" | |
value = "censored" | |
} | |
set { | |
name = "clusterAgent.enabled" | |
value = true | |
} | |
set { | |
name = "clusterAgent.metricsProvider.enabled" | |
value = true | |
} | |
set { | |
name = "clusterAgent.admissionController.enabled" | |
value = true | |
} | |
set { | |
name = "providers.gke.autopilot" | |
value = true | |
} | |
set { | |
name = "datadog.logs.enabled" | |
value = true | |
} | |
set { | |
name = "datadog.logs.containerCollectAll" | |
value = true | |
} | |
set { | |
name = "datadog.apm.portEnabled" | |
value = true | |
} | |
set { | |
name = "datadog.kubeStateMetricsEnabled" | |
value = false | |
} | |
set { | |
name = "datadog.kubeStateMetricsCore.enabled" | |
value = true | |
} | |
set { | |
name = "datadog.tags" | |
value = "env:percobaan" | |
} | |
set { | |
name = "datadog.dogstatsd.tags" | |
value = "env:percobaan" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment