terraform-provider-bigip
terraform-provider-bigip copied to clipboard
bigip_sys_dns and bigip_sys_ntp resources remain after terraform destroy
Environment
- TMOS/Bigip Version: Bigip 16.1.3.1 (AWS: BIG-IP 16.1.3.1 Build 0.0.11 Point Release 1 Cryptographic Module for BIG-IP)
- Terraform Version: 1.3.1
- Terraform bigip provider Version: 1.15.2
Summary
DNS and NTP resources are not being destroyed by terraform. See attached main.tf for sample terraform code.
bigip_sys_dns and bigip_sys_ntp code samples were copied directly from:
https://registry.terraform.io/providers/F5Networks/bigip/latest/docs/resources/bigip_sys_dns https://registry.terraform.io/providers/F5Networks/bigip/latest/docs/resources/bigip_sys_ntp
Steps To Reproduce
Steps to reproduce the behavior:
- Provide terraform resource config which you are facing trouble along with the output of it.
attached - main.tf main.tf.txt
Using attached main.tf:
- terraform apply will create the ntp and dns resources
- terraform destroy will not remove the ntp and dns resources
- To get to know more about the issue, provide terraform debug logs
attached:
tf_apply_log.txt tf_destroy_log.txt
-
To capture debug logs, export TF_LOG variable with debug ( export TF_LOG= DEBUG ) before runnning terraform apply/plan
-
As3/DO json along with the resource config( for AS3/DO resource issues )
Expected Behavior
dns and ntp records will disappear from Bigip
Actual Behavior
dns and ntp records are still in Bigip
see attached, from menu: System -> Configuration -> Device -> [NTP / DNS]
