Class: TerraspacePluginAzurerm::Interfaces::Backend

Inherits:
Object
  • Object
show all
Includes:
Terraspace::Plugin::Backend::Interface
Defined in:
lib/terraspace_plugin_azurerm/interfaces/backend.rb,
lib/terraspace_plugin_azurerm/interfaces/backend/base.rb,
lib/terraspace_plugin_azurerm/interfaces/backend/blob_container.rb,
lib/terraspace_plugin_azurerm/interfaces/backend/storage_account.rb,
lib/terraspace_plugin_azurerm/interfaces/backend/resource_group_creator.rb

Defined Under Namespace

Classes: Base, BlobContainer, ResourceGroupCreator, StorageAccount

Instance Method Summary collapse

Instance Method Details

#callObject

interface method



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

def call
  return unless Config.instance.config.auto_create

  ResourceGroupCreator.new(@info).create
  StorageAccount.new(@info).create
  BlobContainer.new(@info).create
end