Sha256: 857a1af89e6bd27d325c661876d6bc6b0d4bd32fe8781066bfcc49314d334406

Contents?: true

Size: 499 Bytes

Versions: 43

Compression:

Stored size: 499 Bytes

Contents

module EbDeployer
  class ResourceStacks
    def initialize(resources, cf_driver, skip_provision=false)
      @resources = resources
      @cf_driver = cf_driver
      @skip_provision = skip_provision
    end

    def provision(stack_name)
      provisioner = CloudFormationProvisioner.new(stack_name, @cf_driver)
      if @resources
        provisioner.provision(@resources) unless @skip_provision
        provisioner.transform_outputs(@resources)
      else
        []
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
eb_deployer-0.7.0 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.6 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.5 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.4 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.3 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.2 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.1 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.0 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.0.beta6 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.0.beta5 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.0.beta4 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.0.beta3 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.0.beta2 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.5.2 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.6.0.beta1 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.5.1.beta3 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.5.1.beta2 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.5.1.beta1 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.5.0 lib/eb_deployer/resource_stacks.rb
eb_deployer-0.4.13 lib/eb_deployer/resource_stacks.rb