Class: TerraspacePluginAws::Interfaces::Backend

Inherits:
Object
  • Object
show all
Includes:
Terraspace::Plugin::Backend::Interface
Defined in:
lib/terraspace_plugin_aws/interfaces/backend.rb,
lib/terraspace_plugin_aws/interfaces/backend/base.rb,
lib/terraspace_plugin_aws/interfaces/backend/setup.rb,
lib/terraspace_plugin_aws/interfaces/backend/table.rb,
lib/terraspace_plugin_aws/interfaces/backend/bucket.rb

Defined Under Namespace

Classes: Base, Bucket, Setup, Table

Instance Method Summary collapse

Instance Method Details

#callObject

interface method



6
7
8
9
10
11
12
# File 'lib/terraspace_plugin_aws/interfaces/backend.rb', line 6

def call
  return unless TerraspacePluginAws.config.auto_create

  Setup.new(@info).check!
  Bucket.new(@info).create
  Table.new(@info).create
end