Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom resource build suffix #414

Open
antoni0shuleshov opened this issue May 9, 2024 · 0 comments
Open

Support for custom resource build suffix #414

antoni0shuleshov opened this issue May 9, 2024 · 0 comments

Comments

@antoni0shuleshov
Copy link

Description

Add an optional parameter custom_resource_build_suffix, that is similar to custom_resource_build_prefix. If this parameter is set the temporary resources will be named accordingly. E.g. Azure KeyVault resource will be named custom_resource_build_prefixresourcetypecustom_resource_build_suffix
If custom_resource_build_suffix is not set the name will be custom_resource_build_prefix + resourcetype + 5 character random alphanumeric string

Use Case(s)

In case of using Azure Policy that enforces special naming convention packer script will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant