Skip to content

[Bug]: Volume attachment "config_id" is missing, may cause Volume resource creation to fail if Instance has multiple config #2075

@PierreBeucher

Description

@PierreBeucher

I'm trying to create a linode_volume for an Instance with multiple linode_instance_config, but it fails with error such as:

  linode:index:Volume (test-instance-xxx):
    error: Failed to Attach Volume 123456 to Linode 123456: [400] [config_id] Couldn't choose a configuration profile to add this volume to. Please add this volume to the configuration profile you want.

This happens when instance has never been booted, eg. using booted = false. When instance has been booted at least once, volume is attached on latest used instance_config which prevent user from choosing the instance_config on which volume is finally attached.

instance_config parameter is mentioned on Volume attachment API but there's no input on linode_volume resource. Is it possible to add it?

Note: issue originally created on Pulumi provider based on this one

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions