Problem
The Azure subnet resource is defined in ansible_roles/roles/azure_create/files/tf/main_net_p2_sub.tf as a separate file. This causes terraform plan dependency/ordering issues when combined with the resources in main_net_p1.tf.
Impact
Terraform plan fails for Azure deployments due to resource dependency issues between the two files.
Location
ansible_roles/roles/azure_create/files/tf/main_net_p2_sub.tf
Suggested fix
Merge the subnet resource from main_net_p2_sub.tf into main_net_p1.tf and remove or empty the original file.
Problem
The Azure subnet resource is defined in
ansible_roles/roles/azure_create/files/tf/main_net_p2_sub.tfas a separate file. This causes terraform plan dependency/ordering issues when combined with the resources inmain_net_p1.tf.Impact
Terraform plan fails for Azure deployments due to resource dependency issues between the two files.
Location
ansible_roles/roles/azure_create/files/tf/main_net_p2_sub.tfSuggested fix
Merge the subnet resource from
main_net_p2_sub.tfintomain_net_p1.tfand remove or empty the original file.