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

hcl2template: don't error on empty bucket slug #13210

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

lbajolet-hashicorp
Copy link
Contributor

When a user defines a hcp_packer_registry block in their build without a bucket_name, but they define it in their environment, Packer should not report the bucket_name being wrong.

Closes #13194

When a user defines a `hcp_packer_registry` block in their `build`
without a `bucket_name`, but they define it in their environment, Packer
should not report the bucket_name being wrong.
@lbajolet-hashicorp lbajolet-hashicorp force-pushed the fix_hcp_slug_empty_with_envvar_set branch from 9b9611c to f83ba39 Compare November 20, 2024 18:59
Copy link
Contributor

@JenGoldstrich JenGoldstrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lbajolet-hashicorp lbajolet-hashicorp merged commit ac899c4 into main Dec 12, 2024
11 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HCP_PACKER_BUCKET_NAME env var doesn't make bucket_name optional on hcp_packer_registry block
2 participants