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



8
9
10
# File 'lib/humidifier/aws_adapters/sdkv1.rb', line 8

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

#deploy_change_setObject

Cannot deploy change sets in V1



13
14
15
# File 'lib/humidifier/aws_adapters/sdkv1.rb', line 13

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

#exists?(payload) ⇒ Boolean

True if the stack exists in CFN

Returns:

  • (Boolean)


18
19
20
# File 'lib/humidifier/aws_adapters/sdkv1.rb', line 18

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