Skip to content

[Bug]: Linode Interfaces are not supported #2358

Description

@hazmeister

Terraform Version

Terraform v1.14.9 on darwin_arm64

Linode Provider Version

v3.13.0

Effected Terraform Resources

linode_instance_config

Terraform Config Files

  label     = var.name
  linode_id = linode_instance.app.id
  booted    = true
  kernel    = "linode/grub2"

  device {
    device_name = "sda"
    disk_id     = linode_instance_disk.boot.id
  }

  device {
    device_name = "sdb"
    disk_id     = linode_instance_disk.swap.id
  }

  interface {
    purpose = "public"
  }

  interface {
    purpose = "vlan"
    ipam_address = var.vlan_ipam
    label = var.vlan_label
  }
}

Debug Output

No response

Panic Output

No response

Expected Behavior

It should be possible to manage linodes after upgrading to linode interfaces using terraform.

Image

Actual Behavior

Once they're been enabled in the console for a linode instance, attempts to change interfaces are given a 400 error:

Error: failed to update instance config: [400] [interfaces] Option cannot be set on a Linode that is configured to use Linode Interfaces

Steps to Reproduce

Create a linode using terraform including a linode_instance_config which configures a single public interface. From the console, upgrade to Linode Interfaces. Then attempt to make changes to an interface, like adding a VLAN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugissues that report a bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions