yandex-cloud / terraform-provider-yandex

Terraform Yandex provider
https://www.terraform.io/docs/providers/yandex/
Mozilla Public License 2.0
211 stars 116 forks source link

bug with v0.101.0: provider provides an invalid plan #393

Open ExEiS09 opened 1 year ago

ExEiS09 commented 1 year ago

Good Day.

Having an issue with 0.101.0 version of provider. On all modules and all types of resources (VPC, IAM, Buckets, MDBs, Compute Instances, Managed K8S), we have the same error, like:

Error: Provider produced invalid plan
Provider "registry.terraform.io/yandex-cloud/yandex" planned an invalid
value for
module.instances.yandex_compute_instance.default["velero"].metadata_options:
block count in plan (1) disagrees with count in config (0).
This is a bug in the provider, which should be reported in the provider's
own issue tracker.

Error is from compute instance module, just for example.

On 0.97.0 version of provider all working fine.

Can you please clarify what's the major changes in v0.100.0+ and what should I do to resolve this error?

Thanks.

KoDA82 commented 12 months ago

Hi, sorry for the delay in processing. Is this issue still relevant?

ExEiS09 commented 12 months ago

Hi. Yes, it is.

For now, we are locking version of the provider on 0.97.0 (all works fine on it), but we want to have an opportunity for upgrading provider version someday in future.