-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Upgraded provider version from 0.11.17 to 0.12.1. A previously created set of elasticstack_kibana_action_connector resources:
# Provide each Kibana Space with an Incident.io connector so that maintainers can create alerts that get sent to incident.io
resource "elasticstack_kibana_action_connector" "incident_io_connector" {
for_each = { for space in local.team_kibana_spaces : space.space_id => space }
name = "Incident.io Integration"
connector_type_id = ".webhook"
config = jsonencode({
hasAuth = false
headers = {
"Authorization": "Bearer ${local.incident_io_connector_auth_token}",
"Content-Type": "application/json"
}
url = local.incident_io_connector_endpoint
})
secrets = jsonencode({}) # Supposed to be optional, but this should make the request happy
space_id = each.value.space_id
}
A terraform plan indicated that they'd be updated in-place. For example:
# elasticstack_kibana_action_connector.incident_io_connector["devex"] will be updated in-place
~ resource "elasticstack_kibana_action_connector" "incident_io_connector" {
~ config = (sensitive value)
id = "devex/680c5301-df4d-42b2-af82-99cb2d17541e"
~ is_deprecated = false -> (known after apply)
~ is_missing_secrets = false -> (known after apply)
~ is_preconfigured = false -> (known after apply)
name = "Incident.io Integration"
# (4 unchanged attributes hidden)
}
A terraform apply fails:
Error: Provider produced inconsistent result after apply
When applying changes to
elasticstack_kibana_action_connector.incident_io_connector["devex"], provider
"provider[\"registry.terraform.io/elastic/elasticstack\"]" produced an
unexpected new value: .config: inconsistent values for sensitive attribute.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Versions (please complete the following information):
- OS: Linux
- Terraform Version 1.8.1
- Provider version 0.12.1
- Elasticsearch Version 8.17.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working