elastic / terraform-provider-ec

https://registry.terraform.io/providers/elastic/ec/latest/docs
Apache License 2.0
176 stars 89 forks source link

Elasticsearch trust settings: Only add them to the update payload if there are changes. #859

Closed gigerdo closed 2 months ago

gigerdo commented 2 months ago

The trust setting should only be added to the payload when they change. If they are left out of the payload, no changes to the trust will be made.

This is a partial fix/workaround for https://github.com/elastic/terraform-provider-ec/issues/842

Description

Related Issues

https://github.com/elastic/terraform-provider-ec/issues/842

Motivation and Context

How Has This Been Tested?

Types of Changes

Readiness Checklist