This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
} | |
variable storage_account_resource_group_name { | |
type = string | |
} | |
variable storage_account_name { | |
type = string | |
} | |
variable container_name { | |
type = string | |
} | |
data azurerm_storage_account sa { | |
name = var.storage_account_name | |
resource_group_name = var.storage_account_resource_group_name | |
} | |
resource azurerm_storage_container container { | |
name = var.container_name | |
storage_account_name = data.azurerm_storage_account.sa.name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment