Creating cert for alpha lb with domain validation

This commit is contained in:
shockrah committed 2023-10-02 20:54:47 -07:00
1 parent b7b0279847
commit 687e6a173b
3 files changed
+29 -2

No files matched your search

+14
View 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
View 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)"
Binary file not shown.