Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom policy for private dns for openai #29

Closed
wants to merge 12 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"Deny-Public-IP-On-NIC",
"Deploy-Private-DNS-Zones",
"Deploy-Private-DNS-Sql",
"Deploy-Pvt-DNS-OpenAI",
"MicrosoftCISv2",
"NIST-SP-800-53-Rev5"
],
Expand All @@ -31,7 +32,7 @@
"Deploy-Private-DNS-Sql": {
"privateDnsZoneId": "SET using local.archetype_config_overrides"
},
"Deploy-Private-DNS-OpenAI": {
"Deploy-Pvt-DNS-OpenAI": {
"privateDnsZoneId": "SET using local.archetype_config_overrides"
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Deploy-Private-DNS-OpenAI",
"name": "Deploy-Pvt-DNS-OpenAI",
"type": "Microsoft.Authorization/policyAssignments",
"apiVersion": "2024-04-01",
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion caf_cccs_medium/modules/core/settings.core.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ locals {
Deploy-Private-DNS-Sql = {
privateDnsZoneId : "/subscriptions/${var.subscription_id_connectivity}/resourceGroups/${var.root_id}-dns/providers/Microsoft.Network/privateDnsZones/privatelink.database.windows.net",
}
"Deploy-Private-DNS-OpenAI" = {
"Deploy-Pvt-DNS-OpenAI" = {
privateDnsZoneId : "/subscriptions/${var.subscription_id_connectivity}/resourceGroups/${var.root_id}-dns/providers/Microsoft.Network/privateDnsZones/privatelink.openai.azure.com",
}
}
Expand Down
Loading