Skip to content

Conversation

@milldr
Copy link
Member

@milldr milldr commented May 29, 2025

what

  • Moved JSON conversion into the plan step

why

  • Previously we were running the JSON conversion after we assumed another AWS role

references

  • This ultimately fixed an errors like this. The cache mentioned is entirely a red herring
Run tofu show -json "/home/runner/_work/infra-test/infra-test/components/terraform/s3-bucket/plat-ue2-sandbox-test-atmos-pro-3-xyz.planfile" > "/home/runner/_work/infra-test/infra-test/components/terraform/s3-bucket/plat-ue2-sandbox-test-atmos-pro-3-xyz.planfile.json"
╷
│ Error: missing or corrupted provider plugins:
│   - registry.opentofu.org/hashicorp/time: there is no package for registry.opentofu.org/hashicorp/time 0.13.1 cached in .terraform/providers

@milldr milldr changed the title fix: Resolve Caching Issues fix: JSON Planfile Conversion May 29, 2025
@milldr milldr marked this pull request as ready for review May 29, 2025 23:30
@milldr milldr requested review from a team as code owners May 29, 2025 23:30
@milldr milldr requested review from RoseSecurity and oycyc May 29, 2025 23:30
@milldr milldr added the patch A minor, backward compatible change label May 29, 2025
@milldr milldr merged commit bbba2f3 into main Jun 2, 2025
59 of 61 checks passed
@milldr milldr deleted the fix/caching branch June 2, 2025 19:01
@github-actions
Copy link

github-actions bot commented Jun 2, 2025

These changes were released in v5.1.1.

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

Labels

patch A minor, backward compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants