Skip to content

Instantly share code, notes, and snippets.

@muvaf
Created January 5, 2022 13:05
Show Gist options
  • Save muvaf/ca16a5abf5eddcdb57f920bd5ef70cbc to your computer and use it in GitHub Desktop.
Save muvaf/ca16a5abf5eddcdb57f920bd5ef70cbc to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"strings"
)
func main() {
lines := strings.Split(list, "\n")
count := 0
for _, line := range lines {
l := strings.Trim(line, "\t")
l = strings.Trim(l, " ")
if len(l) == 0 {
continue
}
res := strings.TrimPrefix(l, "\"")
res = res[0:strings.Index(res, "\"")]
calculated := strings.Split(res, "_")[1]
actual := strings.TrimSuffix(l, "\",")
actual = actual[strings.LastIndex(actual, "\"")+1:]
if actual != calculated {
fmt.Println(line)
count++
}
}
fmt.Printf("initial line number: %d\n", len(lines))
fmt.Printf("filtered line number: %d", count)
}
const list = `
"azurerm_active_directory_domain_service": "aad",
"azurerm_active_directory_domain_service_replica_set": "aad",
"azurerm_monitor_aad_diagnostic_setting": "aadiam",
"azurerm_monitor_smart_detector_alert_rule": "alertsmanagement",
"azurerm_monitor_action_rule_action_group": "alertsmanagement",
"azurerm_monitor_action_rule_suppression": "alertsmanagement",
"azurerm_analysis_services_server": "analysisservices",
"azurerm_api_management_identity_provider_microsoft": "apimanagement",
"azurerm_api_management_property": "apimanagement",
"azurerm_api_management_api_release": "apimanagement",
"azurerm_api_management": "apimanagement",
"azurerm_api_management_logger": "apimanagement",
"azurerm_api_management_identity_provider_facebook": "apimanagement",
"azurerm_api_management_api_version_set": "apimanagement",
"azurerm_api_management_api_operation_tag": "apimanagement",
"azurerm_api_management_user": "apimanagement",
"azurerm_api_management_api_schema": "apimanagement",
"azurerm_api_management_identity_provider_twitter": "apimanagement",
"azurerm_api_management_api_operation_policy": "apimanagement",
"azurerm_api_management_custom_domain": "apimanagement",
"azurerm_api_management_notification_recipient_email": "apimanagement",
"azurerm_api_management_api": "apimanagement",
"azurerm_api_management_email_template": "apimanagement",
"azurerm_api_management_api_policy": "apimanagement",
"azurerm_api_management_redis_cache": "apimanagement",
"azurerm_api_management_authorization_server": "apimanagement",
"azurerm_api_management_group": "apimanagement",
"azurerm_api_management_named_value": "apimanagement",
"azurerm_api_management_gateway_api": "apimanagement",
"azurerm_api_management_policy": "apimanagement",
"azurerm_api_management_diagnostic": "apimanagement",
"azurerm_api_management_tag": "apimanagement",
"azurerm_api_management_api_operation": "apimanagement",
"azurerm_api_management_product_api": "apimanagement",
"azurerm_api_management_product_policy": "apimanagement",
"azurerm_api_management_group_user": "apimanagement",
"azurerm_api_management_openid_connect_provider": "apimanagement",
"azurerm_api_management_product": "apimanagement",
"azurerm_api_management_identity_provider_aadb2c": "apimanagement",
"azurerm_api_management_subscription": "apimanagement",
"azurerm_api_management_product_group": "apimanagement",
"azurerm_api_management_certificate": "apimanagement",
"azurerm_api_management_identity_provider_aad": "apimanagement",
"azurerm_api_management_gateway": "apimanagement",
"azurerm_api_management_identity_provider_google": "apimanagement",
"azurerm_api_management_backend": "apimanagement",
"azurerm_api_management_api_diagnostic": "apimanagement",
"azurerm_app_configuration_key": "appconfiguration",
"azurerm_app_configuration": "appconfiguration",
"azurerm_spring_cloud_custom_domain": "appplatform",
"azurerm_spring_cloud_app_cosmosdb_association": "appplatform",
"azurerm_spring_cloud_app_redis_association": "appplatform",
"azurerm_spring_cloud_service": "appplatform",
"azurerm_spring_cloud_java_deployment": "appplatform",
"azurerm_spring_cloud_app": "appplatform",
"azurerm_spring_cloud_active_deployment": "appplatform",
"azurerm_spring_cloud_certificate": "appplatform",
"azurerm_spring_cloud_app_mysql_association": "appplatform",
"azurerm_private_dns_ptr_record": "arpa",
"azurerm_attestation_provider": "attestation",
"azurerm_role_definition": "authorization",
"azurerm_resource_group_policy_assignment": "authorization",
"azurerm_policy_definition": "authorization",
"azurerm_management_group_policy_assignment": "authorization",
"azurerm_resource_policy_assignment": "authorization",
"azurerm_subscription_policy_assignment": "authorization",
"azurerm_policy_set_definition": "authorization",
"azurerm_policy_assignment": "authorization",
"azurerm_role_assignment": "authorization",
"azurerm_management_lock": "authorization",
"azurerm_automation_module": "automation",
"azurerm_automation_dsc_nodeconfiguration": "automation",
"azurerm_automation_credential": "automation",
"azurerm_automation_connection_classic_certificate": "automation",
"azurerm_automation_connection_service_principal": "automation",
"azurerm_automation_certificate": "automation",
"azurerm_automation_variable_datetime": "automation",
"azurerm_automation_schedule": "automation",
"azurerm_automation_variable_bool": "automation",
"azurerm_automation_variable_int": "automation",
"azurerm_automation_variable_string": "automation",
"azurerm_automation_connection_certificate": "automation",
"azurerm_automation_connection": "automation",
"azurerm_automation_runbook": "automation",
"azurerm_automation_job_schedule": "automation",
"azurerm_automation_dsc_configuration": "automation",
"azurerm_automation_account": "automation",
"azurerm_vmware_express_route_authorization": "avs",
"azurerm_vmware_private_cloud": "avs",
"azurerm_vmware_cluster": "avs",
"azurerm_stack_hci_cluster": "azurestackhci",
"azurerm_batch_certificate": "batch",
"azurerm_batch_job": "batch",
"azurerm_batch_account": "batch",
"azurerm_batch_application": "batch",
"azurerm_batch_pool": "batch",
"azurerm_blueprint_assignment": "blueprint",
"azurerm_bot_channel_alexa": "botservice",
"azurerm_bot_connection": "botservice",
"azurerm_bot_channel_sms": "botservice",
"azurerm_bot_channel_slack": "botservice",
"azurerm_bot_channel_email": "botservice",
"azurerm_bot_channels_registration": "botservice",
"azurerm_bot_channel_line": "botservice",
"azurerm_bot_channel_web_chat": "botservice",
"azurerm_bot_web_app": "botservice",
"azurerm_bot_channel_directline": "botservice",
"azurerm_bot_channel_facebook": "botservice",
"azurerm_bot_channel_ms_teams": "botservice",
"azurerm_bot_channel_direct_line_speech": "botservice",
"azurerm_redis_cache": "cache",
"azurerm_redis_linked_server": "cache",
"azurerm_redis_enterprise_cluster": "cache",
"azurerm_redis_enterprise_database": "cache",
"azurerm_redis_firewall_rule": "cache",
"azurerm_cdn_endpoint": "cdn",
"azurerm_cdn_endpoint_custom_domain": "cdn",
"azurerm_cdn_profile": "cdn",
"azurerm_app_service_certificate_order": "certificateregistration",
"azurerm_cognitive_account_customer_managed_key": "cognitiveservices",
"azurerm_cognitive_account": "cognitiveservices",
"azurerm_communication_service": "communication",
"azurerm_disk_encryption_set": "compute",
"azurerm_shared_image_gallery": "compute",
"azurerm_disk_access": "compute",
"azurerm_windows_virtual_machine": "compute",
"azurerm_virtual_machine_extension": "compute",
"azurerm_virtual_machine_scale_set_extension": "compute",
"azurerm_dedicated_host_group": "compute",
"azurerm_linux_virtual_machine": "compute",
"azurerm_ssh_public_key": "compute",
"azurerm_linux_virtual_machine_scale_set": "compute",
"azurerm_dedicated_host": "compute",
"azurerm_managed_disk": "compute",
"azurerm_proximity_placement_group": "compute",
"azurerm_virtual_machine_scale_set": "compute",
"azurerm_virtual_machine_data_disk_attachment": "compute",
"azurerm_availability_set": "compute",
"azurerm_shared_image": "compute",
"azurerm_snapshot": "compute",
"azurerm_shared_image_version": "compute",
"azurerm_windows_virtual_machine_scale_set": "compute",
"azurerm_virtual_machine": "compute",
"azurerm_image": "compute",
"azurerm_orchestrated_virtual_machine_scale_set": "compute",
"azurerm_consumption_budget_resource_group": "consumption",
"azurerm_consumption_budget_subscription": "consumption",
"azurerm_container_group": "containerinstance",
"azurerm_container_registry_scope_map": "containerregistry",
"azurerm_container_registry_token": "containerregistry",
"azurerm_container_registry": "containerregistry",
"azurerm_container_registry_webhook": "containerregistry",
"azurerm_kubernetes_cluster_node_pool": "containerservice",
"azurerm_kubernetes_cluster": "containerservice",
"azurerm_cost_management_export_resource_group": "costmanagement",
"azurerm_custom_provider": "customproviders",
"azurerm_databox_edge_device": "databoxedge",
"azurerm_databox_edge_order": "databoxedge",
"azurerm_databricks_workspace": "databricks",
"azurerm_databricks_workspace_customer_managed_key": "databricks",
"azurerm_data_factory_linked_service_azure_search": "datafactory",
"azurerm_data_factory_dataset_http": "datafactory",
"azurerm_data_factory_data_flow": "datafactory",
"azurerm_data_factory_dataset_sql_server_table": "datafactory",
"azurerm_data_factory_dataset_cosmosdb_sqlapi": "datafactory",
"azurerm_data_factory_linked_service_key_vault": "datafactory",
"azurerm_data_factory_dataset_mysql": "datafactory",
"azurerm_data_factory_linked_service_sql_server": "datafactory",
"azurerm_data_factory_trigger_schedule": "datafactory",
"azurerm_data_factory_linked_service_sftp": "datafactory",
"azurerm_data_factory_linked_service_kusto": "datafactory",
"azurerm_data_factory_linked_custom_service": "datafactory",
"azurerm_data_factory_dataset_parquet": "datafactory",
"azurerm_data_factory_linked_service_mysql": "datafactory",
"azurerm_data_factory_linked_service_azure_table_storage": "datafactory",
"azurerm_data_factory": "datafactory",
"azurerm_data_factory_linked_service_azure_databricks": "datafactory",
"azurerm_data_factory_linked_service_azure_sql_database": "datafactory",
"azurerm_data_factory_dataset_delimited_text": "datafactory",
"azurerm_data_factory_integration_runtime_managed": "datafactory",
"azurerm_data_factory_linked_service_web": "datafactory",
"azurerm_data_factory_dataset_azure_blob": "datafactory",
"azurerm_data_factory_dataset_json": "datafactory",
"azurerm_data_factory_linked_service_odata": "datafactory",
"azurerm_data_factory_dataset_binary": "datafactory",
"azurerm_data_factory_integration_runtime_self_hosted": "datafactory",
"azurerm_data_factory_linked_service_snowflake": "datafactory",
"azurerm_data_factory_linked_service_postgresql": "datafactory",
"azurerm_data_factory_linked_service_azure_function": "datafactory",
"azurerm_data_factory_trigger_blob_event": "datafactory",
"azurerm_data_factory_integration_runtime_azure_ssis": "datafactory",
"azurerm_data_factory_dataset_snowflake": "datafactory",
"azurerm_data_factory_trigger_tumbling_window": "datafactory",
"azurerm_data_factory_linked_service_azure_blob_storage": "datafactory",
"azurerm_data_factory_pipeline": "datafactory",
"azurerm_data_factory_linked_service_synapse": "datafactory",
"azurerm_data_factory_trigger_custom_event": "datafactory",
"azurerm_data_factory_custom_dataset": "datafactory",
"azurerm_data_factory_linked_service_cosmosdb": "datafactory",
"azurerm_data_factory_managed_private_endpoint": "datafactory",
"azurerm_data_factory_linked_service_azure_file_storage": "datafactory",
"azurerm_data_factory_dataset_postgresql": "datafactory",
"azurerm_data_factory_linked_service_data_lake_storage_gen2": "datafactory",
"azurerm_data_factory_integration_runtime_azure": "datafactory",
"azurerm_data_lake_analytics_account": "datalakeanalytics",
"azurerm_data_lake_analytics_firewall_rule": "datalakeanalytics",
"azurerm_data_lake_store_virtual_network_rule": "datalakestore",
"azurerm_data_lake_store": "datalakestore",
"azurerm_data_lake_store_file": "datalakestore",
"azurerm_data_lake_store_firewall_rule": "datalakestore",
"azurerm_database_migration_project": "datamigration",
"azurerm_database_migration_service": "datamigration",
"azurerm_data_protection_backup_instance_blob_storage": "dataprotection",
"azurerm_data_protection_backup_policy_postgresql": "dataprotection",
"azurerm_data_protection_backup_policy_blob_storage": "dataprotection",
"azurerm_data_protection_backup_policy_disk": "dataprotection",
"azurerm_data_protection_backup_instance_disk": "dataprotection",
"azurerm_data_protection_backup_vault": "dataprotection",
"azurerm_data_protection_backup_instance_postgresql": "dataprotection",
"azurerm_data_share": "datashare",
"azurerm_data_share_account": "datashare",
"azurerm_data_share_dataset_data_lake_gen1": "datashare",
"azurerm_data_share_dataset_kusto_database": "datashare",
"azurerm_data_share_dataset_blob_storage": "datashare",
"azurerm_data_share_dataset_kusto_cluster": "datashare",
"azurerm_data_share_dataset_data_lake_gen2": "datashare",
"azurerm_mariadb_database": "dbformariadb",
"azurerm_mariadb_configuration": "dbformariadb",
"azurerm_mariadb_firewall_rule": "dbformariadb",
"azurerm_mariadb_virtual_network_rule": "dbformariadb",
"azurerm_mariadb_server": "dbformariadb",
"azurerm_mysql_configuration": "dbformysql",
"azurerm_mysql_firewall_rule": "dbformysql",
"azurerm_mysql_server": "dbformysql",
"azurerm_mysql_active_directory_administrator": "dbformysql",
"azurerm_mysql_virtual_network_rule": "dbformysql",
"azurerm_mysql_database": "dbformysql",
"azurerm_mysql_server_key": "dbformysql",
"azurerm_postgresql_active_directory_administrator": "dbforpostgresql",
"azurerm_postgresql_flexible_server_firewall_rule": "dbforpostgresql",
"azurerm_postgresql_flexible_server_database": "dbforpostgresql",
"azurerm_postgresql_server": "dbforpostgresql",
"azurerm_postgresql_database": "dbforpostgresql",
"azurerm_postgresql_flexible_server_configuration": "dbforpostgresql",
"azurerm_postgresql_virtual_network_rule": "dbforpostgresql",
"azurerm_postgresql_server_key": "dbforpostgresql",
"azurerm_postgresql_configuration": "dbforpostgresql",
"azurerm_postgresql_firewall_rule": "dbforpostgresql",
"azurerm_postgresql_flexible_server": "dbforpostgresql",
"azurerm_virtual_desktop_application": "desktopvirtualization",
"azurerm_virtual_desktop_application_group": "desktopvirtualization",
"azurerm_virtual_desktop_host_pool": "desktopvirtualization",
"azurerm_virtual_desktop_workspace": "desktopvirtualization",
"azurerm_virtual_desktop_workspace_application_group_association": "desktopvirtualization",
"azurerm_iothub_dps_certificate": "devices",
"azurerm_iothub_shared_access_policy": "devices",
"azurerm_iothub_dps": "devices",
"azurerm_iothub": "devices",
"azurerm_iothub_consumer_group": "devices",
"azurerm_iothub_endpoint_eventhub": "devices",
"azurerm_iothub_endpoint_storage_container": "devices",
"azurerm_iothub_fallback_route": "devices",
"azurerm_iothub_dps_shared_access_policy": "devices",
"azurerm_iothub_enrichment": "devices",
"azurerm_iothub_endpoint_servicebus_topic": "devices",
"azurerm_iothub_route": "devices",
"azurerm_iothub_endpoint_servicebus_queue": "devices",
"azurerm_devspace_controller": "devspaces",
"azurerm_dev_test_virtual_network": "devtestlab",
"azurerm_dev_test_global_vm_shutdown_schedule": "devtestlab",
"azurerm_dev_test_linux_virtual_machine": "devtestlab",
"azurerm_dev_test_schedule": "devtestlab",
"azurerm_dev_test_windows_virtual_machine": "devtestlab",
"azurerm_dev_test_policy": "devtestlab",
"azurerm_dev_test_lab": "devtestlab",
"azurerm_digital_twins_endpoint_eventgrid": "digitaltwins",
"azurerm_digital_twins_endpoint_servicebus": "digitaltwins",
"azurerm_digital_twins_endpoint_eventhub": "digitaltwins",
"azurerm_digital_twins_instance": "digitaltwins",
"azurerm_cosmosdb_account": "documentdb",
"azurerm_cosmosdb_sql_function": "documentdb",
"azurerm_cosmosdb_mongo_collection": "documentdb",
"azurerm_cosmosdb_mongo_database": "documentdb",
"azurerm_cosmosdb_cassandra_keyspace": "documentdb",
"azurerm_cosmosdb_sql_stored_procedure": "documentdb",
"azurerm_cosmosdb_sql_database": "documentdb",
"azurerm_cosmosdb_notebook_workspace": "documentdb",
"azurerm_cosmosdb_sql_container": "documentdb",
"azurerm_cosmosdb_sql_trigger": "documentdb",
"azurerm_cosmosdb_cassandra_table": "documentdb",
"azurerm_cosmosdb_gremlin_graph": "documentdb",
"azurerm_cosmosdb_gremlin_database": "documentdb",
"azurerm_cosmosdb_table": "documentdb",
"azurerm_eventgrid_domain_topic": "eventgrid",
"azurerm_eventgrid_topic": "eventgrid",
"azurerm_eventgrid_event_subscription": "eventgrid",
"azurerm_eventgrid_system_topic": "eventgrid",
"azurerm_eventgrid_system_topic_event_subscription": "eventgrid",
"azurerm_eventgrid_domain": "eventgrid",
"azurerm_eventhub_consumer_group": "eventhub",
"azurerm_eventhub_cluster": "eventhub",
"azurerm_eventhub_authorization_rule": "eventhub",
"azurerm_eventhub_namespace_disaster_recovery_config": "eventhub",
"azurerm_eventhub_namespace_customer_managed_key": "eventhub",
"azurerm_eventhub_namespace": "eventhub",
"azurerm_eventhub_namespace_authorization_rule": "eventhub",
"azurerm_eventhub": "eventhub",
"azurerm_virtual_machine_configuration_policy_assignment": "guestconfiguration",
"azurerm_policy_virtual_machine_configuration_assignment": "guestconfiguration",
"azurerm_dedicated_hardware_security_module": "hardwaresecuritymodules",
"azurerm_hdinsight_hadoop_cluster": "hdinsight",
"azurerm_hdinsight_hbase_cluster": "hdinsight",
"azurerm_hdinsight_ml_services_cluster": "hdinsight",
"azurerm_hdinsight_interactive_query_cluster": "hdinsight",
"azurerm_hdinsight_kafka_cluster": "hdinsight",
"azurerm_hdinsight_storm_cluster": "hdinsight",
"azurerm_hdinsight_rserver_cluster": "hdinsight",
"azurerm_hdinsight_spark_cluster": "hdinsight",
"azurerm_healthbot": "healthbot",
"azurerm_healthcare_service": "healthcareapis",
"azurerm_monitor_log_profile": "insights",
"azurerm_monitor_activity_log_alert": "insights",
"azurerm_monitor_action_group": "insights",
"azurerm_monitor_autoscale_setting": "insights",
"azurerm_application_insights_api_key": "insights",
"azurerm_monitor_scheduled_query_rules_log": "insights",
"azurerm_application_insights_analytics_item": "insights",
"azurerm_application_insights_smart_detection_rule": "insights",
"azurerm_monitor_metric_alert": "insights",
"azurerm_application_insights": "insights",
"azurerm_monitor_scheduled_query_rules_alert": "insights",
"azurerm_application_insights_web_test": "insights",
"azurerm_iotcentral_application": "iotcentral",
"azurerm_key_vault_key": "keyvault",
"azurerm_key_vault_secret": "keyvault",
"azurerm_key_vault_managed_storage_account": "keyvault",
"azurerm_key_vault_certificate": "keyvault",
"azurerm_key_vault_managed_storage_account_sas_token_definition": "keyvault",
"azurerm_key_vault_certificate_issuer": "keyvault",
"azurerm_key_vault_managed_hardware_security_module": "keyvault",
"azurerm_monitor_diagnostic_setting": "keyvault",
"azurerm_key_vault_access_policy": "keyvault",
"azurerm_key_vault": "keyvault",
"azurerm_kusto_database_principal": "kusto",
"azurerm_kusto_cluster": "kusto",
"azurerm_kusto_cluster_principal_assignment": "kusto",
"azurerm_kusto_attached_database_configuration": "kusto",
"azurerm_kusto_eventgrid_data_connection": "kusto",
"azurerm_kusto_eventhub_data_connection": "kusto",
"azurerm_kusto_database_principal_assignment": "kusto",
"azurerm_kusto_cluster_customer_managed_key": "kusto",
"azurerm_kusto_database": "kusto",
"azurerm_kusto_iothub_data_connection": "kusto",
"azurerm_logic_app_integration_account_schema": "logic",
"azurerm_logic_app_integration_account": "logic",
"azurerm_logic_app_integration_account_batch_configuration": "logic",
"azurerm_logic_app_workflow": "logic",
"azurerm_logic_app_integration_account_agreement": "logic",
"azurerm_logic_app_action_custom": "logic",
"azurerm_logic_app_integration_account_map": "logic",
"azurerm_logic_app_trigger_http_request": "logic",
"azurerm_logic_app_trigger_recurrence": "logic",
"azurerm_logic_app_integration_account_session": "logic",
"azurerm_logic_app_integration_account_partner": "logic",
"azurerm_logic_app_integration_account_certificate": "logic",
"azurerm_logic_app_trigger_custom": "logic",
"azurerm_integration_service_environment": "logic",
"azurerm_logic_app_integration_account_assembly": "logic",
"azurerm_logic_app_action_http": "logic",
"azurerm_machine_learning_workspace": "machinelearningservices",
"azurerm_machine_learning_compute_cluster": "machinelearningservices",
"azurerm_machine_learning_synapse_spark": "machinelearningservices",
"azurerm_machine_learning_inference_cluster": "machinelearningservices",
"azurerm_machine_learning_compute_instance": "machinelearningservices",
"azurerm_maintenance_assignment_virtual_machine_scale_set": "maintenance",
"azurerm_maintenance_assignment_virtual_machine": "maintenance",
"azurerm_maintenance_configuration": "maintenance",
"azurerm_maintenance_assignment_dedicated_host": "maintenance",
"azurerm_user_assigned_identity": "managedidentity",
"azurerm_lighthouse_definition": "managedservices",
"azurerm_lighthouse_assignment": "managedservices",
"azurerm_management_group": "management",
"azurerm_maps_account": "maps",
"azurerm_marketplace_agreement": "marketplaceordering",
"azurerm_media_asset": "media",
"azurerm_video_analyzer_edge_module": "media",
"azurerm_media_services_account": "media",
"azurerm_media_asset_filter": "media",
"azurerm_media_transform": "media",
"azurerm_video_analyzer": "media",
"azurerm_media_streaming_endpoint": "media",
"azurerm_media_streaming_locator": "media",
"azurerm_media_content_key_policy": "media",
"azurerm_media_live_event": "media",
"azurerm_media_job": "media",
"azurerm_media_live_event_output": "media",
"azurerm_media_streaming_policy": "media",
"azurerm_spatial_anchors_account": "mixedreality",
"azurerm_netapp_pool": "netapp",
"azurerm_netapp_account": "netapp",
"azurerm_netapp_volume": "netapp",
"azurerm_netapp_snapshot": "netapp",
"azurerm_private_dns_mx_record": "network",
"azurerm_private_dns_zone_virtual_network_link": "network",
"azurerm_private_dns_txt_record": "network",
"azurerm_private_dns_srv_record": "network",
"azurerm_virtual_network_gateway": "network",
"azurerm_virtual_network_gateway_connection": "network",
"azurerm_packet_capture": "network",
"azurerm_private_dns_a_record": "network",
"azurerm_network_interface_nat_rule_association": "network",
"azurerm_dns_zone": "network",
"azurerm_local_network_gateway": "network",
"azurerm_network_ddos_protection_plan": "network",
"azurerm_virtual_hub_bgp_connection": "network",
"azurerm_point_to_site_vpn_gateway": "network",
"azurerm_express_route_gateway": "network",
"azurerm_dns_aaaa_record": "network",
"azurerm_dns_ptr_record": "network",
"azurerm_express_route_port": "network",
"azurerm_subnet_nat_gateway_association": "network",
"azurerm_virtual_hub_security_partner_provider": "network",
"azurerm_dns_caa_record": "network",
"azurerm_application_security_group": "network",
"azurerm_web_application_firewall_policy": "network",
"azurerm_vpn_gateway": "network",
"azurerm_public_ip": "network",
"azurerm_vpn_gateway_connection": "network",
"azurerm_firewall_network_rule_collection": "network",
"azurerm_virtual_hub_connection": "network",
"azurerm_dns_mx_record": "network",
"azurerm_subnet_service_endpoint_storage_policy": "network",
"azurerm_public_ip_prefix": "network",
"azurerm_route": "network",
"azurerm_network_packet_capture": "network",
"azurerm_ip_group": "network",
"azurerm_private_dns_aaaa_record": "network",
"azurerm_network_interface_application_gateway_backend_address_pool_association": "network",
"azurerm_express_route_connection": "network",
"azurerm_virtual_hub_route_table": "network",
"azurerm_network_watcher_flow_log": "network",
"azurerm_dns_ns_record": "network",
"azurerm_lb_backend_address_pool": "network",
"azurerm_private_link_service": "network",
"azurerm_frontdoor_custom_https_configuration": "network",
"azurerm_network_profile": "network",
"azurerm_dns_cname_record": "network",
"azurerm_nat_gateway_public_ip_association": "network",
"azurerm_virtual_network_peering": "network",
"azurerm_lb_nat_pool": "network",
"azurerm_vpn_server_configuration": "network",
"azurerm_private_endpoint": "network",
"azurerm_virtual_hub": "network",
"azurerm_lb_backend_address_pool_address": "network",
"azurerm_express_route_circuit_authorization": "network",
"azurerm_network_interface_application_security_group_association": "network",
"azurerm_dns_txt_record": "network",
"azurerm_virtual_network": "network",
"azurerm_dns_srv_record": "network",
"azurerm_network_security_rule": "network",
"azurerm_route_filter": "network",
"azurerm_application_gateway": "network",
"azurerm_lb_probe": "network",
"azurerm_network_security_group": "network",
"azurerm_bastion_host": "network",
"azurerm_traffic_manager_profile": "network",
"azurerm_nat_gateway": "network",
"azurerm_firewall_nat_rule_collection": "network",
"azurerm_route_table": "network",
"azurerm_express_route_circuit_peering": "network",
"azurerm_private_dns_zone": "network",
"azurerm_traffic_manager_endpoint": "network",
"azurerm_virtual_wan": "network",
"azurerm_frontdoor_firewall_policy": "network",
"azurerm_frontdoor_rules_engine": "network",
"azurerm_dns_a_record": "network",
"azurerm_firewall_policy_rule_collection_group": "network",
"azurerm_subnet": "network",
"azurerm_lb_rule": "network",
"azurerm_lb_outbound_rule": "network",
"azurerm_network_interface_backend_address_pool_association": "network",
"azurerm_nat_gateway_public_ip_prefix_association": "network",
"azurerm_firewall": "network",
"azurerm_subnet_network_security_group_association": "network",
"azurerm_subnet_route_table_association": "network",
"azurerm_express_route_circuit_connection": "network",
"azurerm_network_interface_security_group_association": "network",
"azurerm_network_watcher": "network",
"azurerm_express_route_circuit": "network",
"azurerm_frontdoor": "network",
"azurerm_firewall_application_rule_collection": "network",
"azurerm_vpn_site": "network",
"azurerm_firewall_policy": "network",
"azurerm_lb_nat_rule": "network",
"azurerm_virtual_hub_ip": "network",
"azurerm_private_dns_cname_record": "network",
"azurerm_network_interface": "network",
"azurerm_lb": "network",
"azurerm_network_connection_monitor": "network",
"azurerm_notification_hub_namespace": "notificationhubs",
"azurerm_notification_hub": "notificationhubs",
"azurerm_notification_hub_authorization_rule": "notificationhubs",
"azurerm_log_analytics_datasource_windows_event": "operationalinsights",
"azurerm_log_analytics_linked_storage_account": "operationalinsights",
"azurerm_log_analytics_storage_insights": "operationalinsights",
"azurerm_log_analytics_data_export_rule": "operationalinsights",
"azurerm_log_analytics_cluster_customer_managed_key": "operationalinsights",
"azurerm_log_analytics_datasource_windows_performance_counter": "operationalinsights",
"azurerm_log_analytics_linked_service": "operationalinsights",
"azurerm_log_analytics_saved_search": "operationalinsights",
"azurerm_log_analytics_workspace": "operationalinsights",
"azurerm_log_analytics_cluster": "operationalinsights",
"azurerm_log_analytics_solution": "operationsmanagement",
"azurerm_policy_remediation": "policyinsights",
"azurerm_resource_provider_registration": "policyinsights",
"azurerm_portal_tenant_configuration": "portal",
"azurerm_dashboard": "portal",
"azurerm_powerbi_embedded": "powerbidedicated",
"azurerm_purview_account": "purview",
"azurerm_backup_protected_file_share": "recoveryservices",
"azurerm_backup_policy_file_share": "recoveryservices",
"azurerm_site_recovery_fabric": "recoveryservices",
"azurerm_backup_policy_vm": "recoveryservices",
"azurerm_backup_container_storage_account": "recoveryservices",
"azurerm_site_recovery_replication_policy": "recoveryservices",
"azurerm_backup_protected_vm": "recoveryservices",
"azurerm_site_recovery_network_mapping": "recoveryservices",
"azurerm_recovery_services_vault": "recoveryservices",
"azurerm_site_recovery_protection_container_mapping": "recoveryservices",
"azurerm_site_recovery_protection_container": "recoveryservices",
"azurerm_site_recovery_replicated_vm": "recoveryservices",
"azurerm_relay_hybrid_connection": "relay",
"azurerm_relay_namespace_authorization_rule": "relay",
"azurerm_relay_hybrid_connection_authorization_rule": "relay",
"azurerm_relay_namespace": "relay",
"azurerm_template_deployment": "resources",
"azurerm_tenant_template_deployment": "resources",
"azurerm_subscription_template_deployment": "resources",
"azurerm_management_group_subscription_association": "resources",
"azurerm_management_group_template_deployment": "resources",
"azurerm_resource_group_template_deployment": "resources",
"azurerm_search_service": "search",
"azurerm_security_center_assessment_policy": "security",
"azurerm_security_center_server_vulnerability_assessment": "security",
"azurerm_security_center_subscription_pricing": "security",
"azurerm_security_center_assessment": "security",
"azurerm_security_center_contact": "security",
"azurerm_iot_security_device_group": "security",
"azurerm_iot_security_solution": "security",
"azurerm_security_center_workspace": "security",
"azurerm_security_center_auto_provisioning": "security",
"azurerm_security_center_assessment_metadata": "security",
"azurerm_security_center_setting": "security",
"azurerm_security_center_automation": "security",
"azurerm_advanced_threat_protection": "security",
"azurerm_sentinel_alert_rule_fusion": "securityinsights",
"azurerm_sentinel_data_connector_microsoft_defender_advanced_threat_protection": "securityinsights",
"azurerm_sentinel_data_connector_aws_cloud_trail": "securityinsights",
"azurerm_sentinel_alert_rule_scheduled": "securityinsights",
"azurerm_sentinel_data_connector_azure_security_center": "securityinsights",
"azurerm_sentinel_data_connector_azure_advanced_threat_protection": "securityinsights",
"azurerm_sentinel_alert_rule_machine_learning_behavior_analytics": "securityinsights",
"azurerm_sentinel_alert_rule_ms_security_incident": "securityinsights",
"azurerm_sentinel_data_connector_threat_intelligence": "securityinsights",
"azurerm_sentinel_data_connector_azure_active_directory": "securityinsights",
"azurerm_sentinel_data_connector_office_365": "securityinsights",
"azurerm_sentinel_data_connector_microsoft_cloud_app_security": "securityinsights",
"azurerm_servicebus_subscription_rule": "servicebus",
"azurerm_servicebus_topic": "servicebus",
"azurerm_servicebus_subscription": "servicebus",
"azurerm_servicebus_namespace": "servicebus",
"azurerm_servicebus_queue": "servicebus",
"azurerm_servicebus_topic_authorization_rule": "servicebus",
"azurerm_servicebus_namespace_network_rule_set": "servicebus",
"azurerm_servicebus_namespace_authorization_rule": "servicebus",
"azurerm_servicebus_queue_authorization_rule": "servicebus",
"azurerm_servicebus_namespace_disaster_recovery_config": "servicebus",
"azurerm_service_fabric_cluster": "servicefabric",
"azurerm_service_fabric_mesh_secret": "servicefabricmesh",
"azurerm_service_fabric_mesh_local_network": "servicefabricmesh",
"azurerm_service_fabric_mesh_secret_value": "servicefabricmesh",
"azurerm_service_fabric_mesh_application": "servicefabricmesh",
"azurerm_signalr_service_network_acl": "signalrservice",
"azurerm_signalr_service": "signalrservice",
"azurerm_managed_application_definition": "solutions",
"azurerm_managed_application": "solutions",
"azurerm_sql_server": "sql",
"azurerm_mssql_job_agent": "sql",
"azurerm_mssql_database_vulnerability_assessment_rule_baseline": "sql",
"azurerm_mssql_database_extended_auditing_policy": "sql",
"azurerm_mssql_server_transparent_data_encryption": "sql",
"azurerm_mssql_server_extended_auditing_policy": "sql",
"azurerm_sql_virtual_network_rule": "sql",
"azurerm_mssql_failover_group": "sql",
"azurerm_sql_active_directory_administrator": "sql",
"azurerm_mssql_server_security_alert_policy": "sql",
"azurerm_sql_managed_instance": "sql",
"azurerm_mssql_firewall_rule": "sql",
"azurerm_mssql_job_credential": "sql",
"azurerm_mssql_server": "sql",
"azurerm_mssql_server_vulnerability_assessment": "sql",
"azurerm_mssql_elasticpool": "sql",
"azurerm_sql_failover_group": "sql",
"azurerm_mssql_database": "sql",
"azurerm_sql_database": "sql",
"azurerm_sql_elasticpool": "sql",
"azurerm_sql_managed_database": "sql",
"azurerm_sql_firewall_rule": "sql",
"azurerm_mssql_virtual_network_rule": "sql",
"azurerm_mssql_virtual_machine": "sqlvirtualmachine",
"azurerm_storage_blob": "storage",
"azurerm_storage_container": "storage",
"azurerm_storage_table": "storage",
"azurerm_storage_table_entity": "storage",
"azurerm_storage_share_file": "storage",
"azurerm_storage_queue": "storage",
"azurerm_storage_share_directory": "storage",
"azurerm_storage_share": "storage",
"azurerm_storage_account_network_rules": "storage",
"azurerm_storage_blob_inventory_policy": "storage",
"azurerm_storage_account": "storage",
"azurerm_storage_data_lake_gen2_filesystem": "storage",
"azurerm_storage_data_lake_gen2_path": "storage",
"azurerm_storage_management_policy": "storage",
"azurerm_storage_account_customer_managed_key": "storage",
"azurerm_storage_encryption_scope": "storage",
"azurerm_storage_object_replication": "storage",
"azurerm_hpc_cache_blob_nfs_target": "storagecache",
"azurerm_hpc_cache_blob_target": "storagecache",
"azurerm_hpc_cache_access_policy": "storagecache",
"azurerm_hpc_cache": "storagecache",
"azurerm_hpc_cache_nfs_target": "storagecache",
"azurerm_storage_sync_group": "storagesync",
"azurerm_storage_sync_cloud_endpoint": "storagesync",
"azurerm_storage_sync": "storagesync",
"azurerm_stream_analytics_output_blob": "streamanalytics",
"azurerm_stream_analytics_stream_input_iothub": "streamanalytics",
"azurerm_stream_analytics_function_javascript_udf": "streamanalytics",
"azurerm_stream_analytics_output_mssql": "streamanalytics",
"azurerm_stream_analytics_stream_input_blob": "streamanalytics",
"azurerm_stream_analytics_output_servicebus_queue": "streamanalytics",
"azurerm_stream_analytics_reference_input_blob": "streamanalytics",
"azurerm_stream_analytics_job": "streamanalytics",
"azurerm_stream_analytics_output_eventhub": "streamanalytics",
"azurerm_stream_analytics_stream_input_eventhub": "streamanalytics",
"azurerm_stream_analytics_output_servicebus_topic": "streamanalytics",
"azurerm_subscription": "subscription",
"azurerm_synapse_sql_pool": "synapse",
"azurerm_synapse_role_assignment": "synapse",
"azurerm_synapse_sql_pool_extended_auditing_policy": "synapse",
"azurerm_synapse_linked_service": "synapse",
"azurerm_synapse_workspace_keys": "synapse",
"azurerm_synapse_workspace_extended_auditing_policy": "synapse",
"azurerm_synapse_workspace_security_alert_policy": "synapse",
"azurerm_synapse_integration_runtime_azure": "synapse",
"azurerm_synapse_managed_private_endpoint": "synapse",
"azurerm_synapse_sql_pool_security_alert_policy": "synapse",
"azurerm_synapse_integration_runtime_self_hosted": "synapse",
"azurerm_synapse_sql_pool_vulnerability_assessment": "synapse",
"azurerm_synapse_workspace_vulnerability_assessment": "synapse",
"azurerm_synapse_firewall_rule": "synapse",
"azurerm_synapse_workspace": "synapse",
"azurerm_synapse_private_link_hub": "synapse",
"azurerm_synapse_spark_pool": "synapse",
"azurerm_iot_time_series_insights_event_source_iothub": "timeseriesinsights",
"azurerm_iot_time_series_insights_access_policy": "timeseriesinsights",
"azurerm_iot_time_series_insights_standard_environment": "timeseriesinsights",
"azurerm_iot_time_series_insights_gen2_environment": "timeseriesinsights",
"azurerm_app_service_custom_hostname_binding": "web",
"azurerm_app_service_managed_certificate": "web",
"azurerm_app_service_certificate_binding": "web",
"azurerm_app_service_environment_v3": "web",
"azurerm_app_service_active_slot": "web",
"azurerm_app_service_source_control_token": "web",
"azurerm_function_app_slot": "web",
"azurerm_app_service_slot": "web",
"azurerm_app_service_certificate": "web",
"azurerm_source_control_token": "web",
"azurerm_app_service_plan": "web",
"azurerm_app_service_environment": "web",
"azurerm_app_service_virtual_network_swift_connection": "web",
"azurerm_function_app": "web",
"azurerm_app_service_hybrid_connection": "web",
"azurerm_linux_web_app": "web",
"azurerm_windows_web_app": "web",
"azurerm_static_site": "web",
"azurerm_service_plan": "web",
"azurerm_app_service_source_control": "web",
"azurerm_app_service_slot_virtual_network_swift_connection": "web",
"azurerm_app_service": "web",
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment