Skip to content

Commit

Permalink
feat: Add ConfigProvider to ssm package
Browse files Browse the repository at this point in the history
  • Loading branch information
floydspace committed Sep 7, 2024
1 parent b22c449 commit 225585c
Show file tree
Hide file tree
Showing 27 changed files with 1,143 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/violet-moose-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect-aws/ssm": major
---

Implement `fromParameterStore` ConfigProvider constructor
10 changes: 9 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ new TypeScriptLibProject({
peerDeps: commonPeerDeps,
});

new TypeScriptLibProject({
const ssmClient = new TypeScriptLibProject({
parent: project,
name: "client-ssm",
deps: [...commonDeps, "@aws-sdk/client-ssm@^3"],
Expand Down Expand Up @@ -193,8 +193,16 @@ const secretsManager = new TypeScriptLibProject({
peerDeps: [...commonPeerDeps, secretsManagerClient.package.packageName],
});

const ssm = new TypeScriptLibProject({
parent: project,
name: "ssm",
devDeps: ["@aws-sdk/client-ssm@^3", "@fluffy-spoon/substitute"],
peerDeps: [...commonPeerDeps, ssmClient.package.packageName],
});

project.addImplicitDependency(dynamodbLib, dynamodbClient);
project.addImplicitDependency(secretsManager, secretsManagerClient);
project.addImplicitDependency(ssm, ssmClient);

project.addGitIgnore(".direnv/"); // flake environment creates .direnv folder
project.addGitIgnore("docs/"); // docs are generated
Expand Down
3 changes: 2 additions & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

126 changes: 126 additions & 0 deletions packages/ssm/.eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions packages/ssm/.gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions packages/ssm/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions packages/ssm/.npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/ssm/.prettierignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/ssm/.prettierrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 72 additions & 0 deletions packages/ssm/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions packages/ssm/.projen/files.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 225585c

Please sign in to comment.