Sha256: 142a9c62686bf82885e993ac1f48b8002f4c1a9dfc60c0bef752b0f63a8339ae

Contents?: true

Size: 519 Bytes

Versions: 15

Compression:

Stored size: 519 Bytes

Contents

require_relative '../lib/convection'

module Convection
  module Demo
    FOOBAR = Convection.template do
      description 'Demo Foobar'

      ec2_instance 'Foobar' do
        subnet stack.get('vpc', 'TargetVPCSubnetPublic3')
        security_group stack.get('security-groups', 'Foobar')

        image_id stack['foobar-image']
        instance_type 'm3.medium'
        key_name 'production'

        tag 'Name', 'foobar-0'
        tag 'Service', 'foobar'
        tag 'Stack', stack.cloud
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
convection-0.2.15 example/foobar.rb
convection-0.2.14 example/foobar.rb
convection-0.2.13 example/foobar.rb
convection-0.2.12 example/foobar.rb
convection-0.2.11 example/foobar.rb
convection-0.2.10 example/foobar.rb
convection-0.2.9 example/foobar.rb
convection-0.2.8 example/foobar.rb
convection-0.2.7 example/foobar.rb
convection-0.2.6 example/foobar.rb
convection-0.2.5 example/foobar.rb
convection-0.2.4 example/foobar.rb
convection-0.2.3 example/foobar.rb
convection-0.2.2 example/foobar.rb
convection-0.2.1 example/foobar.rb