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

use private URLs in EC2 registry post processors HCL example #171

Conversation

joshwizzy
Copy link
Contributor

Context

The post processors examples in the Amazon EC2 Container Registry section are inconsisent:

  • The JSON example uses a private registry URL: 12345.dkr.ecr.us-east-1.amazonaws.com/packer
  • The HCL2 uses a public URL: public.ecr.aws/YOUR REGISTRY ALIAS HERE/YOUR REGISTRY NAME HERE

Changes

Update the URLs in the HCL2 example to match the JSON example

@joshwizzy joshwizzy requested a review from a team as a code owner February 23, 2024 17:24
@hashicorp-cla
Copy link

hashicorp-cla commented Feb 23, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

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

Hi @joshwizzy,

Thanks for the update, I wasn't initially sure if that was warranted to show public vs. private registries interaction, but public ECR registries are documented in the next section, so both examples here should effectively document the same thing.

Good catch, and thanks again for fixing this!

@lbajolet-hashicorp
Copy link
Contributor

FYI @joshwizzy,

I re-generated the docs based on your changes (they're generated with make generate from the file you modified) since the generation checks complained, and pushed that change on top of your branch.

I'll merge the PR once it's green

@lbajolet-hashicorp lbajolet-hashicorp merged commit 0045959 into hashicorp:main Feb 27, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants