Created
July 27, 2021 15:48
-
-
Save jnahelou/86b8543fedf89bf0c77a338b01337124 to your computer and use it in GitHub Desktop.
code sample - grafana medium story
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
terraform { | |
required_providers { | |
grafana = { | |
source = "grafana/grafana" | |
} | |
} | |
} | |
resource "grafana_dashboard" "test" { | |
config_json = <<EOD | |
{ | |
"title": "Terraform Acceptance Test ${substr(uuid(), 0, 6)}" | |
} | |
EOD | |
lifecycle { | |
ignore_changes = [config_json] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment