Skip to content

Commit

Permalink
Merge pull request #548 from terraform-routeros/issue-546
Browse files Browse the repository at this point in the history
docs(vlan-ids): Fix attribute description after schema change
  • Loading branch information
vaerh authored Aug 28, 2024
2 parents 3e96fbf + 1163868 commit 9c910f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routeros/resource_interface_bridge_vlan.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func ResourceInterfaceBridgeVlan() *schema.Resource {
Type: schema.TypeString,
},
Description: "The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range " +
"as well as comma separated values. E.g. vlan-ids=100-115,120,122,128-130.",
"as well as comma separated values. E.g. `vlan-ids=[\"100-115\",\"120\",\"122\",\"128-130\"]`.",
},
}

Expand All @@ -98,11 +98,11 @@ func ResourceInterfaceBridgeVlan() *schema.Resource {
StateContext: schema.ImportStatePassthroughContext,
},

Schema: resSchema,
Schema: resSchema,
SchemaVersion: 1,
StateUpgraders: []schema.StateUpgrader{
{
Type: ResourceInterfaceBridgeVlanV0().CoreConfigSchema().ImpliedType(),
Type: ResourceInterfaceBridgeVlanV0().CoreConfigSchema().ImpliedType(),
Upgrade: stateMigrationScalarToList("vlan_ids"),
Version: 0,
},
Expand Down

0 comments on commit 9c910f1

Please sign in to comment.