-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Describe the feature
It would be great if the mock could simulate the optional inclusion of instances tags within the returned metadata. To ensure backwards compatibility, the proposal would be to include a flag for omitting the inclusion of instance tags, --exclude-instance-tags
. In doing so, the mock would need to respond in the same way as the real IMDS service by returning a 404
upon any request to the /tags
instance category.
Bizarrely if you curl IMDS using the /tags/instance
path, you get a 200
and a blank response. So I guess this behaviour will need to be also mimicked.
Is the feature request related to a problem?
It is an enhancement to better align the mock with the real IMDS service. It also expands the possible testing use cases
Describe alternatives you've considered
Alternative solutions for me would be to use a hybrid approach in my testing, which is cumbersome.