Module: TerraspacePluginAzurerm
- Extended by:
- TerraspacePluginAzurerm
- Included in:
- TerraspacePluginAzurerm
- Defined in:
- lib/terraspace_plugin_azurerm.rb,
lib/terraspace_plugin_azurerm/logging.rb,
lib/terraspace_plugin_azurerm/version.rb,
lib/terraspace_plugin_azurerm/autoloader.rb
Defined Under Namespace
Modules: Interfaces, Logging
Classes: Autoloader, Error
Constant Summary
collapse
- VERSION =
"0.7.1"
- @@logger =
nil
Instance Method Summary
collapse
Instance Method Details
#config ⇒ Object
23
24
25
|
# File 'lib/terraspace_plugin_azurerm.rb', line 23
def config
Interfaces::Config.instance.config
end
|
Friendlier method for config/plugins/azurerm.rb. Example:
TerraspacePluginAzurerm.configure do |config|
config.resource.property = "value"
end
19
20
21
|
# File 'lib/terraspace_plugin_azurerm.rb', line 19
def configure(&block)
Interfaces::Config.instance.configure(&block)
end
|
#logger ⇒ Object
28
29
30
|
# File 'lib/terraspace_plugin_azurerm.rb', line 28
def logger
@@logger ||= Terraspace.logger
end
|
#logger=(v) ⇒ Object
32
33
34
|
# File 'lib/terraspace_plugin_azurerm.rb', line 32
def logger=(v)
@@logger = v
end
|