hashicorp / hashicorp/packer-plugin-amazon

Add support for launching EC2 instances with hibernation configured

Open
#287 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
91
Forks
141
Avg merge
2d 18h
Merged PRs (30d)
3

Description

#### Community Note

Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

#### Description

Allow launching an EC2 instance with EC2 hibernation enabled.

EC2 supports launching instances that support hibernation by providing the appropriate configuration at runtime when an instance launches. The packer plugin currently does not support passing through this configuration.

#### Use Case(s)

- Greater control of instance lifecycle used for creating AWS images
- Creating images with instances with configuration parity with other EC2 instances

#### Potential configuration

```
hibernation_options {
configured = true
}
```

#### Potential References
[Hibernate your On-Demand Linux instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html)

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.