aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

Support for Instance Metadata Tags in Image Builder resource

Open
#1,181 0 comments 9 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::ImageBuilder::InfrastructureConfiguration

### Resource name

_No response_

### Description

Support for being able to enable instance metadata tags in cloudformation for EC2 Imagebuilder.

As per this article -->https://aws.amazon.com/about-aws/whats-new/2022/01/instance-tags-amazon-ec2-instance-metadata-service/
Instance Tags now available on the Amazon EC2 Instance Metadata Service.

It is also understood that the instance metadata tags can be enabled in the EC2 launch template as shown here --> https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html

However, this option does not seem to be supported for image builder at the moment. Looking at the AWS::ImageBuilder::InfrastructureConfiguration --> https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html
There does appear to be a property called InstanceMetadataOptions, but this property only seems to support HttpPutResponseHopLimit and HttpTokens only, no instance metadata tags.

### Other Details

Similar feature requests:
- https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/655
- https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/1141

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::ImageBuilder::InfrastructureConfiguration documentation and compare its InstanceMetadataOptions property with the linked EC2 launch template MetadataOptions documentation. Confirm whether Image Builder exposes instance metadata tags and identify the required CloudFormation property shape. Done means the requested capability is supported and documented, with coverage reflected in the resource specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.