When a template is part of a template stack but is going to be destroyed as part of a plan it causes the apply to fail as its still apart of the parent template stack
Expected behavior
When a template is a part of a stack it should be disassociated then destroyed from the parent stack(s)
add an entry for force_detach = bool to the template resource to allow users to make the choice of whether to force a detach of the template from the stack
Steps to reproduce
Create a template
Assign template to stack
force recreation or destroy the template while its still a part of the stack via a terraform apply
Context
forces me to go into panorama and manually disassociate the template to complete the build
Describe the bug
When a template is part of a template stack but is going to be destroyed as part of a plan it causes the apply to fail as its still apart of the parent template stack
Expected behavior
When a template is a part of a stack it should be disassociated then destroyed from the parent stack(s)
Current behavior
Possible solution
add an entry for
force_detach = bool
to the template resource to allow users to make the choice of whether to force a detach of the template from the stackSteps to reproduce
Context
forces me to go into panorama and manually disassociate the template to complete the build