Class: Humidifier::AwsAdapters::SDKV1

Inherits:
Base
  • Object
show all
Defined in:
lib/humidifier/aws_adapters/sdkv1.rb

Overview

The adapter for v1 of aws-sdk

Instance Method Summary collapse

Methods inherited from Base

#create, #delete, #deploy, #update, #upload, #valid?

Instance Method Details

#create_change_setObject

Cannot create change sets in V1



6
7
8
# File 'lib/humidifier/aws_adapters/sdkv1.rb', line 6

def create_change_set(*)
  unsupported('create change set')
end

#deploy_change_setObject

Cannot deploy change sets in V1



11
12
13
# File 'lib/humidifier/aws_adapters/sdkv1.rb', line 11

def deploy_change_set(*)
  unsupported('deploy change set')
end

#exists?(payload) ⇒ Boolean

True if the stack exists in CFN

Returns:

  • (Boolean)


16
17
18
# File 'lib/humidifier/aws_adapters/sdkv1.rb', line 16

def exists?(payload)
  base_module::CloudFormation::Stack.new(payload.identifier).exists?
end