go.mod: bump AWS SDK past a breaking API change of theirs

They changed a type in their SDK which meant others using the AWS APIs
in their Go programs (with newer AWS modules in their caller go.mod)
and then depending on Tailscale (for e.g. tsnet) then couldn't compile
ipn/store/awsstore.

Thanks to @thisisaaronland for bringing this up.

Fixes #7019

Change-Id: I8d2919183dabd6045a96120bb52940a9bb27193b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2023-01-20 09:59:51 -08:00
committed by Brad Fitzpatrick
parent 73399f784b
commit 6793685bba
4 changed files with 21 additions and 13 deletions

View File

@@ -105,7 +105,7 @@ func (s *awsStore) LoadState() error {
context.TODO(),
&ssm.GetParameterInput{
Name: aws.String(s.ParameterName()),
WithDecryption: true,
WithDecryption: aws.Bool(true),
},
)
@@ -167,7 +167,7 @@ func (s *awsStore) persistState() error {
&ssm.PutParameterInput{
Name: aws.String(s.ParameterName()),
Value: aws.String(string(bs)),
Overwrite: true,
Overwrite: aws.Bool(true),
Tier: ssmTypes.ParameterTierStandard,
Type: ssmTypes.ParameterTypeSecureString,
},