feat(axiom): add dollarbox production dataset and deploy workflows#28
Merged
Conversation
Add axiom_dataset resource for dollarbox-prd under axiom/unicornops/prd/dollarbox/ following the existing aireach pattern. Dataset name resolves to dollarbox-prd via env.yaml + directory basename. Add axiom_unicornops_plan and axiom_unicornops_apply GitHub Actions workflows mirroring the cloudflare_unicornops pattern. Plan runs on pull_request, apply runs on merge to main. Both use AXIOM_UNICORNOPS_API_TOKEN and the existing Minio state backend credentials. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
✅ Terragrunt plan completed for |
OpenTofu's S3 backend does not honour use_path_style, causing virtual-hosted DNS lookups that fail from GitHub Actions runners. Matches the working cloudflare/unicornops/root.hcl configuration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
✅ Terragrunt plan completed for |
The Terragrunt engine subprocess does not inherit environment variables, so the Axiom provider cannot read AXIOM_TOKEN at runtime. Using get_env() in the generate block causes Terragrunt to substitute the value when writing provider.tf, bypassing the inheritance issue. Applies to all five unicornops axiom modules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
✅ Terragrunt plan completed for |
Bare get_env() inside the generate contents heredoc is written literally
to provider.tf and then rejected by OpenTofu as an unknown function.
Wrapping in ${} causes Terragrunt to substitute the value at generation
time so the written file contains the actual token string.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
✅ Terragrunt plan completed for |
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.
Summary
axiom/unicornops/prd/dollarbox/Terragrunt config to create thedollarbox-prddataset in Axiom, following the same pattern asaireachaxiom_unicornops_plan.ymlworkflow — runsterragrunt run-all planon pull requests touchingaxiom/unicornops/**axiom_unicornops_apply.ymlworkflow — runsterragrunt run-all applyon merge tomain, creates a GitHub issue on failureSecret required
Before this PR can apply successfully, add
AXIOM_UNICORNOPS_API_TOKENto the repo's GitHub Actions secrets (Settings → Secrets → Actions).Get the token from Axiom → Settings → API Tokens — create one with Ingest + Query permissions scoped to the
unicornopsorg.What gets created
dollarbox-prdunicornops/prd/dollarbox/terraform.tfstateunicornops-terragrunt-state-axiom)Related
🤖 Generated with Claude Code