selectel / terraform-provider-selectel

Terraform Selectel provider
https://www.terraform.io/docs/providers/selectel/
Mozilla Public License 2.0
42 stars 32 forks source link

volume_type conflicts with "local_type = false" in mks nodegroup #300

Open MaxOinRU opened 1 month ago

MaxOinRU commented 1 month ago

Terraform Version

Terraform v1.7.4

Affected Resource(s)

Terraform Configuration Files

resource "selectel_mks_nodegroup_v1" "nodegroup_1" {
  ...
  volume_gb           = 50
  local_volume        = false
  volume_type         = fast.ru-7b
  ...
}  

Expected Behavior

local_volume = false don`t conflicts with not null volume_type

Actual Behavior

│ Error: Conflicting configuration arguments
│ 
│   with module.kubernetes_nodegroup_with_flavour.selectel_mks_nodegroup_v1.nodegroup_1,
│   on ../../terraform/global_router/modules/mks/nodegroup/main.tf line 16, in resource "selectel_mks_nodegroup_v1" "nodegroup_1":
│   16:   volume_type         = "fast.ru-7b"
│ 
│ "volume_type": conflicts with local_volume

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. Set local_volume = false, and not null volume_type
  2. terraform plan
TawR1024 commented 1 month ago

@MaxOinRU, hi, please specify which version of terraform-provider-selectel do you use ?

MaxOinRU commented 1 month ago

@MaxOinRU, hi, please specify which version of terraform-provider-selectel do you use ?

@TawR1024, version 4.1.1