Azure – access NSG id after AKS cluster created

I'm still relatively knew to TF (disclaimer). I'm creating AKS cluster using azurerm_kubernetes_cluster. Once that's created, there are some additional resources that get provisioned. One of them is Network Security Group.

I would like to enable network watcher flow logs once the cluster is provisioned. I can't seem to figure out how to access network security group id since it was not directly referenced in .tf files.

Any suggestions there?

submitted by /u/highwatersdev
[link] [comments]

Read more here: https://www.reddit.com/r/Terraform/comments/nwxnqe/azure_access_nsg_id_after_aks_cluster_created/

Content Attribution

This content was originally published by /u/highwatersdev at Terraform, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: