Skip to content

Releases: cloudposse/github-action-atmos-terraform-plan

v1.5.0

08 Mar 10:06
7d5a754
Compare
Choose a tag to compare
Update infracost/actions action to v3 @renovate (#69)

This PR contains the following updates:

Package Type Update Change
infracost/actions action major v2 -> v3

Release Notes

infracost/actions (infracost/actions)

v3

Compare Source


v1.4.0

27 Feb 14:37
49b724b
Compare
Choose a tag to compare
Artifact upload rollback v3 @goruha (#67)

what

  • Artifact upload rollback v3

why

broke in #65

v1.3.0

27 Feb 13:14
671eabe
Compare
Choose a tag to compare
Update hashicorp/setup-terraform action to v3 @renovate (#44)

This PR contains the following updates:

Package Type Update Change
hashicorp/setup-terraform action major v2 -> v3

Release Notes

hashicorp/setup-terraform (hashicorp/setup-terraform)

v3

Compare Source


Update aws-actions/configure-aws-credentials action to v4.0.2 @renovate (#59)

This PR contains the following updates:

Package Type Update Change
aws-actions/configure-aws-credentials action patch v4.0.1 -> v4.0.2

Release Notes

aws-actions/configure-aws-credentials (aws-actions/configure-aws-credentials)

v4.0.2

Compare Source


Update nick-fields/assert-action action to v2 @renovate (#60)

This PR contains the following updates:

Package Type Update Change
nick-fields/assert-action action major v1 -> v2

Release Notes

nick-fields/assert-action (nick-fields/assert-action)

v2

Compare Source


Update jaxxstorm/action-install-gh-release action to v1.11.0 @renovate (#62)

This PR contains the following updates:

Package Type Update Change
jaxxstorm/action-install-gh-release action minor v1.10.0 -> v1.11.0

Release Notes

jaxxstorm/action-install-gh-release (jaxxstorm/action-install-gh-release)

v1.11.0

Compare Source

What's Changed
New Contributors

Full Changelog: jaxxstorm/action-install-gh-release@v1...v1.11.0


Update GitHub Artifact Actions to v4 (major) @renovate (#65)

This PR contains the following updates:

Package Type Update Change
actions/download-artifact action major v3 -> v4
actions/upload-artifact action major v3 -> v4

Release Notes

actions/download-artifact (actions/download-artifact)

v4

Compare Source

actions/upload-artifact (actions/upload-artifact)

v4

Compare Source


v1.2.0

21 Feb 20:36
89449d2
Compare
Choose a tag to compare
Show no changes summary in regular plan mode @goruha (#64)

what

  • Show no changes summary in regular plan mode

why

  • Plan workflow should display a summary for all stacks, even if there are no changes

references

v1.1.0

08 Jan 21:06
6dd7fae
Compare
Choose a tag to compare
Save plan to s3 always (except error) @goruha (#56)

what

  • Save the plan even if there are no changes.
  • Do not compare the stored plan with the current one; just always save the plan to the s3 bucket

why

  • Fix atmos apply workflow errors when there are no changes
  • Remove complexity of the action
Fix rare pipeline failing @goruha (#55)

what

  • Get rid of pipeline in grep terraform output command

why

  • In infrequent cases the pipeline fails with a message
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
/runner/_work/_temp/df1589d2-68cc-40ec-a0d6-3622534dcc12.sh: line 48: echo: write error: Broken pipe
and found no differences, so no changes are needed.Found changes

That led to a summary with no-changes and wrong metadata JSON, leading to issues with apply and drift detection workflows.

You can find the example here https://github.com/cloudposse/infra-test/actions/runs/7398797169/job/20128803191

References

v1.0.0

18 Dec 12:48
003cc5a
Compare
Choose a tag to compare
Adopt Atmos GitOps Configuration File @goruha (#48)

what

  • Use Atmos GitOps Configuration File

Migrating from v1 to v2

v2 drop component-path variable. Now it fetches from atmos.yaml file automatically.

v2 moved variables from inputs to atmos gitops config path ./.github/config/atmos-gitops.yaml

name
atmos-version
atmos-config-path
terraform-state-bucket
terraform-state-table
terraform-state-role
terraform-plan-role
terraform-apply-role
terraform-version
aws-region
enable-infracost

If you want v2 having the same behaviour as v1 you should create config ./.github/config/atmos-gitops.yaml with the same variables as in v1 inputs.

  - name: Plan Atmos Component
    uses: cloudposse/github-action-atmos-terraform-plan@v1
    with:
      component: "foobar"
      stack: "plat-ue2-sandbox"
      atmos-gitops-config-path: ./.github/config/atmos-gitops.yaml

same behaviour as

  - name: Plan Atmos Component
    uses: cloudposse/github-action-atmos-terraform-plan@v1
    with:
      component: "foobar"
      stack: "plat-ue2-sandbox"
      component-path: "components/terraform/s3-bucket"
      terraform-plan-role: "arn:aws:iam::111111111111:role/acme-core-gbl-identity-gitops"
      terraform-state-bucket: "acme-core-ue2-auto-gitops"
      terraform-state-role: "arn:aws:iam::999999999999:role/acme-core-ue2-auto-gitops-gha"
      terraform-state-table: "acme-core-ue2-auto-gitops"
      aws-region: "us-east-2"
chore: refactor deletion warning message @milldr (#49)

what

  • Changed deletion warning to the following

[!CAUTION]
Terraform will delete resources!
This plan contains resource delete operations. Please check the plan result very carefully.

why

  1. Cleaner warning message
  2. There's currently a bug in GitHub Summary with emojis (⚠️ )

references

  • n/a

v0.24.0

21 Nov 15:51
4f4efc5
Compare
Choose a tag to compare
Install tfcmt @goruha (#47)

what

  • Install tfcmt to toolchain dir

why

  • Old action shmokmt/actions-setup-tfcmt@v2 installed tfcmt to global directory that lead to conflicts

v0.23.0

20 Nov 14:28
9610da2
Compare
Choose a tag to compare
Fix atmos remote state @goruha (#46)

what

  • Fix atmos remote state

why

  • Cloudposse utils provider need absolute path to atmos config

v0.22.0

20 Nov 12:51
f69e92f
Compare
Choose a tag to compare
Fix atmos config path @goruha (#45)

what

  • Fix atmos config path

v0.21.0

16 Oct 15:50
7ce5db8
Compare
Choose a tag to compare
Fix drift detection mode @goruha (#42)

what

  • Create metadata.json even if there is drift or error in drift mode

why

  • This behaviour expected by drift detection action