Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package terragrunt for openSUSE:Factory checked in at 2025-11-24 14:06:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/terragrunt (Old) and /work/SRC/openSUSE:Factory/.terragrunt.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "terragrunt" Mon Nov 24 14:06:56 2025 rev:274 rq:1318972 version:0.93.10 Changes: -------- --- /work/SRC/openSUSE:Factory/terragrunt/terragrunt.changes 2025-11-18 15:43:01.691513092 +0100 +++ /work/SRC/openSUSE:Factory/.terragrunt.new.14147/terragrunt.changes 2025-11-24 14:08:12.974819164 +0100 @@ -1,0 +2,13 @@ +Fri Nov 21 06:28:05 UTC 2025 - Johannes Kastl <[email protected]> + +- Update to version 0.93.10: + * Bug Fixes + - Handling of disabled units in discovery + Discovery now skips units that are marked as disabled. + * What's Changed + - fix: Avoid discovering dependencies if they are disabled + (#5119) + - docs: Documenting how CAS works (#5115) + - build(deps): bump js-yaml in /docs-starlight (#5117) + +------------------------------------------------------------------- Old: ---- terragrunt-0.93.9.obscpio New: ---- terragrunt-0.93.10.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ terragrunt.spec ++++++ --- /var/tmp/diff_new_pack.wQsuzc/_old 2025-11-24 14:08:14.286874206 +0100 +++ /var/tmp/diff_new_pack.wQsuzc/_new 2025-11-24 14:08:14.286874206 +0100 @@ -17,7 +17,7 @@ Name: terragrunt -Version: 0.93.9 +Version: 0.93.10 Release: 0 Summary: Thin wrapper for Terraform for working with multiple Terraform modules License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.wQsuzc/_old 2025-11-24 14:08:14.358877227 +0100 +++ /var/tmp/diff_new_pack.wQsuzc/_new 2025-11-24 14:08:14.362877394 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/gruntwork-io/terragrunt</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.93.9</param> + <param name="revision">v0.93.10</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.wQsuzc/_old 2025-11-24 14:08:14.382878234 +0100 +++ /var/tmp/diff_new_pack.wQsuzc/_new 2025-11-24 14:08:14.386878401 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/gruntwork-io/terragrunt</param> - <param name="changesrevision">af9f6b93b70d805a71b9f5d8da3b677d772f0a29</param></service></servicedata> + <param name="changesrevision">25150a61693db8edb1a5eeb173d4de20c2ec25ab</param></service></servicedata> (No newline at EOF) ++++++ terragrunt-0.93.9.obscpio -> terragrunt-0.93.10.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/docs-starlight/package-lock.json new/terragrunt-0.93.10/docs-starlight/package-lock.json --- old/terragrunt-0.93.9/docs-starlight/package-lock.json 2025-11-17 16:02:46.000000000 +0100 +++ new/terragrunt-0.93.10/docs-starlight/package-lock.json 2025-11-20 16:15:08.000000000 +0100 @@ -3229,7 +3229,9 @@ } }, "node_modules/gray-matter/node_modules/js-yaml": { - "version": "3.14.1", + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "license": "MIT", "dependencies": { "argparse": "^1.0.7", @@ -3832,7 +3834,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.1.0", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "license": "MIT", "dependencies": { "argparse": "^2.0.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/docs-starlight/public/d2/docs/03-features/15-cas-0.svg new/terragrunt-0.93.10/docs-starlight/public/d2/docs/03-features/15-cas-0.svg --- old/terragrunt-0.93.9/docs-starlight/public/d2/docs/03-features/15-cas-0.svg 1970-01-01 01:00:00.000000000 +0100 +++ new/terragrunt-0.93.10/docs-starlight/public/d2/docs/03-features/15-cas-0.svg 2025-11-20 16:15:08.000000000 +0100 @@ -0,0 +1,173 @@ +<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-d2-version="0.7.0" preserveAspectRatio="xMinYMin meet" viewBox="0 0 957 1416"><svg class="d2-2534577735 d2-svg" width="957" height="1416" viewBox="-101 -101 957 1416"><rect x="-101.000000" y="-101.000000" width="957.000000" height="1416.000000" rx="0.000000" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[ +.d2-2534577735 .text-bold { + font-family: "d2-2534577735-font-bold"; +} +@font-face { + font-family: d2-2534577735-font-bold; + src: url("data:application/font-woff;base64,d09GRgABAAAAABOcAAoAAAAAHRwAAguFAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAGAAAABgXxHXrmNtYXAAAAFUAAAA6QAAAUxJ9+eCZ2x5ZgAAAkAAAAxdAAAQsO5jMMRoZWFkAAAOoAAAADYAAAA2G38e1GhoZWEAAA7YAAAAJAAAACQKfwX2aG10eAAADvwAAADFAAAA3GmjCNRsb2NhAAAPxAAAAHAAAABwdhJ6sG1heHAAABA0AAAAIAAAACAATwD3bmFtZQAAEFQAAAMoAAAIKgjwVkFwb3N0AAATfAAAAB0AAAAg/9EAMgADAioCvAAFAAACigJYAAAASwKKAlgAAAFeAD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4Aq84FfDFXbJDG+xw4+Gt3mExaxUeUTTcI3P2DNcZw/oM6EgZkLCCMeQCSOumBGR4xMxY8KQiBBHhxYxhb4mBEKO0X9+DfApmBEo4pgCR4xPTEDO2CL+Iq+Uc2Uc6jSzuxYFYwIu5HFJQIIjZURKQ sSl4hQUZLyiQYOcgfhmFOR45EyI8UiZMaJBlzan9BkzIcfRVqSSmU/KkIJrAuV3ZlF2ZkBEQm6srkgIxdOJXyTvDqc4umSyXY98uhHhSxzfybvklsr2Kzz9ujVmm3mXbALm6mesrsS6udYEx7ot87b4VrjgFe5e/dlk8v4ehfpfKPIFV5p/qEklYpLg3C4tfCnId49xHOncwVdHvqdDnxO6vKGvc4sePVqc0afDa/l26eH4mi5nHMujI7y4a0sxZ/yA4xs6siljR9afxcQifiYzdefiOFMdUzL1vGTuqdZIFd59wuUOpRvqyOUz0B6Vlk7zS7RnASNTRSaGU/VyqY3c+heaIqaqpZzt7X25DXPbveUW35Bqh0u1LjiVk1swet9UvXc0c60fj4CQlAtZDEiZ0qDgRrzPCbgixnGs7p1oSwpaK58yz41UEjEVgw6J4szI9Dcw3fjGfbChe2dvSSj/kunlqqr7ZHHq1e2M3qh7yzvfuhytTaBhU03X1DQQ18S0H2mn1vn78s31uqU85YiUmPBfL8AzPJrsc8AhY2UY6GZur0NTL0STlxyq+ksiWQ2l58giHODxnAMOeMnzd/q4ZOKMi1txWc/d4pgjuhx+UBUL+y5HvF59+/+sv4tpU7U4nq5OL+49xSd3UOsX2rPb97KniZWTmFu02604I2BacnG76zW5x3j/AAAA//8BAAD///S3T1F4nGJgZgCD/+cYjBiwAAAAAAD//wEAAP//LwECAwAAAA=="); +}]]></style><style type="text/css"><![CDATA[.shape { + shape-rendering: geometricPrecision; + stroke-linejoin: round; +} +.connection { + stroke-linecap: round; + stroke-linejoin: round; +} +.blend { + mix-blend-mode: multiply; + opacity: 0.5; +} + + .d2-2534577735 .fill-N1{fill:#0A0F25;} + .d2-2534577735 .fill-N2{fill:#676C7E;} + .d2-2534577735 .fill-N3{fill:#9499AB;} + .d2-2534577735 .fill-N4{fill:#CFD2DD;} + .d2-2534577735 .fill-N5{fill:#DEE1EB;} + .d2-2534577735 .fill-N6{fill:#EEF1F8;} + .d2-2534577735 .fill-N7{fill:#FFFFFF;} + .d2-2534577735 .fill-B1{fill:#0D32B2;} + .d2-2534577735 .fill-B2{fill:#0D32B2;} + .d2-2534577735 .fill-B3{fill:#E3E9FD;} + .d2-2534577735 .fill-B4{fill:#E3E9FD;} + .d2-2534577735 .fill-B5{fill:#EDF0FD;} + .d2-2534577735 .fill-B6{fill:#F7F8FE;} + .d2-2534577735 .fill-AA2{fill:#4A6FF3;} + .d2-2534577735 .fill-AA4{fill:#EDF0FD;} + .d2-2534577735 .fill-AA5{fill:#F7F8FE;} + .d2-2534577735 .fill-AB4{fill:#EDF0FD;} + .d2-2534577735 .fill-AB5{fill:#F7F8FE;} + .d2-2534577735 .stroke-N1{stroke:#0A0F25;} + .d2-2534577735 .stroke-N2{stroke:#676C7E;} + .d2-2534577735 .stroke-N3{stroke:#9499AB;} + .d2-2534577735 .stroke-N4{stroke:#CFD2DD;} + .d2-2534577735 .stroke-N5{stroke:#DEE1EB;} + .d2-2534577735 .stroke-N6{stroke:#EEF1F8;} + .d2-2534577735 .stroke-N7{stroke:#FFFFFF;} + .d2-2534577735 .stroke-B1{stroke:#0D32B2;} + .d2-2534577735 .stroke-B2{stroke:#0D32B2;} + .d2-2534577735 .stroke-B3{stroke:#E3E9FD;} + .d2-2534577735 .stroke-B4{stroke:#E3E9FD;} + .d2-2534577735 .stroke-B5{stroke:#EDF0FD;} + .d2-2534577735 .stroke-B6{stroke:#F7F8FE;} + .d2-2534577735 .stroke-AA2{stroke:#4A6FF3;} + .d2-2534577735 .stroke-AA4{stroke:#EDF0FD;} + .d2-2534577735 .stroke-AA5{stroke:#F7F8FE;} + .d2-2534577735 .stroke-AB4{stroke:#EDF0FD;} + .d2-2534577735 .stroke-AB5{stroke:#F7F8FE;} + .d2-2534577735 .background-color-N1{background-color:#0A0F25;} + .d2-2534577735 .background-color-N2{background-color:#676C7E;} + .d2-2534577735 .background-color-N3{background-color:#9499AB;} + .d2-2534577735 .background-color-N4{background-color:#CFD2DD;} + .d2-2534577735 .background-color-N5{background-color:#DEE1EB;} + .d2-2534577735 .background-color-N6{background-color:#EEF1F8;} + .d2-2534577735 .background-color-N7{background-color:#FFFFFF;} + .d2-2534577735 .background-color-B1{background-color:#0D32B2;} + .d2-2534577735 .background-color-B2{background-color:#0D32B2;} + .d2-2534577735 .background-color-B3{background-color:#E3E9FD;} + .d2-2534577735 .background-color-B4{background-color:#E3E9FD;} + .d2-2534577735 .background-color-B5{background-color:#EDF0FD;} + .d2-2534577735 .background-color-B6{background-color:#F7F8FE;} + .d2-2534577735 .background-color-AA2{background-color:#4A6FF3;} + .d2-2534577735 .background-color-AA4{background-color:#EDF0FD;} + .d2-2534577735 .background-color-AA5{background-color:#F7F8FE;} + .d2-2534577735 .background-color-AB4{background-color:#EDF0FD;} + .d2-2534577735 .background-color-AB5{background-color:#F7F8FE;} + .d2-2534577735 .color-N1{color:#0A0F25;} + .d2-2534577735 .color-N2{color:#676C7E;} + .d2-2534577735 .color-N3{color:#9499AB;} + .d2-2534577735 .color-N4{color:#CFD2DD;} + .d2-2534577735 .color-N5{color:#DEE1EB;} + .d2-2534577735 .color-N6{color:#EEF1F8;} + .d2-2534577735 .color-N7{color:#FFFFFF;} + .d2-2534577735 .color-B1{color:#0D32B2;} + .d2-2534577735 .color-B2{color:#0D32B2;} + .d2-2534577735 .color-B3{color:#E3E9FD;} + .d2-2534577735 .color-B4{color:#E3E9FD;} + .d2-2534577735 .color-B5{color:#EDF0FD;} + .d2-2534577735 .color-B6{color:#F7F8FE;} + .d2-2534577735 .color-AA2{color:#4A6FF3;} + .d2-2534577735 .color-AA4{color:#EDF0FD;} + .d2-2534577735 .color-AA5{color:#F7F8FE;} + .d2-2534577735 .color-AB4{color:#EDF0FD;} + .d2-2534577735 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark-d2-2534577735);mix-blend-mode:overlay}.sket ch-overlay-AA4{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark-d2-2534577735);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright-d2-2534577735);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}@media screen and (prefers-color-scheme:dark){ + .d2-2534577735 .fill-N1{fill:#CDD6F4;} + .d2-2534577735 .fill-N2{fill:#BAC2DE;} + .d2-2534577735 .fill-N3{fill:#A6ADC8;} + .d2-2534577735 .fill-N4{fill:#585B70;} + .d2-2534577735 .fill-N5{fill:#45475A;} + .d2-2534577735 .fill-N6{fill:#313244;} + .d2-2534577735 .fill-N7{fill:#1E1E2E;} + .d2-2534577735 .fill-B1{fill:#CBA6f7;} + .d2-2534577735 .fill-B2{fill:#CBA6f7;} + .d2-2534577735 .fill-B3{fill:#6C7086;} + .d2-2534577735 .fill-B4{fill:#585B70;} + .d2-2534577735 .fill-B5{fill:#45475A;} + .d2-2534577735 .fill-B6{fill:#313244;} + .d2-2534577735 .fill-AA2{fill:#f38BA8;} + .d2-2534577735 .fill-AA4{fill:#45475A;} + .d2-2534577735 .fill-AA5{fill:#313244;} + .d2-2534577735 .fill-AB4{fill:#45475A;} + .d2-2534577735 .fill-AB5{fill:#313244;} + .d2-2534577735 .stroke-N1{stroke:#CDD6F4;} + .d2-2534577735 .stroke-N2{stroke:#BAC2DE;} + .d2-2534577735 .stroke-N3{stroke:#A6ADC8;} + .d2-2534577735 .stroke-N4{stroke:#585B70;} + .d2-2534577735 .stroke-N5{stroke:#45475A;} + .d2-2534577735 .stroke-N6{stroke:#313244;} + .d2-2534577735 .stroke-N7{stroke:#1E1E2E;} + .d2-2534577735 .stroke-B1{stroke:#CBA6f7;} + .d2-2534577735 .stroke-B2{stroke:#CBA6f7;} + .d2-2534577735 .stroke-B3{stroke:#6C7086;} + .d2-2534577735 .stroke-B4{stroke:#585B70;} + .d2-2534577735 .stroke-B5{stroke:#45475A;} + .d2-2534577735 .stroke-B6{stroke:#313244;} + .d2-2534577735 .stroke-AA2{stroke:#f38BA8;} + .d2-2534577735 .stroke-AA4{stroke:#45475A;} + .d2-2534577735 .stroke-AA5{stroke:#313244;} + .d2-2534577735 .stroke-AB4{stroke:#45475A;} + .d2-2534577735 .stroke-AB5{stroke:#313244;} + .d2-2534577735 .background-color-N1{background-color:#CDD6F4;} + .d2-2534577735 .background-color-N2{background-color:#BAC2DE;} + .d2-2534577735 .background-color-N3{background-color:#A6ADC8;} + .d2-2534577735 .background-color-N4{background-color:#585B70;} + .d2-2534577735 .background-color-N5{background-color:#45475A;} + .d2-2534577735 .background-color-N6{background-color:#313244;} + .d2-2534577735 .background-color-N7{background-color:#1E1E2E;} + .d2-2534577735 .background-color-B1{background-color:#CBA6f7;} + .d2-2534577735 .background-color-B2{background-color:#CBA6f7;} + .d2-2534577735 .background-color-B3{background-color:#6C7086;} + .d2-2534577735 .background-color-B4{background-color:#585B70;} + .d2-2534577735 .background-color-B5{background-color:#45475A;} + .d2-2534577735 .background-color-B6{background-color:#313244;} + .d2-2534577735 .background-color-AA2{background-color:#f38BA8;} + .d2-2534577735 .background-color-AA4{background-color:#45475A;} + .d2-2534577735 .background-color-AA5{background-color:#313244;} + .d2-2534577735 .background-color-AB4{background-color:#45475A;} + .d2-2534577735 .background-color-AB5{background-color:#313244;} + .d2-2534577735 .color-N1{color:#CDD6F4;} + .d2-2534577735 .color-N2{color:#BAC2DE;} + .d2-2534577735 .color-N3{color:#A6ADC8;} + .d2-2534577735 .color-N4{color:#585B70;} + .d2-2534577735 .color-N5{color:#45475A;} + .d2-2534577735 .color-N6{color:#313244;} + .d2-2534577735 .color-N7{color:#1E1E2E;} + .d2-2534577735 .color-B1{color:#CBA6f7;} + .d2-2534577735 .color-B2{color:#CBA6f7;} + .d2-2534577735 .color-B3{color:#6C7086;} + .d2-2534577735 .color-B4{color:#585B70;} + .d2-2534577735 .color-B5{color:#45475A;} + .d2-2534577735 .color-B6{color:#313244;} + .d2-2534577735 .color-AA2{color:#f38BA8;} + .d2-2534577735 .color-AA4{color:#45475A;} + .d2-2534577735 .color-AA5{color:#313244;} + .d2-2534577735 .color-AB4{color:#45475A;} + .d2-2534577735 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark-d2-2534577735);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark-d2-2534577735);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color -burn}.sketch-overlay-AA4{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal-d2-2534577735);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark-d2-2534577735);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker-d2-2534577735);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}}]]></style><g class="Z2l0 X3JlcG8="><g class="shape" ><path d="M 192 24 C 192 0 359 0 378 0 C 397 0 564 0 564 24 V 126 C 564 150 397 150 378 150 C 359 150 192 150 192 126 V 24 Z" class=" stroke-B1 fill-AA4" style="stroke-width:2;" /><path d="M 192 24 C 192 48 359 48 378 48 C 397 48 564 48 564 24" class=" stroke-B1 fill-AA4" style="stroke-width:2;" /></g><text x="378.000000" y="76.500000" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px"><tspan x="378.000000" dy="0.000000">Git Repository</tspan><tspan x="378.000000" dy="17.666667"> </tspan><tspan x="378.000000" dy="17.666667">[email protected]:acme/modules.git?ref=v1.0.0</tspan></text></g><g class="Y2hlY2tfY2Fz"><g class="shape" ><path d="M 378 406 C 377 406 376 406 376 405 L 252 330 C 251 329 251 328 252 327 L 376 251 C 377 250 379 250 381 251 L 505 327 C 506 328 506 329 505 330 L 380 405 C 380 406 379 406 378 406 Z" class=" stroke-B1 fill-N4" style="stroke-width:2;" /></g><text x="378.000000" y="317.500000" class="text-bold fill-N1" style="te xt-anchor:middle;font-size:16px"><tspan x="378.000000" dy="0.000000">In CAS?</tspan><tspan x="378.000000" dy="17.666667"> </tspan><tspan x="378.000000" dy="17.666667">hash = 123abc...</tspan></text></g><g class="Y2xvbmVfc3RvcmU="><g class="shape" ><rect x="338.000000" y="506.000000" width="239.000000" height="82.000000" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><text x="457.500000" y="544.500000" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px"><tspan x="457.500000" dy="0.000000">Clone & Store</tspan><tspan x="457.500000" dy="18.500000">(git clone → extract → store)</tspan></text></g><g class="cmVhZF9jYXM="><g class="shape" ><rect x="303.000000" y="688.000000" width="149.000000" height="98.000000" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><text x="377.500000" y="726.500000" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px"><tspan x="377.500000" dy="0.000000">Read from CAS</tspan><tspan x="377.500000" dy="17.6 66667"> </tspan><tspan x="377.500000" dy="17.666667">123abc...</tspan></text></g><g class="bGlua19zdGVw"><g class="shape" ><rect x="263.000000" y="886.000000" width="230.000000" height="114.000000" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><text x="378.000000" y="924.500000" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px"><tspan x="378.000000" dy="0.000000">Link to Targets</tspan><tspan x="378.000000" dy="17.250000"> </tspan><tspan x="378.000000" dy="17.250000">blob abc123... main.tf</tspan><tspan x="378.000000" dy="17.250000">blob cd7890... variables.tf</tspan></text></g><g class="bGlua2VkX3RhcmdldDE="><g class="shape" ><rect x="0.000000" y="1100.000000" width="348.000000" height="114.000000" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><text x="174.000000" y="1138.500000" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px"><tspan x="174.000000" dy="0.000000">Linked Target</tspan><tspan x="174.000000" dy="17.250000"> </ tspan><tspan x="174.000000" dy="17.250000">.terragrunt-cache/.../main.tf --></tspan><tspan x="174.000000" dy="17.250000">~/.cache/terragrunt/cas/store/ab/abc123...</tspan></text></g><g class="bGlua2VkX3RhcmdldDI="><g class="shape" ><rect x="408.000000" y="1100.000000" width="347.000000" height="114.000000" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><text x="581.500000" y="1138.500000" class="text-bold fill-N1" style="text-anchor:middle;font-size:16px"><tspan x="581.500000" dy="0.000000">Linked Target</tspan><tspan x="581.500000" dy="17.250000"> </tspan><tspan x="581.500000" dy="17.250000">.terragrunt-cache/.../variables.tf --></tspan><tspan x="581.500000" dy="17.250000">~/.cache/terragrunt/cas/store/cd/cd7890...</tspan></text></g><g class="KGdpdF9yZXBvIC0mZ3Q7IGNoZWNrX2NhcylbMF0="><marker id="mk-d2-2534577735-3488378134" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" m arkerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" class="connection fill-B1" stroke-width="2" /> </marker><path d="M 377.990000 151.999975 C 377.799988 190.000000 377.799988 210.000000 377.979999 246.000050" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2534577735-3488378134)" mask="url(#d2-2534577735)" /></g><g class="KGNoZWNrX2NhcyAtJmd0OyBjbG9uZV9zdG9yZSlbMF0="><path d="M 414.062143 386.694654 C 448.600006 441.799988 457.500000 466.000000 457.500000 502.000000" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2534577735-3488378134)" mask="url(#d2-2534577735)" /></g><g class="KGNoZWNrX2NhcyAtJmd0OyByZWFkX2NhcylbMF0="><path d="M 340.946466 386.700020 C 306.799988 441.799988 298.000000 474.200012 298.000000 501.500000 C 298.000000 528.799988 306.000000 648.000000 335.501220 684.876525" fill="none" class="connection stroke-B1" style="stroke-width:2;" m arker-end="url(#mk-d2-2534577735-3488378134)" mask="url(#d2-2534577735)" /></g><g class="KGNsb25lX3N0b3JlIC0mZ3Q7IHJlYWRfY2FzKVswXQ=="><path d="M 457.500000 590.000000 C 457.500000 628.000000 449.500000 648.000000 419.998780 684.876525" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2534577735-3488378134)" mask="url(#d2-2534577735)" /></g><g class="KHJlYWRfY2FzIC0mZ3Q7IGxpbmtfc3RlcClbMF0="><path d="M 377.750000 788.000000 C 377.750000 826.000000 377.750000 846.000000 377.750000 882.000000" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2534577735-3488378134)" mask="url(#d2-2534577735)" /></g><g class="KGxpbmtfc3RlcCAtJmd0OyBsaW5rZWRfdGFyZ2V0MSlbMF0="><path d="M 267.230164 1000.931493 C 193.000000 1040.000000 174.000000 1060.000000 174.000000 1096.000000" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2534577735-3488378134)" mask="url(#d2-2534577735)" /></g><g cl ass="KGxpbmtfc3RlcCAtJmd0OyBsaW5rZWRfdGFyZ2V0MilbMF0="><path d="M 488.269836 1000.931493 C 562.500000 1040.000000 581.500000 1060.000000 581.500000 1096.000000" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2534577735-3488378134)" mask="url(#d2-2534577735)" /></g><mask id="d2-2534577735" maskUnits="userSpaceOnUse" x="-101" y="-101" width="957" height="1416"> +<rect x="-101" y="-101" width="957" height="1416" fill="white"></rect> +<rect x="212.500000" y="60.500000" width="331" height="53" fill="rgba(0,0,0,0.75)"></rect> +<rect x="320.000000" y="301.500000" width="116" height="53" fill="rgba(0,0,0,0.75)"></rect> +<rect x="358.500000" y="528.500000" width="198" height="37" fill="rgba(0,0,0,0.75)"></rect> +<rect x="323.500000" y="710.500000" width="108" height="53" fill="rgba(0,0,0,0.75)"></rect> +<rect x="283.500000" y="908.500000" width="189" height="69" fill="rgba(0,0,0,0.75)"></rect> +<rect x="20.500000" y="1122.500000" width="307" height="69" fill="rgba(0,0,0,0.75)"></rect> +<rect x="428.500000" y="1122.500000" width="306" height="69" fill="rgba(0,0,0,0.75)"></rect> +</mask></svg></svg> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/docs-starlight/src/content/docs/03-features/15-cas.md new/terragrunt-0.93.10/docs-starlight/src/content/docs/03-features/15-cas.md --- old/terragrunt-0.93.9/docs-starlight/src/content/docs/03-features/15-cas.md 2025-11-17 16:02:46.000000000 +0100 +++ new/terragrunt-0.93.10/docs-starlight/src/content/docs/03-features/15-cas.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,51 +0,0 @@ ---- -title: Content Addressable Store (CAS) -description: Learn how Terragrunt supports deduplication of content using a Content Addressable Store (CAS). -slug: docs/features/cas -sidebar: - order: 15 ---- - -Terragrunt supports a Content Addressable Store (CAS) to deduplicate content across multiple Terragrunt configurations. This feature is still experimental and not recommended for general production usage. - -The CAS is used to speed up both catalog cloning and OpenTofu/Terraform source cloning by avoiding redundant downloads of Git repositories. - -To use the CAS, you will need to enable the [cas](/docs/reference/experiments/#cas) experiment. - -## Usage - -When you enable the `cas` experiment, Terragrunt will automatically use the CAS when cloning any compatible source (Git repositories). - -### Catalog Usage - -```hcl -# root.hcl - -catalog { - urls = [ - "[email protected]:acme/modules.git" - ] -} -``` - -### OpenTofu/Terraform Source Usage - -```hcl -# terragrunt.hcl - -terraform { - source = "[email protected]:acme/infrastructure-modules.git//vpc?ref=v1.0.0" -} -``` - -When Terragrunt clones a repository while using the CAS, if the repository is not found in the CAS, Terragrunt will clone the repository from the original URL and store it in the CAS for future use. - -When generating a repository from the CAS, Terragrunt will hard link entries from the CAS to the new repository. This allows Terragrunt to deduplicate content across multiple repositories. - -In the event that hard linking fails due to some operating system / host incompatibility with hard links, Terragrunt will fall back to performing copies of the content from the CAS. - -## Storage - -The CAS is stored in the `~/.cache/terragrunt/cas` directory. This directory can be safely deleted at any time, as Terragrunt will automatically regenerate the CAS as needed. - -Avoid partial deletions of the CAS directory without care, as that might result in partially cloned repositories and unexpected behavior. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/docs-starlight/src/content/docs/03-features/15-cas.mdx new/terragrunt-0.93.10/docs-starlight/src/content/docs/03-features/15-cas.mdx --- old/terragrunt-0.93.9/docs-starlight/src/content/docs/03-features/15-cas.mdx 1970-01-01 01:00:00.000000000 +0100 +++ new/terragrunt-0.93.10/docs-starlight/src/content/docs/03-features/15-cas.mdx 2025-11-20 16:15:08.000000000 +0100 @@ -0,0 +1,172 @@ +--- +title: Content Addressable Store (CAS) +description: Learn how Terragrunt supports deduplication of content using a Content Addressable Store (CAS). +slug: docs/features/cas +sidebar: + order: 15 +--- + +import FileTree from '@components/vendored/starlight/FileTree.astro'; + +Terragrunt supports a Content Addressable Store (CAS) to deduplicate content across multiple Terragrunt configurations. This feature is still experimental and not recommended for general production usage. + +The CAS is used to speed up both catalog cloning and OpenTofu/Terraform source cloning by avoiding redundant downloads of Git repositories. + +To use the CAS, you will need to enable the [cas](/docs/reference/experiments/#cas) experiment. + +## Usage + +When you enable the `cas` experiment, Terragrunt will automatically use the CAS when cloning any compatible source (Git repositories). + +### Catalog Usage + +```hcl +# root.hcl + +catalog { + urls = [ + "[email protected]:acme/modules.git" + ] +} +``` + +### OpenTofu/Terraform Source Usage + +```hcl +# terragrunt.hcl + +terraform { + source = "[email protected]:acme/infrastructure-modules.git//vpc?ref=v1.0.0" +} +``` + +When Terragrunt clones a repository while using the CAS, if the repository is not found in the CAS, Terragrunt will clone the repository from the original URL and store it in the CAS for future use. + +When generating a repository from the CAS, Terragrunt will hard link entries from the CAS to the new repository. This allows Terragrunt to deduplicate content across multiple repositories. + +In the event that hard linking fails due to some operating system / host incompatibility with hard links, Terragrunt will fall back to performing copies of the content from the CAS. + +## Storage + +The CAS is stored in the `~/.cache/terragrunt/cas` directory. This directory can be safely deleted at any time, as Terragrunt will automatically regenerate the CAS as needed. + +Avoid partial deletions of the CAS directory without care, as that might result in partially cloned repositories and unexpected behavior. + +## How it works + +Terragrunt's CAS uses a content-addressable storage model to deduplicate repository content from Git clones to save disk space and improve performance. Each Git object is identified by its SHA1 hash, allowing identical content to be shared across multiple cloned repositories and repeated clones. + +### Content Addressing + +CAS uses Git's native content addressing scheme where each object is uniquely identified by its SHA1 hash. This means: + +- **Identical content** across different repositories shares the same hash +- **Same commit hash** always represents the same content +- **Storage is partitioned** by the first two characters of the hash (e.g., `ab/abc123...`) + +### Storage Structure + +The CAS store is organized in a partitioned structure to optimize file system performance: + +<FileTree> + +- ~/.cache/terragrunt/cas/store/ + - ab/ + - abc123...xyz (blob) + - abc123...xyz.lock (lock file) + - abd456...xyz (tree) + - cd/ + - cd7890...xyz (blob) + - cd7890...xyz.lock (lock file) + - ... + +</FileTree> + +Each content object is stored at `{hash[:2]}/{hash}`, where the first two characters create a partition directory. This prevents having thousands of files in a single directory, which can degrade file system performance. + +### Clone Flow + +When Terragrunt needs to clone a repository using the CAS it does the following, depending on whether the content is already in the CAS or not: + +#### Cold Clones + +For cold clones, where the content is not already in the CAS: + +1. Terragrunt resolves the Git reference (branch/tag) to a commit hash +2. The tree related to the commit hash is not found in the CAS +3. Terragrunt clones the repository to a temporary directory +4. All blobs and trees required to reproduce the repository are extracted +5. Content is stored in the CAS, partitioned by hash prefix +6. The tree structure is read from the CAS and hard links are created to the target directory + +#### Warm Clones + +For warm clones, where the content is already in the CAS: + +1. Terragrunt resolves the Git reference to a commit hash +2. CAS checks if the content exists +3. The tree structure is read directly from the CAS +4. Hard links are created from CAS to the target directory + +#### Flow Diagram + +```d2 +direction: down + +# Source +git_repo: "Git Repository\n\[email protected]:acme/modules.git?ref=v1.0.0" { + shape: cylinder +} + +# Decision Point +check_cas: "In CAS?\n\nhash = 123abc..." { + shape: diamond +} + +# First Clone Path (Content Not in CAS) +clone_store: "Clone & Store\n(git clone → extract → store)" { + shape: rectangle +} + +# Subsequent Clone Path (Content Already in CAS) +read_cas: "Read from CAS\n\n123abc..." { + shape: rectangle +} + +# Link Step +link_step: "Link to Targets\n\nblob abc123... main.tf\nblob cd7890... variables.tf" { + shape: rectangle +} + +# Linked Targets +linked_target1: "Linked Target\n\n.terragrunt-cache/.../main.tf -->\n~/.cache/terragrunt/cas/store/ab/abc123..." { + shape: rectangle +} + +linked_target2: "Linked Target\n\n.terragrunt-cache/.../variables.tf -->\n~/.cache/terragrunt/cas/store/cd/cd7890..." { + shape: rectangle +} + +# Flow +git_repo -> check_cas +check_cas -> clone_store +check_cas -> read_cas +clone_store -> read_cas +read_cas -> link_step +link_step -> linked_target1 +link_step -> linked_target2 +``` + +### Deduplication Mechanism + +CAS achieves deduplication through hard links, which allows multiple files to use the same physical space on disk, avoiding duplicated content in repositories cloned by Terragrunt. + +- **Hard Links**: When the same content is requested multiple times, CAS creates hard links from the read-only store to each target directory +- **Automatic Fallback**: If hard linking fails (e.g., cross-filesystem boundaries, operating system limitations), CAS automatically falls back to copying the content instead + +### Performance Benefits + +CAS provides significant performance improvements: + +- **Faster Subsequent Clones**: Once content is in CAS, subsequent clones skip the network download and Git clone operations entirely +- **Reduced Disk Usage**: Hard links share the same inode, so duplicate content only consumes disk space once, regardless of how many times the file is used in clones by Terragrunt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/internal/discovery/discovery.go new/terragrunt-0.93.10/internal/discovery/discovery.go --- old/terragrunt-0.93.9/internal/discovery/discovery.go 2025-11-17 16:02:46.000000000 +0100 +++ new/terragrunt-0.93.10/internal/discovery/discovery.go 2025-11-20 16:15:08.000000000 +0100 @@ -1377,6 +1377,10 @@ var errs []error for _, dependency := range cfg.TerragruntDependencies { + if dependency.Enabled != nil && !*dependency.Enabled { + continue + } + if dependency.ConfigPath.Type() != cty.String { errs = append(errs, errors.New("dependency config path is not a string")) continue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/internal/discovery/discovery_test.go new/terragrunt-0.93.10/internal/discovery/discovery_test.go --- old/terragrunt-0.93.9/internal/discovery/discovery_test.go 2025-11-17 16:02:46.000000000 +0100 +++ new/terragrunt-0.93.10/internal/discovery/discovery_test.go 2025-11-20 16:15:08.000000000 +0100 @@ -926,3 +926,115 @@ dbDependencyPaths := dbDependencies.Paths() assert.Contains(t, dbDependencyPaths, vpcDir, "Db should have vpc as a dependency") } + +func TestDiscoveryDetectsCycle(t *testing.T) { + t.Parallel() + + tmpDir := t.TempDir() + + fooDir := filepath.Join(tmpDir, "foo") + barDir := filepath.Join(tmpDir, "bar") + + testDirs := []string{fooDir, barDir} + for _, dir := range testDirs { + err := os.MkdirAll(dir, 0755) + require.NoError(t, err) + } + + // Create terragrunt.hcl files with mutual dependencies + testFiles := map[string]string{ + filepath.Join(fooDir, "terragrunt.hcl"): ` +dependency "bar" { + config_path = "../bar" +} +`, + filepath.Join(barDir, "terragrunt.hcl"): ` +dependency "foo" { + config_path = "../foo" +} +`, + } + + for path, content := range testFiles { + err := os.WriteFile(path, []byte(content), 0644) + require.NoError(t, err) + } + + opts := options.NewTerragruntOptions() + opts.WorkingDir = tmpDir + opts.RootWorkingDir = tmpDir + + l := logger.CreateLogger() + + // Discover components with dependency discovery enabled + d := discovery.NewDiscovery(tmpDir).WithDiscoverDependencies() + components, err := d.Discover(t.Context(), l, opts) + require.NoError(t, err, "Discovery should complete even with cycles") + + // Verify that a cycle is detected + cycleComponent, cycleErr := components.CycleCheck() + require.Error(t, cycleErr, "Cycle check should detect a cycle between foo and bar") + assert.Contains(t, cycleErr.Error(), "cycle detected", "Error message should mention cycle") + assert.NotNil(t, cycleComponent, "Cycle check should return the component that is part of the cycle") + + // Verify both foo and bar are in the discovered components + componentPaths := components.Paths() + assert.Contains(t, componentPaths, fooDir, "Foo should be discovered") + assert.Contains(t, componentPaths, barDir, "Bar should be discovered") +} + +func TestDiscoveryDoesntDetectCycleWhenDisabled(t *testing.T) { + t.Parallel() + + tmpDir := t.TempDir() + + fooDir := filepath.Join(tmpDir, "foo") + barDir := filepath.Join(tmpDir, "bar") + + testDirs := []string{fooDir, barDir} + for _, dir := range testDirs { + err := os.MkdirAll(dir, 0755) + require.NoError(t, err) + } + + // Create terragrunt.hcl files with mutual dependencies + testFiles := map[string]string{ + filepath.Join(fooDir, "terragrunt.hcl"): ` +dependency "bar" { + config_path = "../bar" + + enabled = false +} +`, + filepath.Join(barDir, "terragrunt.hcl"): ` +dependency "foo" { + config_path = "../foo" +} +`, + } + + for path, content := range testFiles { + err := os.WriteFile(path, []byte(content), 0644) + require.NoError(t, err) + } + + opts := options.NewTerragruntOptions() + opts.WorkingDir = tmpDir + opts.RootWorkingDir = tmpDir + + l := logger.CreateLogger() + + // Discover components with dependency discovery enabled + d := discovery.NewDiscovery(tmpDir).WithDiscoverDependencies() + components, err := d.Discover(t.Context(), l, opts) + require.NoError(t, err, "Discovery should complete even with cycles") + + // Verify that a cycle is detected + _, cycleErr := components.CycleCheck() + require.NoError(t, cycleErr, "Cycle check should not detect a cycle between foo and bar") + + // Verify both foo and bar are in the discovered components + componentPaths := components.Paths() + assert.Contains(t, componentPaths, fooDir, "Foo should be discovered") + assert.Contains(t, componentPaths, barDir, "Bar should be discovered") +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/modules/id/main.tf new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/modules/id/main.tf --- old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/modules/id/main.tf 1970-01-01 01:00:00.000000000 +0100 +++ new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/modules/id/main.tf 2025-11-20 16:15:08.000000000 +0100 @@ -0,0 +1,33 @@ +variable "prefix" { + type = string + default = "" +} + +variable "suffix" { + type = string + default = "" +} + +variable "separator" { + type = string + default = "-" +} + +resource "random_string" "this" { + length = 4 + upper = false + special = false +} + +output "random_string" { + value = random_string.this.result +} + +output "id" { + value = format( + "%s%s%s", + (var.prefix == "" ? "" : format("%s%s", trimsuffix(var.prefix, var.separator), var.separator)), + random_string.this.result, + (var.suffix == "" ? "" : format("%s%s", var.separator, trimprefix(var.suffix, var.separator))), + ) +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/root.hcl new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/root.hcl --- old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/root.hcl 1970-01-01 01:00:00.000000000 +0100 +++ new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/root.hcl 2025-11-20 16:15:08.000000000 +0100 @@ -0,0 +1 @@ +# Root configuration file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-a/terragrunt.hcl new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-a/terragrunt.hcl --- old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-a/terragrunt.hcl 1970-01-01 01:00:00.000000000 +0100 +++ new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-a/terragrunt.hcl 2025-11-20 16:15:08.000000000 +0100 @@ -0,0 +1,9 @@ +include "root" { + path = find_in_parent_folders("root.hcl") +} + +terraform { + source = "../modules/id" +} + +inputs = {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-b/terragrunt.hcl new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-b/terragrunt.hcl --- old/terragrunt-0.93.9/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-b/terragrunt.hcl 1970-01-01 01:00:00.000000000 +0100 +++ new/terragrunt-0.93.10/test/fixtures/regressions/disabled-dependency-empty-config-path/unit-b/terragrunt.hcl 2025-11-20 16:15:08.000000000 +0100 @@ -0,0 +1,31 @@ +include "root" { + path = find_in_parent_folders("root.hcl") +} + +terraform { + source = "../modules/id" +} + +locals { + # Test case: disabled dependency with empty config_path + # This should NOT cause cycle errors - the empty path should be ignored + # because the dependency is disabled + unit_a_path = "" +} + +dependency "unit_a" { + config_path = try(local.unit_a_path, "") + + enabled = false + + mock_outputs = { + random_string = "" + } + + mock_outputs_merge_strategy_with_state = "shallow" + mock_outputs_allowed_terraform_commands = ["init", "validate", "destroy"] +} + +inputs = { + suffix = try(dependency.unit_a.outputs.random_string, "") +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/terragrunt-0.93.9/test/integration_regressions_test.go new/terragrunt-0.93.10/test/integration_regressions_test.go --- old/terragrunt-0.93.9/test/integration_regressions_test.go 2025-11-17 16:02:46.000000000 +0100 +++ new/terragrunt-0.93.10/test/integration_regressions_test.go 2025-11-20 16:15:08.000000000 +0100 @@ -14,11 +14,12 @@ ) const ( - testFixtureRegressions = "fixtures/regressions" - testFixtureDependencyGenerate = "fixtures/regressions/dependency-generate" - testFixtureDependencyEmptyConfigPath = "fixtures/regressions/dependency-empty-config-path" - testFixtureParsingDeprecated = "fixtures/parsing/exposed-include-with-deprecated-inputs" - testFixtureSensitiveValues = "fixtures/regressions/sensitive-values" + testFixtureRegressions = "fixtures/regressions" + testFixtureDependencyGenerate = "fixtures/regressions/dependency-generate" + testFixtureDependencyEmptyConfigPath = "fixtures/regressions/dependency-empty-config-path" + testFixtureDisabledDependencyEmptyConfigPath = "fixtures/regressions/disabled-dependency-empty-config-path" + testFixtureParsingDeprecated = "fixtures/parsing/exposed-include-with-deprecated-inputs" + testFixtureSensitiveValues = "fixtures/regressions/sensitive-values" ) func TestNoAutoInit(t *testing.T) { @@ -371,3 +372,50 @@ assert.Equal(t, "25", passwordLengthStr, "Password length should match dev password") } + +// TestDisabledDependencyEmptyConfigPath_NoCycleError tests that disabled dependencies with empty +// config_path values do not cause cycle detection errors during discovery. +// This is a regression test for issue #4977 where setting enabled = false on a dependency +// with an empty config_path ("") was still causing terragrunt to throw cycle errors. +// +// The expected behavior is that disabled dependencies should be completely ignored during +// dependency graph construction and cycle detection, regardless of their config_path value. +// +// See: https://github.com/gruntwork-io/terragrunt/issues/4977 +func TestDisabledDependencyEmptyConfigPath_NoCycleError(t *testing.T) { + t.Parallel() + + helpers.CleanupTerraformFolder(t, testFixtureDisabledDependencyEmptyConfigPath) + tmpEnvPath := helpers.CopyEnvironment(t, testFixtureDisabledDependencyEmptyConfigPath) + rootPath := util.JoinPath(tmpEnvPath, testFixtureDisabledDependencyEmptyConfigPath) + helpers.CreateGitRepo(t, rootPath) + + unitBPath := util.JoinPath(rootPath, "unit-b") + stdout, stderr, err := helpers.RunTerragruntCommandWithOutput( + t, + "terragrunt plan --non-interactive --working-dir "+unitBPath, + ) + + require.NoError(t, err, "plan should succeed when disabled dependency has empty config_path") + + combinedOutput := stdout + stderr + assert.NotContains(t, combinedOutput, "cycle", + "Should not see cycle detection errors for disabled dependencies") + assert.NotContains(t, combinedOutput, "Cycle detected", + "Should not see 'Cycle detected' error") + + assert.NotContains(t, combinedOutput, "has empty config_path", + "Should not see empty config_path error for disabled dependency") + + _, runAllStderr, runAllErr := helpers.RunTerragruntCommandWithOutput( + t, + "terragrunt run --all plan --non-interactive --working-dir "+rootPath, + ) + + require.NoError(t, runAllErr, "run --all plan should succeed") + + assert.NotContains(t, runAllStderr, "cycle", + "run --all should not see cycle errors") + assert.NotContains(t, runAllStderr, "dependency graph", + "run --all should not see dependency graph errors") +} ++++++ terragrunt.obsinfo ++++++ --- /var/tmp/diff_new_pack.wQsuzc/_old 2025-11-24 14:08:19.571095884 +0100 +++ /var/tmp/diff_new_pack.wQsuzc/_new 2025-11-24 14:08:19.579096219 +0100 @@ -1,5 +1,5 @@ name: terragrunt -version: 0.93.9 -mtime: 1763391766 -commit: af9f6b93b70d805a71b9f5d8da3b677d772f0a29 +version: 0.93.10 +mtime: 1763651708 +commit: 25150a61693db8edb1a5eeb173d4de20c2ec25ab ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/terragrunt/vendor.tar.gz /work/SRC/openSUSE:Factory/.terragrunt.new.14147/vendor.tar.gz differ: char 13, line 1
