class TerraspacePluginAzurerm::Interfaces::Config

Public Instance Methods

defaults() click to toggle source

interface method must return an ActiveSupport::OrderedOptions

# File lib/terraspace_plugin_azurerm/interfaces/config.rb, line 14
def defaults
  c = ActiveSupport::OrderedOptions.new
  c.auto_create = true
  c.location = nil # AzureInfo.location not assigned here so it can be lazily inferred
  c.secrets = ActiveSupport::OrderedOptions.new
  c.secrets.vault = nil
  c.storage_account = ActiveSupport::OrderedOptions.new
  c.storage_account.sku = ActiveSupport::OrderedOptions.new
  c.storage_account.sku.name = "Standard_LRS"
  c.storage_account.sku.tier = "Standard"
  c
end
provider() click to toggle source

interface method load_project_config: config/plugins/azurerm.rb

# File lib/terraspace_plugin_azurerm/interfaces/config.rb, line 8
def provider
  "azurerm"
end