Skip to content

chore!: Remove deprecated support for non-path SSM API#503

Merged
bhavanki merged 1 commit intomasterfrom
remove-ssm-no-paths
Jun 5, 2024
Merged

chore!: Remove deprecated support for non-path SSM API#503
bhavanki merged 1 commit intomasterfrom
remove-ssm-no-paths

Conversation

@bhavanki
Copy link
Contributor

@bhavanki bhavanki commented Jun 3, 2024

Version 2.0 of chamber deprecated use of the non-path-based API for the
SSM parameter store. This commit removes support for it completely.

Since the deprecation occurred so long ago, this changeset does not
preserve the ability to migrate to using the path-based API. Migration
may be performed with a 2.x version of chamber prior to upgrading to
a 3.x version.

BREAKING CHANGE: Any users or clients still using the non-path-based SSM API will see errors working with the SSM parameter store.

Version 2.0 of chamber deprecated use of the non-path-based API for the
SSM parameter store. This commit removes support for it completely.

Since the deprecation occurred so long ago, this changeset does not
preserve the ability to migrate to using the path-based API. Migration
may be performed with a 2.x version of chamber prior to upgrading to
a 3.x version.
@bhavanki bhavanki requested a review from a team as a code owner June 3, 2024 18:04
@codecov
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

Attention: Patch coverage is 62.68657% with 25 lines in your changes are missing coverage. Please review.

Project coverage is 35.81%. Comparing base (b4e1590) to head (0f8609a).

Files Patch % Lines
store/ssmstore.go 66.00% 14 Missing and 3 partials ⚠️
environ/environ.go 45.45% 6 Missing ⚠️
cmd/exec.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
- Coverage   36.48%   35.81%   -0.67%     
==========================================
  Files          25       25              
  Lines        2360     2284      -76     
==========================================
- Hits          861      818      -43     
+ Misses       1421     1394      -27     
+ Partials       78       72       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bhavanki bhavanki changed the title chore: Remove deprecated support for non-path SSM API chore!: Remove deprecated support for non-path SSM API Jun 3, 2024
return true, nil
}

func NewTestSSMStore(parameters map[string]mockParameter, usePaths bool) *SSMStore {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love how this test had a usePaths boolean argument but the actual code used a noPaths boolean argument. Twisted my brain right up!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh geez, I don't know if I even noticed that

@bhavanki bhavanki merged commit e70bb44 into master Jun 5, 2024
@bhavanki bhavanki deleted the remove-ssm-no-paths branch June 5, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants