Skip to content

Test - Failed plan - Drift #763

Test - Failed plan - Drift

Test - Failed plan - Drift #763

Manually triggered November 18, 2025 18:07
Status Failure
Total duration 1m 7s
Artifacts 1

test-failed-plan-drift.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test
Process completed with exit code 1.
assert
Expected '## Drift Detection Failed for `foobar-fail` in `plat-ue2-sandbox`! <a href="https://cloudposse.com/"><img src="https://cloudposse.com/logo-300x69.svg" width="100px" align="right"/></a> [![failed](https://shields.io/badge/PLAN-FAILED-ff0000?style=for-the-badge)](#user-content-result-plat-ue2-sandbox-foobar-fail) <details><summary><a id="result-plat-ue2-sandbox-foobar-fail" />:warning: Error summary</summary> <br/> To reproduce this locally, run:<br/><br/> ```shell atmos terraform plan foobar-fail -s plat-ue2-sandbox ``` --- ```hcl Error: Invalid function argument on main.tf line 17, in locals: 17: failure = var.enabled && var.enable_failure ? file("Failed because failure mode is enabled") : null ├──────────────── │ while calling file(path) Invalid value for "path" parameter: no file exists at "Failed because failure mode is enabled"; this function works only with files that are distributed as part of the configuration source code, so if this file will be created by a resource in this configuration you must instead obtain this result from an attribute of that resource. # Error **Error:** subcommand exited with code 1 ``` </details> <details><summary>Metadata</summary> ```json { "component": "foobar-fail", "stack": "plat-ue2-sandbox", "componentPath": "tests/terraform/components/terraform/foobar", "commitSHA": "c503b93474651271dfa4c03f53f7ae8416af3a87" } ``` </details>' to contain '## Drift Detection Failed for `foobar-fail` in `plat-ue2-sandbox`! <a href="https://cloudposse.com/"><img src="https://cloudposse.com/logo-300x69.svg" width="100px" align="right"/></a> [![failed](https://shields.io/badge/PLAN-FAILED-ff0000?style=for-the-badge)](#user-content-result-plat-ue2-sandbox-foobar-fail) <details><summary><a id="result-plat-ue2-sandbox-foobar-fail" />:warning: Error summary</summary> <br/> To reproduce this locally, run:<br/><br/> ```shell atmos terraform plan foobar-fail -s plat-ue2-sandbox ``` --- ```hcl Error: Invalid function argument on main.tf line 17, in locals: 17: failure = var.enabled && var.enable_failure ? file("Failed because failure mode is enabled") : null ├──────────────── │ while calling file(path) Invalid value for "path" parameter: no file exists at "Failed because failure mode is enabled"; this function works only with files that are distributed as part of the configuration source code, so if this file will be created by a resource in this configuration you must instead obtain this result from an attribute of that resource. # Error

Artifacts

Produced during runtime
Name Size Digest
metadata-19476378277-a43cd8597a Expired
2.08 KB
sha256:aecf1409172abd029828e89b1d867d1f9e0064aab69f605e15ea3d53b1bda9d6