Sha256: 962a7c80aed440d4fa9e7ec92dd5d3646b0d6cc8062ba2e96aac265d0fb84b1c

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

class Jets::CLI::Waf
  class Deploy < Base
    def run
      are_you_sure?
      Jets::Cfn::Bootstrap.new(@options).run
      Jets::Remote::Runner.new(@options.merge(command: "waf:deploy")).run
    end

    def are_you_sure?
      sure? <<~EOL
        Will deploy stack #{stack_name.color(:green)} to us-east-1

        Uses #{Jets.project.namespace} remote runner to deploy a separate stack for WAF resources.
      EOL
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-6.0.5 lib/jets/cli/waf/deploy.rb
jets-6.0.4 lib/jets/cli/waf/deploy.rb
jets-6.0.3 lib/jets/cli/waf/deploy.rb
jets-6.0.2 lib/jets/cli/waf/deploy.rb