Open bwagner5 opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want this issue to never become stale, please ask a maintainer to apply the "stalebot-ignore" label.
If all the data is available, cloud-init will dump it w/ this CLI command: https://cloudinit.readthedocs.io/en/latest/topics/cli.html#:~:text=dump%3A%20machine%2Dreadable%20JSON%20dump%20of%20all%20cloud%2Dinit%20tracked%20events
cloud-init analyze dump
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want this issue to never become stale, please ask a maintainer to apply the "stalebot-ignore" label.
Describe the feature A concise description of the feature and desired behavior.
AL2 dumps all the metadata to a file on the instance which is useful for looking at what's available globally or for quick access without having to use HTTP (or for when the metadata endpoint is restricted).
It would be useful to be able to generate this file with ec2-metadata-mock.
Is the feature request related to a problem? A description of what the problem is. For example: I'm frustrated when [...]
It may be desirable to rely on this file instead of using an HTTP client to receive metadata for various reasons. So making it easier to test with this file is useful.
Describe alternatives you've considered A description of any alternative solutions or features you've considered.
Could construct this manually, but it's a pain.