Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 7eaacb0

Browse files
document the available metadata categories (#1693)
Co-authored-by: Viren Nadkarni <viren.nadkarni@localstack.cloud>
1 parent a792ca6 commit 7eaacb0

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

content/en/user-guide/aws/ec2/index.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,26 @@ The token can be used in subsequent requests like so:
408408
$ curl -H "x-aws-ec2-metadata-token: <TOKEN>" -v http://169.254.169.254/latest/meta-data/
409409
{{< /command >}}
410410

411-
Currently a limited set of [metadata categories](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-categories.html) are implemented.
412-
If you would like support for more metadata categories, please make a feature request on [GitHub](https://github.com/localstack/localstack/issues/new/choose).
413-
414411
{{< callout "note" >}}
415412
IMDS IPv6 endpoint is currently not supported.
416413
{{< /callout >}}
417414

415+
#### Metadata Categories
416+
417+
Currently a limited set of [metadata categories](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories) are implemented.
418+
They are:
419+
420+
- `ami-id`
421+
- `ami-launch-index`
422+
- `instance-id`
423+
- `instance-type`
424+
- `local-hostname`
425+
- `local-ipv4`
426+
- `public-hostname`
427+
- `public-ipv4`
428+
429+
If you would like support for more metadata categories, please make a feature request on [GitHub](https://github.com/localstack/localstack/issues/new/choose).
430+
418431
### Configuration
419432

420433
You can use the [`EC2_DOCKER_FLAGS`]({{< ref "configuration#ec2" >}}) LocalStack configuration variable to pass supplementary flags to Docker during the initiation of containerized instances.

0 commit comments

Comments
 (0)