# Azurerm\_cognitive\_account independent network\_acls

**URL:** <https://discuss.hashicorp.com/t/azurerm-cognitive-account-independent-network-acls/71960>\
**Category:** Azure\
**Tags:** azure\
**Created:** [December 13, 2024, 2:12pm UTC](https://discuss.hashicorp.com/t/azurerm-cognitive-account-independent-network-acls/71960 "2024-12-13T14:12:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sachin.chugh](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sachin.chugh/32/44161_2.png) [@sachin.chugh](https://discuss.hashicorp.com/u/sachin.chugh)\
**Post date:** [December 13, 2024, 2:12pm UTC](https://discuss.hashicorp.com/t/azurerm-cognitive-account-independent-network-acls/71960/1 "2024-12-13T14:12:18Z")

</div>

I have implemented single terraform script with two variable files, one for Dev and another for QA. In script, I had created azurerm\_cognitive\_account which is shared between Dev and QA environment and created with Dev script.

I need to restrict open ai to be accessible only from these 4 subnets.

My Vnet and Subnets are getting created in respective environment terraform scripts i.e. two subnets of dev are created using Dev terraform script and two other are getting created via QA terraform script.

As in QA i don’t create a cognitive service account but still i need to add two Subnets to network\_acls. Right now i don’t find independent network\_acls for azurerm\_cognitive\_account which can be executed to attach network ACLs for already existing azurerm\_cognitive\_account.

Appreciate your help on this. Let me know if any other information is required.
