-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Description
Terraform Version
v1.5.7
Terraform Grafana Provider Version
v4.10.0
Grafana Version
cloud
Affected Resource(s)
- grafana_data_source
Terraform Configuration Files
resource "grafana_data_source" "ds" {
type = var.datasource.type
name = var.datasource.name
uid = var.datasource.uid
url = var.datasource.url
access_mode = var.datasource.access
basic_auth_enabled = var.datasource.basicAuthEnabled
basic_auth_username = var.datasource.basicAuthUsername
database_name = var.datasource.databaseName
json_data_encoded = jsonencode(var.datasource.jsonData)
secure_json_data_encoded = jsonencode(var.datasource.secureJsonData)
private_data_source_connect_network_id = var.datasource.pdc != null ? data.azurerm_key_vault_secret.pdc[0].tags["pdc-id"] : ""
}Expected Behavior
reliable deployments
we're already using terraform apply -parallelism=1 as workaround
Actual Behavior
apply fails randomly with:
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for module.grafana_datasources["xxxxx"].grafana_data_source.ds to include new values learned so far during apply,
│ provider "registry.terraform.io/grafana/grafana" produced an invalid new value for .json_data_encoded: inconsistent values for sensitive attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Steps to Reproduce
terraform apply -parallelism=1(multiple times)- random failures
Important Factoids
No response
References
No response
Metadata
Metadata
Assignees
Labels
No labels