hashicorp / hashicorp/packer-plugin-googlecompute

Expose Build Context Variables(i.e SourceImage, SourceImageDate)

Open
#290 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
33
Forks
72
Avg merge
6h 47m
Merged PRs (30d)
3

Description

#### Description

I am not sure if this is already available but couldn't seen it in the current docs. Basically as AWS build has a way to expose the Build Variables(SourceAMI) that can be injected into labels.

#### Use Case(s)

In a long chain of images is good to have a trace of the source image id from the label metadata.

#### Potential configuration

```
{{.SourceImageName}}
```

#### Potential References
https://github.com/hashicorp/packer-plugin-amazon

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.