Skip to content

Add helper function for parsing packer-manifest.json #926

@1efty

Description

@1efty

Packer has the option to write build results to a manifest post-build. See https://www.packer.io/docs/post-processors/manifest.

After writing a few tests for some packer builds, I tend to build my artifact first, then test it. I can have packer write that manifest file, but I continue to have to lug around boilerplate to properly parse the manifest file. It would be nice if terratest came with a helper function that could parse this file and pull an artifactId based on build name.

Thoughts, concerns? Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions