-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocals.tf
94 lines (90 loc) · 3.31 KB
/
locals.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
locals {
# Core service validation lists
valid_service_endpoints = [
"Microsoft.AzureActiveDirectory",
"Microsoft.AzureCosmosDB",
"Microsoft.ContainerRegistry",
"Microsoft.EventHub",
"Microsoft.KeyVault",
"Microsoft.ServiceBus",
"Microsoft.Sql",
"Microsoft.Storage",
"Microsoft.Web"
]
valid_delegations = [
"GitHub.Network/networkSettings",
"Informatica.DataManagement/organizations",
"Microsoft.ApiManagement/service",
"Microsoft.Apollo/npu",
"Microsoft.App/environments",
"Microsoft.App/testClients",
"Microsoft.AVS/PrivateClouds",
"Microsoft.AzureCosmosDB/clusters",
"Microsoft.BareMetal/AzureHostedService",
"Microsoft.BareMetal/AzureHPC",
"Microsoft.BareMetal/AzurePaymentHSM",
"Microsoft.BareMetal/AzureVMware",
"Microsoft.BareMetal/CrayServers",
"Microsoft.BareMetal/MonitoringServers",
"Microsoft.Batch/batchAccounts",
"Microsoft.CloudTest/hostedpools",
"Microsoft.CloudTest/images",
"Microsoft.CloudTest/pools",
"Microsoft.Codespaces/plans",
"Microsoft.ContainerInstance/containerGroups",
"Microsoft.ContainerService/managedClusters",
"Microsoft.ContainerService/TestClients",
"Microsoft.Databricks/workspaces",
"Microsoft.DBforMySQL/flexibleServers",
"Microsoft.DBforMySQL/servers",
"Microsoft.DBforMySQL/serversv2",
"Microsoft.DBforPostgreSQL/flexibleServers",
"Microsoft.DBforPostgreSQL/serversv2",
"Microsoft.DBforPostgreSQL/singleServers",
"Microsoft.DelegatedNetwork/controller",
"Microsoft.DevCenter/networkConnection",
"Microsoft.DevOpsInfrastructure/pools",
"Microsoft.DocumentDB/cassandraClusters",
"Microsoft.Fidalgo/networkSettings",
"Microsoft.HardwareSecurityModules/dedicatedHSMs",
"Microsoft.Kusto/clusters",
"Microsoft.LabServices/labplans",
"Microsoft.Logic/integrationServiceEnvironments",
"Microsoft.MachineLearningServices/workspaces",
"Microsoft.Netapp/volumes",
"Microsoft.Network/dnsResolvers",
"Microsoft.Network/managedResolvers",
"Microsoft.Network/fpgaNetworkInterfaces",
"Microsoft.Network/networkWatchers.",
"Microsoft.Network/virtualNetworkGateways",
"Microsoft.Orbital/orbitalGateways",
"Microsoft.PowerPlatform/enterprisePolicies",
"Microsoft.PowerPlatform/vnetaccesslinks",
"Microsoft.ServiceFabricMesh/networks",
"Microsoft.ServiceNetworking/trafficControllers",
"Microsoft.Singularity/accounts/networks",
"Microsoft.Singularity/accounts/npu",
"Microsoft.Sql/managedInstances",
"Microsoft.Sql/managedInstancesOnebox",
"Microsoft.Sql/managedInstancesStage",
"Microsoft.Sql/managedInstancesTest",
"Microsoft.Sql/servers",
"Microsoft.StoragePool/diskPools",
"Microsoft.StreamAnalytics/streamingJobs",
"Microsoft.Synapse/workspaces",
"Microsoft.Web/hostingEnvironments",
"Microsoft.Web/serverFarms",
"NGINX.NGINXPLUS/nginxDeployments",
"PaloAltoNetworks.Cloudngfw/firewalls",
"Qumulo.Storage/fileSystems",
"Oracle.Database/networkAttachments"
]
valid_pip_skus = ["Basic", "Standard"]
# Error message formatting
error_messages = {
service_endpoints = join("\n - ", local.valid_service_endpoints)
delegations = join("\n - ", local.valid_delegations)
pip_skus = join(", ", local.valid_pip_skus)
}
}
#