Infrastructure as code (#3)
* Moves website to website/ * Adds terraform gitignores * Terraform with AWS provider * Initialises Terraform * Locals and variables for provider * Fetches SSL certificate from ACM * S3 static website bucket * CloudFront distribution * Route53 records * Deployment workflow uses secret S3 bucket suffix * Adds README --------- Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com>
This commit is contained in:
4
infrastructure/acm.tf
Normal file
4
infrastructure/acm.tf
Normal file
@@ -0,0 +1,4 @@
|
||||
data "aws_acm_certificate" "joeac_ssl_certificate" {
|
||||
domain = local.domain
|
||||
statuses = ["ISSUED"]
|
||||
}
|
||||
Reference in New Issue
Block a user