tf/modules/swarm/grafana/config.tf

9 lines
244 B
Terraform
Raw Permalink Normal View History

resource "docker_config" "grafana" {
name = "grafana-ini-${replace(timestamp(), ":", ".")}"
data = base64encode(file("${path.module}/cfg/grafana.ini"))
lifecycle {
ignore_changes = [name]
create_before_destroy = true
}
2024-01-25 19:25:52 +01:00
}