vultr / terraform-provider-vultr

Terraform Vultr provider
https://www.terraform.io/docs/providers/vultr/
Mozilla Public License 2.0
190 stars 65 forks source link

Fix bug with flattening non-FerretDB DBaaS replicas #427

Closed christhemorse closed 8 months ago

christhemorse commented 8 months ago

Description

Noticed some acceptance tests failing due to a bug in the Managed Database flattenReplicas function, always trying to flatten the FerretDB credentials object even if it didn't exist. Removed it from the main map/interface block and setting that separately for the correct engine type only seems to do the trick.

Checklist: