Repository navigation
Promote the HashiCorp APT key convergence to sandbox and modules/ (production) - #305
Merged
Merged
Conversation
…oduction) Straight promotion of #304, proven end to end by infrahouse/terraform-aws-terraformer#42: with the module no longer seeding the HashiCorp repository, a development-environment terraformer got Terraform from apt.releases.hashicorp.com via profile::hashicorp_repo. All three copies of hashicorp_repo.pp, converge-apt-keyring.sh and terraformer.pp are now identical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
infrahouse8
approved these changes
Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 3 of 3 for the HashiCorp signing-key rotation. A straight promotion of #304.
profile::hashicorp_repoto the development environment (build334).environments/sandboxandmodules/.Proven in development
terraform-aws-terraformer#42's integration test runs with
environment = "development". With the module no longer seeding the HashiCorp repo, both CI runs passed, and the new check confirmed Puppet configured the repo:A finished bootstrap also means
apt_updatein stageinitverified the repo with the key Puppet fetched.What changed
hashicorp_repo.pp,converge-apt-keyring.shand theterraformer.ppdeclaration are copied unchanged fromenvironments/development. All three copies of each file are now byte-identical. Before the copy, sandbox's andmodules/'sterraformer.ppmatched development's pre-#304 version, and both declareaptin stageinitthe same way. Onlyrole::terraformerincludesprofile::terraformer.Verification of the production copy
I re-ran the #304 container test (Puppet 8.4.0, puppetlabs-apt 9.4.0,
ubuntu:noble) againstmodules/profile. The container was seeded with the terraform-aws-terraformer 3.x state, where the 2023 key sits at/etc/apt/cloud-init.gpg.d/hashicorp.gpg:After merge
initand may not get this package on their own. Fix them by hand with the one-liner in terraform-aws-terraformer'sdocs/troubleshooting.md, or replace them by upgrading the module.profile::infrahouse_repoconverges in stagemain, so it has the same blind spot for our own key.🤖 Generated with Claude Code