Sorry, been working on something else for a while, but unfortunately not, I need to be able to access the .SourceAMI in the source section rather than the build/provisioner section in order to set a tag's value.
On Tue, 4 Aug 2020 at 21:37, Megan Marsh <[email protected]> wrote: > > Does this not work? > https://discuss.hashicorp.com/t/getting-the-source-ami-id-when-using-hcl-configuration/9911/3 > > On Tue, Aug 4, 2020 at 5:49 AM dragon788 <[email protected]> wrote: >> >> Can you share the code file or section where you are calling this? >> >> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in violation >> of those guidelines may result in your removal from this mailing list. >> >> GitHub Issues: https://github.com/hashicorp/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/3a9b46f1-bab5-4cef-8c1e-91b626e33ad9o%40googlegroups.com. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in violation of > those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/hashicorp/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/CAGPV1upRFydgE6YKposBEP%3DLW2Hv37hux2D7wLAdEYNJgi%3Dyew%40mail.gmail.com. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/hashicorp/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAPyG9gP55fg37JeeoLSUQLdW_FMygPhZ5VT0%2B4G9Opds8LtBQA%40mail.gmail.com.
