hashicorp / hashicorp/packer-plugin-amazon

Accept `user-data` as a json object

Open
#6 0 comments 1 reaction 0 assignees View on GitHub
bug builder/amazon enhancement good first issue
Dominant language
Go
Stars
91
Forks
141
Avg merge
2d 18h
Merged PRs (30d)
3

Description

_This issue was originally opened by @curiositycasualty as hashicorp/packer#9235. It was migrated here as a result of the [Packer plugin split](https://github.com/hashicorp/packer/issues/8610#issuecomment-770034737). The original body of the issue is below._


#### Feature Description
The amazon-* builders only accept `user-data` as a string. I'd much prefer if packer accepted a json object and rendered it as a string for AWS's sake OR explicitly accepted a "cloud_init_user_data" param that would render as yaml (including the mandatory first "#cloud-config" line). Do so would force JSON compliance on the contents of the param and aid in `cloud-init` configuration.

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.