STACKITCIN-299 Hotfix add lifecycle
This commit is contained in:
parent
77a36b4bb0
commit
4fbc356cbb
1 changed files with 7 additions and 0 deletions
|
|
@ -20,6 +20,13 @@ resource "grafana_data_source" "this" {
|
|||
# Encodes initial, non-dependent JSON data.
|
||||
# Configurations that depend on other datasource UIDs will be handled separately.
|
||||
json_data_encoded = each.value.json_data != null ? jsonencode(each.value.json_data) : null
|
||||
|
||||
# ignore changes made by the _config resource
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
json_data_encoded,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
# Step 2: Apply Loki-specific 'derivedFields' configuration.
|
||||
|
|
|
|||
Loading…
Reference in a new issue