removed container resource; added terraform show

This commit is contained in:
Scott Nowicki 2017-04-27 17:13:19 -05:00
parent 77775462ff
commit 7a34501edf
2 changed files with 2 additions and 8 deletions

View File

@ -14,7 +14,8 @@ docker run --rm -it \
-c "/bin/terraform get; \
/bin/terraform validate; \
/bin/terraform plan -out=out.tfplan -var dns_name=$KEY -var hostname=$KEY -var resource_group=$KEY -var admin_password=$PASSWORD; \
/bin/terraform apply out.tfplan"
/bin/terraform apply out.tfplan; \
/bin/terraform show;"
# cleanup deployed azure resources via terraform

View File

@ -45,13 +45,6 @@ resource "azurerm_storage_account" "stor" {
account_type = "${var.storage_account_type}"
}
resource "azurerm_storage_container" "storc" {
name = "${var.hostname}-vhds"
resource_group_name = "${azurerm_resource_group.rg.name}"
storage_account_name = "${azurerm_storage_account.stor.name}"
container_access_type = "private"
}
resource "azurerm_managed_disk" "datadisk" {
name = "${var.hostname}-datadisk"
location = "${var.location}"