If I use the template within terraform, this will do the deployment as expected, but terraform will never come back:
azurerm_template_deployment.bigip: Still creating... (24m0s elapsed)
azurerm_template_deployment.bigip: Still creating... (24m10s elapsed)
azurerm_template_deployment.bigip: Still creating... (24m20s elapsed)
azurerm_template_deployment.bigip: Still creating... (24m30s elapsed)
azurerm_template_deployment.bigip: Still creating... (24m40s elapsed)
Alfter changing
deployment_mode = "Complete"
to
deployment_mode = "Incremental"
It works fine:
azurerm_template_deployment.bigip: Still creating... (8m40s elapsed)
azurerm_template_deployment.bigip: Still creating... (8m50s elapsed)
azurerm_template_deployment.bigip: Still creating... (9m0s elapsed)
azurerm_template_deployment.bigip: Creation complete after 9m6s (ID: /subscriptions/3f2792ab-041b-81e9-24a3-...osoft.Resources/deployments/bigip-temp)
Is there a specific reason to use Complete? Can we change this to Incremental by default?
Additional I want to mention, that the destruction still doesn't work. I does something, but the VE didn't get removed:
azurerm_template_deployment.bigip: Destroying... (ID: /subscriptions/3f2792ab-041b-81e9-24a3-...osoft.Resources/deployments/bigip-temp)
azurerm_template_deployment.bigip: Still destroying... (ID: /subscriptions/3f2792ab-041b-81e9-24a3-...osoft.Resources/deployments/bigip-temp, 10s elapsed)
azurerm_template_deployment.bigip: Still destroying... (ID: /subscriptions/3f2792ab-041b-81e9-24a3-...osoft.Resources/deployments/bigip-temp, 20s elapsed)
azurerm_template_deployment.bigip: Still destroying... (ID: /subscriptions/3f2792ab-041b-81e9-24a3-...osoft.Resources/deployments/bigip-temp, 30s elapsed)
azurerm_template_deployment.bigip: Destruction complete after 34s
Is it possible to implement a destructor part as well in the arm template to get this working? I am not sure, if this is an arm template or terraform issue, or if this is in principle not possible.
Description
If I use the template within terraform, this will do the deployment as expected, but terraform will never come back:
Alfter changing
deployment_mode = "Complete"
todeployment_mode = "Incremental"
It works fine:Is there a specific reason to use Complete? Can we change this to Incremental by default?
Additional I want to mention, that the destruction still doesn't work. I does something, but the VE didn't get removed:
Is it possible to implement a destructor part as well in the arm template to get this working? I am not sure, if this is an arm template or terraform issue, or if this is in principle not possible.
Thanks
Template
I use the following template with version 5.5.0.0 https://github.com/F5Networks/f5-azure-arm-templates/blob/master/supported/standalone/3nic/existing-stack/byol/azuredeploy.json
Severity Level
Severity: 4