aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-04 17:12:25 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-04 17:12:25 +0100
commit447b95bdac6cdd5134e0f5f12fd62d65e2130dbc (patch)
tree5d4b048b500a183483cd570b23f256cdd66c4f48
parentf17724f4eb4f936619edf03894cbcffa7a03c31d (diff)
downloadgovuk-mini-environment-admin-447b95bdac6cdd5134e0f5f12fd62d65e2130dbc.tar
govuk-mini-environment-admin-447b95bdac6cdd5134e0f5f12fd62d65e2130dbc.tar.gz
Also share the /var/log directory with the host
-rw-r--r--app/models/backends/terraform_aws.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/backends/terraform_aws.rb b/app/models/backends/terraform_aws.rb
index f538cbf..db8d6cd 100644
--- a/app/models/backends/terraform_aws.rb
+++ b/app/models/backends/terraform_aws.rb
@@ -68,7 +68,8 @@ class Backends::TerraformAws < ApplicationRecord
origin_basic_auth: "#{slug}=#{slug}",
share: [
'/var/cache/govuk-mini-environment-admin=/var/cache',
- '/var/lib/govuk-mini-environment-admin=/var/lib'
+ '/var/lib/govuk-mini-environment-admin=/var/lib',
+ '/var/log/govuk-mini-environment-admin=/var/log'
]
},
run_remotely_on_host: "ubuntu@guix-daemon.#{domain}"