Creating cert for alpha lb with domain validation
This commit is contained in:
parent
b7b0279847
commit
687e6a173b
14
infra/acm.tf
Normal file
14
infra/acm.tf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Here we are creating the cert that alpha LB will use
|
||||||
|
# Keeping the resource in this project repo because
|
||||||
|
# alpha does not depend on this resource and thus is our problem
|
||||||
|
|
||||||
|
resource "aws_acm_certificate" "website" {
|
||||||
|
domain_name = "temper.tv"
|
||||||
|
subject_alternative_names = [ "temper.tv" ]
|
||||||
|
validation_method = "DNS"
|
||||||
|
|
||||||
|
lifecycle {
|
||||||
|
create_before_destroy = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
13
infra/sample-set-env.sh
Normal file
13
infra/sample-set-env.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
[[ "${BASH_SOURCE[0]}" == "${0}" ]] && echo Script must be source\'d && exit 1
|
||||||
|
|
||||||
|
# For the cli
|
||||||
|
export AWS_ACCESS_KEY_ID="$(pass my_aws_key)"
|
||||||
|
export AWS_SECRET_ACCESS_KEY="$(pass my_aws_secret)"
|
||||||
|
export AWS_DEFAULT_REGION="<preferred-region>"
|
||||||
|
|
||||||
|
# AWS Creds from terraform
|
||||||
|
export TF_VAR_aws_key="$(pass my_aws_key)"
|
||||||
|
export TF_VAR_aws_secret="$(pass my_aws_secret)"
|
||||||
|
|
BIN
main-site/static/img/dev.png
(Stored with Git LFS)
BIN
main-site/static/img/dev.png
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user