canonical / terraform-provider-maas

Terraform MAAS provider
Mozilla Public License 2.0
60 stars 43 forks source link

cannot update the default vlan #193

Open aym-frikha opened 2 months ago

aym-frikha commented 2 months ago

Trying to use this provider to update the default vlan that has been created automatically by MAAS. I imported it corrrectly but it imported it with vid = 0. When I try to update the default vlan or use it in my script it says: vid is required and "VID must be between 0 and 4094". When I change the VID to 1 it works

spdfnet commented 2 months ago

Sounds like you might have mistyped maas_vlan.myVlan.vid and used instead maas_vlan.myVlan.id ?

skatsaounis commented 1 month ago

Hi @aym-frikha

Can you please paste here the JSON responce of maas <profile_name> vlan read <default-fabric-name> <default-vlan-vid> and also the exact import command you are trying to run plus the resource block definition of your module?

Thank you

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 30 days with no activity.