diff options
Diffstat (limited to 'app/controllers/govuk_guix/revisions_controller.rb')
-rw-r--r-- | app/controllers/govuk_guix/revisions_controller.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/controllers/govuk_guix/revisions_controller.rb b/app/controllers/govuk_guix/revisions_controller.rb index e4e1b52..ad37009 100644 --- a/app/controllers/govuk_guix/revisions_controller.rb +++ b/app/controllers/govuk_guix/revisions_controller.rb @@ -36,11 +36,12 @@ class GovukGuix::RevisionsController < ApplicationController revision = params.require('revision') # Attempt to check if this can be performed locally - if Guix.available_locally? + if Guix.available_locally? && false # TODO options = {} else # Assume that the AWS backend is in use - backend = Backends::TerraformAws.first + backend = Backends::TerraformAwsUsingAmi.first || + Backends::TerraformAws.first options = { backend_type_and_id: backend.type_and_id |