diff --git a/routeros/resource_interface_ipip.go b/routeros/resource_interface_ipip.go index 8a84ebaf..8de96354 100644 --- a/routeros/resource_interface_ipip.go +++ b/routeros/resource_interface_ipip.go @@ -48,15 +48,6 @@ func ResourceInterfaceIPIP() *schema.Resource { StateContext: schema.ImportStatePassthroughContext, }, - SchemaVersion: 1, - StateUpgraders: []schema.StateUpgrader{ - { - Type: ResourceInterfaceIPIPV0().CoreConfigSchema().ImpliedType(), - Upgrade: stateMigrationNameToId(resSchema[MetaResourcePath].Default.(string)), - Version: 0, - }, - }, - Schema: resSchema, } } diff --git a/routeros/resource_interface_ipip_v0.go b/routeros/resource_interface_ipip_v0.go deleted file mode 100644 index a5a0f688..00000000 --- a/routeros/resource_interface_ipip_v0.go +++ /dev/null @@ -1,30 +0,0 @@ -package routeros - -import ( - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" -) - -func ResourceInterfaceIPIPV0() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - MetaResourcePath: PropResourcePath("/interface/IPIP"), - MetaId: PropId(Name), - - KeyActualMtu: PropActualMtuRo, - KeyAllowFastPath: PropAllowFastPathRw, - KeyClampTcpMss: PropClampTcpMssRw, - KeyComment: PropCommentRw, - KeyDisabled: PropDisabledRw, - KeyDontFragment: PropDontFragmentRw, - KeyDscp: PropDscpRw, - KeyIpsecSecret: PropIpsecSecretRw, - KeyKeepalive: PropKeepaliveRw, - KeyL2Mtu: PropL2MtuRo, - KeyLocalAddress: PropLocalAddressRw, - KeyMtu: PropMtuRw(), - KeyName: PropNameForceNewRw, - KeyRemoteAddress: PropRemoteAddressRw, - KeyRunning: PropRunningRo, - }, - } -}