Sha256: bab236f6fd6ca02a81d1a0c865413acb12b39b99d7f8d7729e84dc3abbd76504
Contents?: true
Size: 817 Bytes
Versions: 6
Compression:
Stored size: 817 Bytes
Contents
module TerraspacePluginAzurerm::Interfaces class Config include Terraspace::Plugin::Config::Interface include Singleton # Config class must be a Singleton with the class .instance method # interface method # load_project_config: config/plugins/azurerm.rb def provider "azurerm" end # interface method # must return an ActiveSupport::OrderedOptions 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.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 end end
Version data entries
6 entries across 6 versions & 1 rubygems