Skip to content

v5.1.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 23 Sep 19:42
· 7 commits to main since this release
Remove affected-components.json from .gitignore @goruha (#84) ## what * Add `.atmos` to `.gitignore`

why

  • Fix readme generation that adds all new generated files to readme PR
Name of the renewed planfile is passed to plan command - based on (#80) @goruha (#83) ## what

The name of the planfile is passed to the Atmos Terraform plan to avoid errors in file naming.

why

If the component name contains a slash (e.g., eks/app), atmos terraform plan creates a file named plat-ue1-dev-eks-app.planfile (at least for me with atmos = 1.187.0).

This action attempts to copy the file plat-ue1-dev-eks_app.planfile. This happens because of https://github.com/cloudposse/github-action-atmos-terraform-apply/blob/99b9b1eda20d0d77be6e4f18e1c67d0790104278/action.yml#L238

This is probably what causes my error after updating to v5.

cp: cannot stat '/home/runner/_work/***/***/deploy/atmos/components/terraform/eks/app/plat-ue1-dev-eks_app.planfile': No such file or directory

To correct this error and avoid similar ones in the future, I would suggest specifying the expected name of the planfile directly.

references

--skip-planfile behaviour

Thanks @angst-storm