]> git.maquefel.me Git - brevno-suite/hugo/commit
deploy: Create AWS session for CloudFront invalidation via Go CDK
authorMatt Brown <matt@mattb.net.nz>
Sat, 8 Jul 2023 12:00:45 +0000 (00:00 +1200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 30 Aug 2023 13:38:20 +0000 (16:38 +0300)
commitc3f273b2d7b18f921410cde6e01442694cda5fe7
treecb521da0e0bc16180c6cad9ed5c4ef20e643b14a
parentd7dcc76d27dc55b10b9a5c4294c4a883d0bdfb2e
deploy: Create AWS session for CloudFront invalidation via Go CDK

This allows the AWS credentials to be picked up from the configured
target URL (like blob does) rather than the current behaviour of only
relying on the defaults.

Relying on the defaults here means having to specify credentials twice
(once in the URL for the blob, once in the environment for this code
path) when non-default AWS credentials are in used (e.g. via a profile).
deploy/cloudfront.go
deploy/deploy.go