I have a HEAT template where I am creating one server instance and attaching the CINDER volume with the instance. CINDER volume is created manually and cinder_instance_id is passed as an environmental variable in HEAT template.
Now, when I delete the stack it deletes the server instance but NOT the CINDER volume.
For, me it is correct behavior as we have not created volume as part of OpenStack HEAT template, we are not able to delete the volume as part of stack deletion.
Same applies to the network. We pass network id, which we want to bring our server instance on, to HEAT template. This network doesn't get deleted when we delete our stack.
I was not able to find any official document where this behavior is mention, assuming my understanding is correct. Is this correct behavior? If yes, where it is mentioned?