farrellit / ec2metadata-role-assumption

a simple role assumption service that exports resultant credentials the same way the ec2metadata service does, and provides endpoints for arbitrary metadata like in EC2 land.
8 stars 30 forks source link

Add instance-id endpoint to support terraform #32

Open jolexa opened 6 years ago

jolexa commented 6 years ago

This small path is needed to support terraform with the s3 backend.

See relevant upstream code here https://github.com/terraform-providers/terraform-provider-aws/blob/ee18327b50777d6f5e3bc06277cd723c5953ef2d/aws/auth_helpers.go#L206-L215