Skip to content

Commit

Permalink
add provider/appconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ktong committed Feb 4, 2024
1 parent a9a948a commit ac8179b
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ updates:
schedule:
interval: daily

- package-ecosystem: gomod
directory: /provider/appconfig
labels:
- Skip-Changelog
schedule:
interval: daily

- package-ecosystem: github-actions
directory: /
labels:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
benchmark:
strategy:
matrix:
module: [ '', 'provider/file', 'provider/pflag' ]
module: [ '', 'provider/file', 'provider/pflag', 'provider/appconfig' ]
name: Benchmark
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
coverage:
strategy:
matrix:
module: [ '', 'provider/file', 'provider/pflag' ]
module: [ '', 'provider/file', 'provider/pflag', 'provider/appconfig' ]
name: Coverage
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
lint:
strategy:
matrix:
module: [ '', 'provider/file', 'provider/pflag' ]
module: [ '', 'provider/file', 'provider/pflag', 'provider/appconfig' ]
name: Lint
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
tag:
strategy:
matrix:
module: [ 'provider/file', 'provider/pflag' ]
module: [ 'provider/file', 'provider/pflag', 'provider/appconfig' ]
name: Submodules
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test:
strategy:
matrix:
module: [ '', 'provider/file', 'provider/pflag' ]
module: [ '', 'provider/file', 'provider/pflag', 'provider/appconfig' ]
run-on: [ 'ubuntu', 'macOS', 'windows' ]
go-version: [ 'stable' ]
name: Test
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

- add Config.Explain to provide information about how Config resolve each value from loaders (#78).
- add Default to get the default Config (#81).
- add AWS AppConfig Loader (#92).

### Changed

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ There are providers for the following configuration sources:
- [`file`](provider/file) loads configuration from a file.
- [`flag`](provider/flag) loads configuration from flags.
- [`pflag`](provider/pflag) loads configuration from [spf13/pflag](https://github.com/spf13/pflag).
- [`appconfig`](provider/appconfig) loads configuration from [AWS AppConfig](https://aws.amazon.com/systems-manager/features/appconfig/).

## Inspiration

Expand Down
3 changes: 3 additions & 0 deletions provider/appconfig/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/nil-go/konf/provider/appconfig

go 1.21

0 comments on commit ac8179b

Please sign in to comment.