Skip to content

Conversation

@tobio
Copy link
Member

@tobio tobio commented Sep 18, 2025

Fixes #1232

@tobio tobio requested a review from nick-benoit September 18, 2025 05:13
@tobio tobio self-assigned this Sep 18, 2025
@gigerdo
Copy link
Member

gigerdo commented Sep 18, 2025

One thing I noticed with this is that the bug-report also includes a second bug that comes from defining vars_json = "{}",

Because this is defined as nil in the API, there will always be a diff causing the error

│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to elasticstack_fleet_integration_policy.sample_sql_input, provider "provider[\"registry.terraform.io/elastic/elasticstack\"]" produced an unexpected new value:
│ .input[0].vars_json: inconsistent values for sensitive attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

However this is a separate bug and there is a workaround which is to not define vars_json at all in terraform.

@tobio tobio merged commit ea1e9e8 into main Sep 27, 2025
54 checks passed
@tobio tobio deleted the integration-policy-ids branch September 27, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] elasticstack_fleet_integration_policy unable to handle IDs on isSecretRef

3 participants