about summary refs log tree commit diff
path: root/users/glittershark/gws.fyi/Makefile
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-03-28T23·53-0400
committerglittershark <grfn@gws.fyi>2021-03-29T00·00+0000
commit3678a333275ac9a2b2aac01ba6a65b9edd8b5c4e (patch)
tree96ad8e9be41645ceee649a3296c3bc7b76a44781 /users/glittershark/gws.fyi/Makefile
parent70a8c44a07b1cacc82e68f7144c75c7e1b9d63bd (diff)
fix(gws.fyi): Explicitly specify personal profile to AWS r/2360
Explicitly pass --profile personal to AWS commands, to avoid deploying
this to the wrong aws account on accident

Change-Id: Iff8236967adcfdedfbace8930031db9adf60e3d1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2699
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/gws.fyi/Makefile')
-rw-r--r--users/glittershark/gws.fyi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/glittershark/gws.fyi/Makefile b/users/glittershark/gws.fyi/Makefile
index 83b60ef9bb52..a21bfe7b872e 100644
--- a/users/glittershark/gws.fyi/Makefile
+++ b/users/glittershark/gws.fyi/Makefile
@@ -16,6 +16,7 @@ renew:
 		--config-dir $(shell pwd)/letsencrypt/config
 	@echo "Reimporting certificate"
 	@aws acm import-certificate \
+	    --profile personal \
 	    --certificate file://letsencrypt/config/live/www.gws.fyi/cert.pem \
 	    --certificate-chain file://letsencrypt/config/live/www.gws.fyi/fullchain.pem \
 	    --private-key file://letsencrypt/config/live/www.gws.fyi/privkey.pem \