Skip to content

Releases: cloudposse/github-action-atmos-get-setting

v2.0.0

28 Aug 18:02
Compare
Choose a tag to compare
feat: (re)release `process-templates` flag override input @korenyoni (#60) ### What

This re-releases #58

Why

While the change in question is fully backwards compatible, as explained here, this is only true for atmos versions including and after 1.86.0.

We are going to release this change in 2.0.0 (of this repo).

v1.3.1

28 Aug 17:46
Compare
Choose a tag to compare

🐛 Bug Fixes

fix: revert "feature: add `process-templates` input" @korenyoni (#59) ### What

This reverts #58

Why

While the change in question is fully backwards compatible, as explained here, this is only true for atmos versions including and after 1.86.0.

We are going to release this change in 2.0.0.

v1.3.0

28 Aug 16:03
Compare
Choose a tag to compare

🚀 Enhancements

feature: add `process-templates` input @korenyoni (#58) ## what
  • Add process-templates input as the value of the --process-templates flag to pass to atmos describe component.
  • Add appropriate test cases.

why

  • Some template functions such as atmos.Component require authentication to remote backends. We should allow disabling this.

references

> Run cloudposse/github-action-atmos-get-setting@v1
template: all-atmos-sections:163:26: executing "all-atmos-sections" at <atmos.Component>: error calling Component: exit status 1

Error: error configuring S3 Backend: IAM Role (arn:aws:iam::xxxxxxxxxxxx:role/xxxx-core-gbl-root-tfstate) cannot be assumed.

There are a number of possible causes of this - the most common are:
  * The credentials used in order to assume the role are invalid
  * The credentials do not have appropriate permission to assume the role
  * The role ARN is not valid

Error: NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors

I've kept the default value of process-templates as true in order to ensure backwards compatibility.

🐛 Bug Fixes

feature: add `process-templates` input @korenyoni (#58) ## what
  • Add process-templates input as the value of the --process-templates flag to pass to atmos describe component.
  • Add appropriate test cases.

why

  • Some template functions such as atmos.Component require authentication to remote backends. We should allow disabling this.

references

> Run cloudposse/github-action-atmos-get-setting@v1
template: all-atmos-sections:163:26: executing "all-atmos-sections" at <atmos.Component>: error calling Component: exit status 1

Error: error configuring S3 Backend: IAM Role (arn:aws:iam::xxxxxxxxxxxx:role/xxxx-core-gbl-root-tfstate) cannot be assumed.

There are a number of possible causes of this - the most common are:
  * The credentials used in order to assume the role are invalid
  * The credentials do not have appropriate permission to assume the role
  * The role ARN is not valid

Error: NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors

I've kept the default value of process-templates as true in order to ensure backwards compatibility.

🤖 Automatic Updates

Update release workflow @osterman (#56) ## what - Update workflow (`.github/workflows/release.yaml`) to have permissions commenting PR

why

  • Add comments to PRs when it's changes are released

v1.2.2

21 May 22:35
Compare
Choose a tag to compare
Pin setup atmos github action @goruha (#54) ## what * Pin `setup-Atmos-action@v2` * Remove `dist` from `.gitignore`

why

references

  • DEV-381: Everything that uses setup-Atmos-action should point to v2

🤖 Automatic Updates

Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#53) ## what - Update workflows (`.github/workflows/settings.yaml`) to use shared workflows from `.github` repo

why

  • Reduce nested levels of reusable workflows
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#50) ## what - Update workflows (`.github/workflows/settings.yaml`)

why

  • Support new readme generation workflow.
  • Generate banners

v1.2.1

03 Mar 13:48
1ce5ff9
Compare
Choose a tag to compare
Update dependency eslint to v8.57.0 @renovate (#41)

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) 8.56.0 -> 8.57.0 age adoption passing confidence

Release Notes

eslint/eslint (eslint)

v8.57.0

Compare Source

Features

  • 1120b9b feat: Add loadESLint() API method for v8 (#​18098) (Nicholas C. Zakas)
  • dca7d0f feat: Enable eslint.config.mjs and eslint.config.cjs (#​18066) (Nitin Kumar)

Bug Fixes

  • 2196d97 fix: handle absolute file paths in FlatRuleTester (#​18064) (Nitin Kumar)
  • 69dd1d1 fix: Ensure config keys are printed for config errors (#​18067) (Nitin Kumar)
  • 9852a31 fix: deep merge behavior in flat config (#​18065) (Nitin Kumar)
  • 4c7e9b0 fix: allow circular references in config (#​18056) (Milos Djermanovic)

Documentation

Chores


Update dependency eslint-plugin-jest to v27.9.0 @renovate (#42)

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-jest 27.6.3 -> 27.9.0 age adoption passing confidence

Release Notes

jest-community/eslint-plugin-jest (eslint-plugin-jest)

v27.9.0

Compare Source

Features

v27.8.0

Compare Source

Features

v27.7.0

Compare Source

Features
  • allow [@typescript-eslint](https://togithub.com/typescript-eslint) v7 (#​1500) (6be2928)

27.6.3 (2024-01-12)

Bug Fixes

27.6.2 (2024-01-10)

Reverts

27.6.1 (2024-01-01)

Bug Fixes
  • include plugin meta information with snapshot processor for ESLint v9 (#​1484) (067e246)

Update dependency yaml to v2.4.0 @renovate (#43)

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
yaml (source) 2.3.4 -> 2.4.0 age adoption passing confidence

Release Notes

eemeli/yaml (yaml)

v2.4.0

Compare Source

  • Add a command-line tool (#​523)
  • Use the lineWidth option for line breaking in flow collections (#​522)

Read more

v1.2.0

22 Jan 22:45
0e36576
Compare
Choose a tag to compare
Update dependency msw to v2.1.3 @renovate (#24)

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
msw (source) 2.1.2 -> 2.1.3 age adoption passing confidence

Release Notes

mswjs/msw (msw)

v2.1.3

Compare Source

v2.1.3 (2024-01-22)

Bug Fixes

Update dependency dotenv to v16.3.2 @renovate (#23)

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dotenv 16.3.1 -> 16.3.2 age adoption passing confidence

Release Notes

motdotla/dotenv (dotenv)

v16.3.2

Compare Source

Added
  • Add debug message when no encoding set #​735
Changed
  • Fix output typing for populate #​792
  • Use subarray instead of slice #​793

Update actions/checkout action to v4 @renovate (#13)

This PR contains the following updates:

Package Type Update Change
actions/checkout action major v3 -> v4

Release Notes

actions/checkout (actions/checkout)

v4

Compare Source


Add/back shared workflow @mcalhoun (#26)

what

Add back missing workflow

add back missing workflow @mcalhoun (#25)

what

Add back main branch work flow that was accidentally deleted

add multi-key support @mcalhoun (#22)

what

Add the ability to specify multiple paths to retrieve along with the shape of the returned object

why

We have found users who are calling this action multiple times and then using jq to assemble the various outputs into a different object.

v1.1.0

10 Jan 20:39
a5bee0c
Compare
Choose a tag to compare
Pin atmos setup action @goruha (#21)

what

  • Pin atmos setup action

v1.0.0

13 Dec 00:15
faa6886
Compare
Choose a tag to compare
Get any info from atmos describe component @goruha (#17)

what

  • Remove restriction to settings section.

Why

  • To reuse this action for fetching component_info.component_path settings

Migrating from v0 to v1

Starting from v1 the action is no longer restricted to retrieving the component config from only the settings section..
If you want the same behavior in v1 as inv0, you should add the settings prefix to the value of the settings-path variable.

  - name: Get Atmos Setting for Secret ARN
    uses: cloudposse/github-action-atmos-get-setting@v1
    id: example
    with:
      component: foo
      stack: core-ue1-dev
      settings-path: settings.secrets-arn  

same behaviour as

  - name: Get Atmos Setting for Secret ARN
    uses: cloudposse/github-action-atmos-get-setting@v0
    id: example
    with:
      component: foo
      stack: core-ue1-dev
      settings-path: secrets-arn  

v0.4.1

03 Oct 09:33
4c121e3
Compare
Choose a tag to compare

🚀 Enhancements

Fix output file handling for components that contain slashes @osterman (#14)

what

  • Slash slashes in the path

why

  • Components may contain slashes (e.g. eks/cluster), which will cause redirection to the $OUTPUT_FILE to fail if the directory does not exist.

CleanShot 2023-09-14 at 15 30 57

v0.4.0

05 Sep 21:29
54fbb6c
Compare
Choose a tag to compare
Do not fail on missing component @zdmytriv (#12)

what

  • Do not fail on missing component

why

  • This action should not fail if component is missing

references