Skip to content

Conversation

@jamengual
Copy link
Contributor

@jamengual jamengual commented Nov 18, 2025

This pull request updates the action.yml workflow to improve how component paths are handled and cached. The main change is the introduction of a new output, component_cache_path, which stores the absolute path to the component for more reliable referencing in subsequent steps.

Improvements to path handling and caching:

  • Added calculation of COMPONENT_CACHE_PATH using realpath to ensure the component path is absolute, and exposed it as a new output variable (component_cache_path) for use in later steps. [1] [2]
  • Updated the cache restore step to use component_cache_path instead of the relative component_path, improving robustness when referencing the .terraform directory.

@github-actions
Copy link

github-actions bot commented Nov 18, 2025

Changes Found for foobar/changes in plat-ue2-sandbox


create

Plan: 1 to add, 0 to change, 0 to destroy.
To reproduce this locally, run:

atmos terraform plan foobar/changes -s plat-ue2-sandbox

Create

+ random_id.foo[0]
Terraform Plan Summary
  # random_id.foo[0] will be created
  + resource "random_id" "foo" {
      + b64_std     = (known after apply)
      + b64_url     = (known after apply)
      + byte_length = 8
      + dec         = (known after apply)
      + hex         = (known after apply)
      + id          = (known after apply)
      + keepers     = {
          + "seed" = "foo-plat-ue2-sandbox-blue"
        }
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Warning: Test warning summary

  with data.validation_warning.warn[0],
  on main.tf line 20, in data "validation_warning" "warn":
  20: data "validation_warning" "warn" {

Test warning details

Warning

Warning: Test warning summary

  with data.validation_warning.warn[0],
  on main.tf line 20, in data "validation_warning" "warn":
  20: data "validation_warning" "warn" {

Test warning details

@goruha goruha merged commit a0db945 into main Nov 21, 2025
59 of 61 checks passed
@goruha goruha deleted the fix-cache-key-path branch November 21, 2025 19:15
@github-actions
Copy link

These changes were released in v5.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants