Skip to content

Commit 2f19ece

Browse files
Henry SouleHenry Soule
authored andcommitted
upgrade to go 1.24
1 parent 382610c commit 2f19ece

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/corbaltcode/go-libraries
22

3-
go 1.22
4-
5-
toolchain go1.24.3
3+
go 1.24.4
64

75
require (
86
github.com/aws/aws-sdk-go-v2 v1.38.0

ssmenv/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# ssmenv
2-
This package allows you to load environment variables from SSM. Any environment variable whose value is set as `LOADFROMSSM:<ssm-parameter-name>` will be loaded with the correct value from SSM. To use it, import this package as `_ "github.com/corbaltcode/go-libraries/ssmenv"` wherever the environment variable is being used, and the `ssmenv` script with set the correct value.
2+
This package allows you to load environment variables from SSM. Any environment variable with its value set to `LOADFROMSSM:<ssm-parameter-name>` will be loaded with the correct value from SSM. To use it, import this package as `_ "github.com/corbaltcode/go-libraries/ssmenv"` wherever the environment variable is being used, and the `ssmenv` script with set the correct value.
33

4-
For example, if you have a SSM parameter named `example-ssm-parameter` whose value you'd like to set on an environment variable named `ENVIRONMENT_VAR`, you'd set this environment variable with the follwoing: `ENVIRONMENT_VAR=LOADFROMSSM:example-ssm-parameter`. In your Go code that uses `ENVIRONMENT_VAR`, you'd import this pacakge as explained above, and the correct value will be loaded from SSM for `ENVIRONMENT_VAR`
4+
For example, if you have a SSM parameter named `example-ssm-parameter`, and you'd like to set its value set on an environment variable named `ENVIRONMENT_VAR`, you'd set the value of `ENVIRONMENT_VAR` to `LOADFROMSSM:example-ssm-parameter`. In your Go code that uses `ENVIRONMENT_VAR`, you'd import this pacakge as explained above, and the correct value will be loaded from SSM for `ENVIRONMENT_VAR`.

0 commit comments

Comments
 (0)