mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
removed container resource; added terraform show
This commit is contained in:
parent
77775462ff
commit
7a34501edf
@ -14,7 +14,8 @@ docker run --rm -it \
|
|||||||
-c "/bin/terraform get; \
|
-c "/bin/terraform get; \
|
||||||
/bin/terraform validate; \
|
/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 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
|
# cleanup deployed azure resources via terraform
|
||||||
|
@ -45,13 +45,6 @@ resource "azurerm_storage_account" "stor" {
|
|||||||
account_type = "${var.storage_account_type}"
|
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" {
|
resource "azurerm_managed_disk" "datadisk" {
|
||||||
name = "${var.hostname}-datadisk"
|
name = "${var.hostname}-datadisk"
|
||||||
location = "${var.location}"
|
location = "${var.location}"
|
||||||
|
Loading…
Reference in New Issue
Block a user