clincha-org / terraform-provider-proxmox

Terraform provider for Proxmox virtual environment
Mozilla Public License 2.0
0 stars 0 forks source link

Inconsistent netmask after apply #4

Closed clincha closed 5 months ago

clincha commented 5 months ago

When I set the netmask to be "255.255.255.0" (Subnet mask notation) the API returns the netmask in CIDR notation (/24). This causes an error in Terraform.

╷
│ Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to proxmox_network.vmbr88, provider
│ "provider[\"hashicorp.com/edu/proxmox\"]" produced an unexpected new value:
│ .netmask: was cty.StringVal("255.255.255.0"), but now cty.StringVal("24").
│ 
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵