From 66f2ced194904126b07729efe9ea237735e42493 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 28 Jun 2018 19:18:42 +0100 Subject: Ensure the log directory exists in the AWS backend --- terraform/aws/mini_environment/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/aws/mini_environment/main.tf b/terraform/aws/mini_environment/main.tf index afeda8d..4247f8b 100644 --- a/terraform/aws/mini_environment/main.tf +++ b/terraform/aws/mini_environment/main.tf @@ -106,7 +106,7 @@ resource "aws_spot_instance_request" "main" { "sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443", "sudo iptables -A OUTPUT -t nat -o lo -p tcp --dport 80 -j REDIRECT --to-port 8080", "sudo iptables -A OUTPUT -t nat -o lo -p tcp --dport 443 -j REDIRECT --to-port 8443", - "sudo mkdir -p /var/cache/govuk-mini-environment-admin /var/lib/govuk-mini-environment-admin", + "sudo mkdir -p /var/cache/govuk-mini-environment-admin /var/lib/govuk-mini-environment-admin /var/log/govuk-mini-environment-admin", "sudo mv /home/ubuntu/govuk.service /etc/systemd/system/govuk.service", "sudo systemctl daemon-reload", "sudo systemctl enable govuk.service", -- cgit v1.2.3