We saw in my last post here, how we can deploy ANF volumes in an existing Azure environments using existing VNETs, Resource Groups and Subnet. There seemed to be a bug in the tf provider that didn’t update the Active Directory credentials once specified in the .tf file. We had to make an additional API call to Azure NetApp Files to update the Active Directory credentials.
I just tested for deployment of ANF using Terraform once again and I can confirm that this bug is now fixed and an API call to update AD credentials is no longer needed. Sharing my sample code here:
Everything works as expected and we see a SMB volume deployed successfully and the mount path is available in the Azure portal!