[BUG] Azure network security groups: eplicli apply makes changes when configuration file is not changed #1570
Labels
area/terraform
provider/azure
python
Pull requests that update Python code
type/bug
type/low-hanging-fruit
Good, nice, simple task
Describe the bug
epicli apply
is not idempotent on Azure. Odd runs attach network security groups to subnets and even runs detach.To Reproduce
Steps to reproduce the behavior:
epicli apply -f az_nsg_association_bug.yml
Expected behavior
Terraform should not modify associations (state) unless configuration has been changed.
Config files
If applicable, add config files to help explain your problem.
https://app.zenhub.com/files/164668263/af24eadf-1a93-45d7-b166-d880fb4612d9/download
Cloud Environment
Cloud Provider: Azure
Additional context
Found in version 0.7.1.
More details
In Azure Portal (Home | repro-nsg-association-bug-kubernetes-master-vm-0 | Networking):
During second run:
In Azure Portal (Home | repro-nsg-association-bug-kubernetes-master-vm-0 | Networking):
The text was updated successfully, but these errors were encountered: