hashicorp / hashicorp/packer-plugin-amazon

amazon-import doesn't allow specifying default EBS delete-storage-on-termination

Open
#239 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
91
Forks
141
Avg merge
2d 18h
Merged PRs (30d)
3

Description

#### Description

Wasn't sure if this was a bug report but seems more like a feature request.

I didn't see any indication in the exposed options for documentation for the equivalent option for `delete_on_termination` (https://www.packer.io/plugins/builders/amazon/ebs) for **Images** (not **Instances**).

I checked in

https://www.packer.io/plugins/post-processors/amazon

and in the source

https://github.com/hashicorp/packer-plugin-amazon/blob/v1.1.1/post-processor/import/post-processor.go#L420

but so no indication that this exists.

#### Use Case(s)

Without this you are forced to spin up the image again and perform some migration steps.

#### Potential configuration

{
"type": "amazon-import",
"delete_on_termination": true,
...
}

#### Potential References

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.