aboutsummaryrefslogtreecommitdiff
path: root/app/models/backends/terraform_aws.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/backends/terraform_aws.rb')
-rw-r--r--app/models/backends/terraform_aws.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/models/backends/terraform_aws.rb b/app/models/backends/terraform_aws.rb
index 299b5b5..f538cbf 100644
--- a/app/models/backends/terraform_aws.rb
+++ b/app/models/backends/terraform_aws.rb
@@ -65,7 +65,11 @@ class Backends::TerraformAws < ApplicationRecord
signon_instance_name: slug,
admin_environment_label: mini_environment.name,
use_error_pages: 'true',
- origin_basic_auth: "#{slug}=#{slug}"
+ origin_basic_auth: "#{slug}=#{slug}",
+ share: [
+ '/var/cache/govuk-mini-environment-admin=/var/cache',
+ '/var/lib/govuk-mini-environment-admin=/var/lib'
+ ]
},
run_remotely_on_host: "ubuntu@guix-daemon.#{domain}"
)