Compute Data / Storage Terraform Uncategorized

Azure NetApp Files with Terraform – Update!

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!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: