class TerraspacePluginAzurerm::Interfaces::Expander
Public Instance Methods
azure_info()
click to toggle source
# File lib/terraspace_plugin_azurerm/interfaces/expander.rb, line 21 def azure_info AzureInfo end
subscription_hash()
click to toggle source
subscription_hash
is a short 4-char consistent hash of the longer subscription id. This is useful because azure storage account names are not allowed special characters and are limited to 24 chars. NOTE: be careful to not change this! or else state path will change
# File lib/terraspace_plugin_azurerm/interfaces/expander.rb, line 28 def subscription_hash Digest::SHA1.hexdigest(subscription)[0..3] end
Also aliased as: namespace_hash