Skip to content

Image tags should be applied to snapshots too, optionally configurable #130

@Jalle19

Description

@Jalle19

Description

The builder currently supports image_tags, where you can specify the tags the resulting image should have. However, the underlying snapshot that backs the image remains untagged.

Either the snapshot should automatically inherit the tags of the image, or they should be configurable separately (this seems to be how the amazon-ebs builder operates).

Potential configuration

Similar to what the amazon-ebs builder provides:

snapshot_tags (map[string]string) - Key/value pair tags to apply to snapshot. They will override AMI tags if already applied to snapshot. This is a template engine, see Build template data for more information.

Potential References

https://developer.hashicorp.com/packer/integrations/hashicorp/amazon/latest/components/builder/ebs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions