Sha256: 4090376486c27938aac0d36b569b9b6c6696db0e64e8d09233c8e4f314b44ff5

Contents?: true

Size: 707 Bytes

Versions: 18

Compression:

Stored size: 707 Bytes

Contents

resource "random_pet" "this" {
  length = 2 # using 2, since default separator is '-', also account name can only be 24 characters, and lowercase letters
  separator = ""# a blank string separator because azure storage accounts dont support - characters
}

resource "azurerm_resource_group" "this" {
  name     = "demo-resources-${random_pet.this.id}"
  location = "eastus"
}

module "storage_account" {
  source                    = "../../modules/example"
  name                      =  "sa${random_pet.this.id}"
  resource_group_name       = azurerm_resource_group.this.name
  location                  = azurerm_resource_group.this.location
  enable_https_traffic_only = var.enable_https_traffic_only
}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
terraspace_plugin_azurerm-0.7.1 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.7.0 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.6.2 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.6.1 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.6.0 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.5.1 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.5.0 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.4.0 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.3.3 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.3.2 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.3.1 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.3.0 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.2.3 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.2.2 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.2.1 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.2.0 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.1.1 lib/templates/hcl/stack/main.tf
terraspace_plugin_azurerm-0.1.0 lib/templates/hcl/stack/main.tf