Skip to content

Commit 59f3cb8

Browse files
committed
fix: terragrunt log noise
1 parent d0293f4 commit 59f3cb8

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

packages/nix/localDevShell/default.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{ pkgs }: {
1+
{ pkgs }:
2+
{
23

34
shellHook = ''
45
export REPO_ROOT=$(git rev-parse --show-toplevel)

packages/nix/packages/scripts/files/terragrunt/panfactum.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ locals {
6868
pf_stack_repo = "github.com/panfactum/stack"
6969
pf_stack_version_commit_hash = run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "pf-get-commit-hash", "--ref=${local.pf_stack_version}", "--repo=https://${local.pf_stack_repo}")
7070
pf_stack_local_path = lookup(local.vars, "pf_stack_local_path", "../../../../../..")
71-
pf_stack_local_ref = local.pf_stack_version == "local" ? run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "pf-get-local-module-hash", "${local.pf_stack_local_path}/packages/infrastructure") : ""
71+
pf_stack_local_ref = local.pf_stack_version == "local" ? run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "pf-get-local-module-hash", local.pf_stack_version == "local" ? "${local.pf_stack_local_path}/packages/infrastructure" : "") : ""
7272
pf_stack_local_use_relative = lookup(local.vars, "pf_stack_local_use_relative", true)
7373
pf_stack_local_path_relative_to_module = local.pf_stack_version == "local" && local.pf_stack_local_use_relative ? run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "realpath", "--relative-to=${local.repo_root}", local.pf_stack_version == "local" ? local.pf_stack_local_path : local.repo_root) : ""
7474
pf_stack_source = local.pf_stack_version == "local" ? ("${local.pf_stack_local_path}/packages/infrastructure//${local.module}") : "https://modules.panfactum.com/${local.pf_stack_version_commit_hash}/modules.tar.gz//${local.module}"

packages/reference/.envrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ required_nix_version="2.23"
3131

3232
# Check if the current version is greater than or equal to the required version
3333
if ! nix_version_ge "$current_nix_version" "$required_nix_version"; then
34-
echo "Nix version $current_nix_version is < $required_nix_version. Please upgrade: https://github.com/DeterminateSystems/nix-installer?tab=readme-ov-file#upgrading-nix." >&2
34+
echo "Installed Nix version $current_nix_version is < $required_nix_version. Please upgrade: https://github.com/DeterminateSystems/nix-installer?tab=readme-ov-file#upgrading-nix." >&2
3535
exit 1
3636
fi
3737

packages/reference/environments/panfactum.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ locals {
6868
pf_stack_repo = "github.com/panfactum/stack"
6969
pf_stack_version_commit_hash = run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "pf-get-commit-hash", "--ref=${local.pf_stack_version}", "--repo=https://${local.pf_stack_repo}")
7070
pf_stack_local_path = lookup(local.vars, "pf_stack_local_path", "../../../../../..")
71-
pf_stack_local_ref = local.pf_stack_version == "local" ? run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "pf-get-local-module-hash", "${local.pf_stack_local_path}/packages/infrastructure") : ""
71+
pf_stack_local_ref = local.pf_stack_version == "local" ? run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "pf-get-local-module-hash", local.pf_stack_version == "local" ? "${local.pf_stack_local_path}/packages/infrastructure" : "") : ""
7272
pf_stack_local_use_relative = lookup(local.vars, "pf_stack_local_use_relative", true)
7373
pf_stack_local_path_relative_to_module = local.pf_stack_version == "local" && local.pf_stack_local_use_relative ? run_cmd("--terragrunt-global-cache", "--terragrunt-quiet", "realpath", "--relative-to=${local.repo_root}", local.pf_stack_version == "local" ? local.pf_stack_local_path : local.repo_root) : ""
7474
pf_stack_source = local.pf_stack_version == "local" ? ("${local.pf_stack_local_path}/packages/infrastructure//${local.module}") : "https://modules.panfactum.com/${local.pf_stack_version_commit_hash}/modules.tar.gz//${local.module}"

packages/reference/flake.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/website/src/app/changelog/edge/page.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ Learn more [here](/docs/edge/guides/versioning/releases).*
6868
* Adds a new submodule, [kube\_daemon\_set](/docs/edge/reference/infrastructure-modules/submodule/kubernetes/kube_daemon_set), for creating
6969
Kubernetes [DaemonSets](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/).
7070

71+
### Fixed
72+
73+
* Resolved unnecessary log noise that was introduced in the last release when running Terragrunt commands.
74+
7175
## edge.24-10-23
7276

7377
### Breaking Changes

0 commit comments

Comments
 (0)