diff --git a/beneggerscom/test/ssg/input_files/test_markdown.py b/beneggerscom/test/ssg/input_files/test_markdown.py index 35a1c4f..a344381 100644 --- a/beneggerscom/test/ssg/input_files/test_markdown.py +++ b/beneggerscom/test/ssg/input_files/test_markdown.py @@ -14,8 +14,8 @@ def test_title_and_meta_title(): "\n" ) md = MarkdownFile.from_lines(in_md) - assert md.title == "Test Title" - assert md.meta_title == "Test Title | Ben Eggers dot com" + assert md.title == "Test title" + assert md.meta_title == "Test title | Ben Eggers dot com" def test_raises_with_no_title(): @@ -52,7 +52,7 @@ def test_manual_meta_title(): "\n" ) md = MarkdownFile.from_lines(in_md) - assert md.title == "Test Title" + assert md.title == "Test title" assert md.meta_title == "Test meta title" diff --git a/terraform/main.tf b/terraform/main.tf index 929237e..16d6827 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -37,6 +37,18 @@ module "index" { zone_id = aws_route53_zone.main.zone_id } +module "improvements_1_posts" { + source = "./zone_deployment" + + content_type = "text/html" + domain_aliases = [] + file = "improvements-1.html" + file_directory = "../public/posts/" + fqdn = "improvements-1.posts.${var.domainName}" + source_hash = filemd5("../public/posts/improvements-1.html") + zone_id = aws_route53_zone.main.zone_id +} + module "posts" { source = "./zone_deployment" diff --git a/terraform/outputs_autogen.tf b/terraform/outputs_autogen.tf index 4b3b653..0de9f5c 100644 --- a/terraform/outputs_autogen.tf +++ b/terraform/outputs_autogen.tf @@ -76,6 +76,31 @@ output "index_cert_validation_record" { } +output "improvements_1_posts_cloudfront_distribution_id" { + value = module.improvements_1_posts.cloudfront_distribution_id +} + +output "improvements_1_posts_hosted_zone_id" { + value = module.improvements_1_posts.hosted_zone_id +} + +output "improvements_1_posts_bucket_id" { + value = module.improvements_1_posts.bucket_id +} + +output "improvements_1_posts_bucket_regional_domain_name" { + value = module.improvements_1_posts.bucket_regional_domain_name +} + +output "improvements_1_posts_cert_arn" { + value = module.improvements_1_posts.cert_arn +} + +output "improvements_1_posts_cert_validation_record" { + value = module.improvements_1_posts.cert_validation_record +} + + output "posts_cloudfront_distribution_id" { value = module.posts.cloudfront_distribution_id }