Skip to content

Question: Change size of volumes getting attached when launching EC2 using an AMI that has multiple volumes #363

@lnkrishnan

Description

@lnkrishnan

We have a use-case where the AMI prepped by our team has multiple volumes created with varying sizes to satisfy CIS-Compliant Partition sizing requirements.

When spinning up via the EC2 console we get the option to set the volume sizes appropriately as/if required.

Is this possible with terraform and this EC2 module? I tried poking around with creating volumes and attachments based on the example, but as expected, the EC2 service fails saying that there is already a volume at the specified mount point (automatically attached as part of spinning up the EC2 via the module).

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