Skip to content

Commit

Permalink
Merge pull request #4844 from cloudflare/fix-typo-for-zt-pattern
Browse files Browse the repository at this point in the history
grit: fix v4.40.0 ZT pattern
  • Loading branch information
jacobbednarz authored Jan 7, 2025
2 parents 3a3c3de + 816b774 commit 7e5f90c
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,74 +3,74 @@ language hcl

pattern cloudflare_terraform_v4_40_0_zero_trust_namespace_renames_configuration() {
any {
`"cloudflare_access_application"` => `"clouflare_zero_trust_access_application"`,
`"cloudflare_access_ca_certificate"` => `"clouflare_zero_trust_access_short_lived_certificate"`,
`"cloudflare_access_custom_page"` => `"clouflare_zero_trust_access_custom_page"`,
`"cloudflare_access_group"` => `"clouflare_zero_trust_access_group"`,
`"cloudflare_access_identity_provider"` => `"clouflare_zero_trust_access_identity_provider"`,
`"cloudflare_access_keys_configuration"` => `"clouflare_zero_trust_access_key_configuration"`,
`"cloudflare_access_mutual_tls_certificate"` => `"clouflare_zero_trust_access_mtls_certificate"`,
`"cloudflare_access_mutual_tls_hostname_settings"` => `"clouflare_zero_trust_access_mtls_hostname_settings"`,
`"cloudflare_access_organization"` => `"clouflare_zero_trust_organization"`,
`"cloudflare_access_policy"` => `"clouflare_zero_trust_access_policy"`,
`"cloudflare_access_service_token"` => `"clouflare_zero_trust_access_service_token"`,
`"cloudflare_access_tag"` => `"clouflare_zero_trust_access_tag"`,
`"cloudflare_device_dex_test"` => `"clouflare_zero_trust_dex_test"`,
`"cloudflare_device_managed_networks"` => `"clouflare_zero_trust_device_managed_networks"`,
`"cloudflare_device_policy_certificates"` => `"clouflare_zero_trust_device_certificates"`,
`"cloudflare_device_posture_integration"` => `"clouflare_zero_trust_device_posture_integration"`,
`"cloudflare_device_posture_rule"` => `"clouflare_zero_trust_device_posture_rule"`,
`"cloudflare_device_settings_policy"` => `"clouflare_zero_trust_device_profiles"`,
`"cloudflare_dlp_profile"` => `"clouflare_zero_trust_dlp_profile"`,
`"cloudflare_dlp_custom_profile"` => `"clouflare_zero_trust_dlp_custom_profile"`,
`"cloudflare_dlp_predefined_profile"` => `"clouflare_zero_trust_dlp_predefined_profile"`,
`"cloudflare_fallback_domain"` => `"clouflare_zero_trust_local_domain_fallback"`,
`"cloudflare_risk_behavior"` => `"clouflare_zero_trust_risk_behavior"`,
`"cloudflare_split_tunnel"` => `"clouflare_zero_trust_split_tunnels"`,
`"cloudflare_teams_account"` => `"clouflare_zero_trust_gateway_settings"`,
`"cloudflare_teams_list"` => `"clouflare_zero_trust_list"`,
`"cloudflare_teams_location"` => `"clouflare_zero_trust_dns_location"`,
`"cloudflare_teams_proxy_endpoint"` => `"clouflare_zero_trust_gateway_proxy_endpoint"`,
`"cloudflare_teams_rule"` => `"clouflare_zero_trust_gateway_policy"`,
`"cloudflare_tunnel"` => `"clouflare_zero_trust_tunnel_cloudflared"`,
`"cloudflare_tunnel_config"` => `"clouflare_zero_trust_tunnel_cloudflared_config"`,
`"cloudflare_tunnel_route"` => `"clouflare_zero_trust_tunnel_route"`,
`"cloudflare_tunnel_virtual_network"` => `"clouflare_zero_trust_tunnel_virtual_network"`,
`"cloudflare_access_application"` => `"cloudflare_zero_trust_access_application"`,
`"cloudflare_access_ca_certificate"` => `"cloudflare_zero_trust_access_short_lived_certificate"`,
`"cloudflare_access_custom_page"` => `"cloudflare_zero_trust_access_custom_page"`,
`"cloudflare_access_group"` => `"cloudflare_zero_trust_access_group"`,
`"cloudflare_access_identity_provider"` => `"cloudflare_zero_trust_access_identity_provider"`,
`"cloudflare_access_keys_configuration"` => `"cloudflare_zero_trust_access_key_configuration"`,
`"cloudflare_access_mutual_tls_certificate"` => `"cloudflare_zero_trust_access_mtls_certificate"`,
`"cloudflare_access_mutual_tls_hostname_settings"` => `"cloudflare_zero_trust_access_mtls_hostname_settings"`,
`"cloudflare_access_organization"` => `"cloudflare_zero_trust_organization"`,
`"cloudflare_access_policy"` => `"cloudflare_zero_trust_access_policy"`,
`"cloudflare_access_service_token"` => `"cloudflare_zero_trust_access_service_token"`,
`"cloudflare_access_tag"` => `"cloudflare_zero_trust_access_tag"`,
`"cloudflare_device_dex_test"` => `"cloudflare_zero_trust_dex_test"`,
`"cloudflare_device_managed_networks"` => `"cloudflare_zero_trust_device_managed_networks"`,
`"cloudflare_device_policy_certificates"` => `"cloudflare_zero_trust_device_certificates"`,
`"cloudflare_device_posture_integration"` => `"cloudflare_zero_trust_device_posture_integration"`,
`"cloudflare_device_posture_rule"` => `"cloudflare_zero_trust_device_posture_rule"`,
`"cloudflare_device_settings_policy"` => `"cloudflare_zero_trust_device_profiles"`,
`"cloudflare_dlp_profile"` => `"cloudflare_zero_trust_dlp_profile"`,
`"cloudflare_dlp_custom_profile"` => `"cloudflare_zero_trust_dlp_custom_profile"`,
`"cloudflare_dlp_predefined_profile"` => `"cloudflare_zero_trust_dlp_predefined_profile"`,
`"cloudflare_fallback_domain"` => `"cloudflare_zero_trust_local_domain_fallback"`,
`"cloudflare_risk_behavior"` => `"cloudflare_zero_trust_risk_behavior"`,
`"cloudflare_split_tunnel"` => `"cloudflare_zero_trust_split_tunnels"`,
`"cloudflare_teams_account"` => `"cloudflare_zero_trust_gateway_settings"`,
`"cloudflare_teams_list"` => `"cloudflare_zero_trust_list"`,
`"cloudflare_teams_location"` => `"cloudflare_zero_trust_dns_location"`,
`"cloudflare_teams_proxy_endpoint"` => `"cloudflare_zero_trust_gateway_proxy_endpoint"`,
`"cloudflare_teams_rule"` => `"cloudflare_zero_trust_gateway_policy"`,
`"cloudflare_tunnel"` => `"cloudflare_zero_trust_tunnel_cloudflared"`,
`"cloudflare_tunnel_config"` => `"cloudflare_zero_trust_tunnel_cloudflared_config"`,
`"cloudflare_tunnel_route"` => `"cloudflare_zero_trust_tunnel_route"`,
`"cloudflare_tunnel_virtual_network"` => `"cloudflare_zero_trust_tunnel_virtual_network"`,

// handle references
`cloudflare_access_application` => `clouflare_zero_trust_access_application`,
`cloudflare_access_ca_certificate` => `clouflare_zero_trust_access_short_lived_certificate`,
`cloudflare_access_custom_page` => `clouflare_zero_trust_access_custom_page`,
`cloudflare_access_group` => `clouflare_zero_trust_access_group`,
`cloudflare_access_identity_provider` => `clouflare_zero_trust_access_identity_provider`,
`cloudflare_access_keys_configuration` => `clouflare_zero_trust_access_key_configuration`,
`cloudflare_access_mutual_tls_certificate` => `clouflare_zero_trust_access_mtls_certificate`,
`cloudflare_access_mutual_tls_hostname_settings` => `clouflare_zero_trust_access_mtls_hostname_settings`,
`cloudflare_access_organization` => `clouflare_zero_trust_organization`,
`cloudflare_access_policy` => `clouflare_zero_trust_access_policy`,
`cloudflare_access_service_token` => `clouflare_zero_trust_access_service_token`,
`cloudflare_access_tag` => `clouflare_zero_trust_access_tag`,
`cloudflare_device_dex_test` => `clouflare_zero_trust_dex_test`,
`cloudflare_device_managed_networks` => `clouflare_zero_trust_device_managed_networks`,
`cloudflare_device_policy_certificates` => `clouflare_zero_trust_device_certificates`,
`cloudflare_device_posture_integration` => `clouflare_zero_trust_device_posture_integration`,
`cloudflare_device_posture_rule` => `clouflare_zero_trust_device_posture_rule`,
`cloudflare_device_settings_policy` => `clouflare_zero_trust_device_profiles`,
`cloudflare_dlp_profile` => `clouflare_zero_trust_dlp_profile`,
`cloudflare_dlp_custom_profile` => `clouflare_zero_trust_dlp_custom_profile`,
`cloudflare_dlp_predefined_profile` => `clouflare_zero_trust_dlp_predefined_profile`,
`cloudflare_fallback_domain` => `clouflare_zero_trust_local_domain_fallback`,
`cloudflare_risk_behavior` => `clouflare_zero_trust_risk_behavior`,
`cloudflare_split_tunnel` => `clouflare_zero_trust_split_tunnels`,
`cloudflare_teams_account` => `clouflare_zero_trust_gateway_settings`,
`cloudflare_teams_list` => `clouflare_zero_trust_list`,
`cloudflare_teams_location` => `clouflare_zero_trust_dns_location`,
`cloudflare_teams_proxy_endpoint` => `clouflare_zero_trust_gateway_proxy_endpoint`,
`cloudflare_teams_rule` => `clouflare_zero_trust_gateway_policy`,
`cloudflare_tunnel` => `clouflare_zero_trust_tunnel_cloudflared`,
`cloudflare_tunnel_config` => `clouflare_zero_trust_tunnel_cloudflared_config`,
`cloudflare_tunnel_route` => `clouflare_zero_trust_tunnel_route`,
`cloudflare_tunnel_virtual_network` => `clouflare_zero_trust_tunnel_virtual_network`,
`cloudflare_access_application` => `cloudflare_zero_trust_access_application`,
`cloudflare_access_ca_certificate` => `cloudflare_zero_trust_access_short_lived_certificate`,
`cloudflare_access_custom_page` => `cloudflare_zero_trust_access_custom_page`,
`cloudflare_access_group` => `cloudflare_zero_trust_access_group`,
`cloudflare_access_identity_provider` => `cloudflare_zero_trust_access_identity_provider`,
`cloudflare_access_keys_configuration` => `cloudflare_zero_trust_access_key_configuration`,
`cloudflare_access_mutual_tls_certificate` => `cloudflare_zero_trust_access_mtls_certificate`,
`cloudflare_access_mutual_tls_hostname_settings` => `cloudflare_zero_trust_access_mtls_hostname_settings`,
`cloudflare_access_organization` => `cloudflare_zero_trust_organization`,
`cloudflare_access_policy` => `cloudflare_zero_trust_access_policy`,
`cloudflare_access_service_token` => `cloudflare_zero_trust_access_service_token`,
`cloudflare_access_tag` => `cloudflare_zero_trust_access_tag`,
`cloudflare_device_dex_test` => `cloudflare_zero_trust_dex_test`,
`cloudflare_device_managed_networks` => `cloudflare_zero_trust_device_managed_networks`,
`cloudflare_device_policy_certificates` => `cloudflare_zero_trust_device_certificates`,
`cloudflare_device_posture_integration` => `cloudflare_zero_trust_device_posture_integration`,
`cloudflare_device_posture_rule` => `cloudflare_zero_trust_device_posture_rule`,
`cloudflare_device_settings_policy` => `cloudflare_zero_trust_device_profiles`,
`cloudflare_dlp_profile` => `cloudflare_zero_trust_dlp_profile`,
`cloudflare_dlp_custom_profile` => `cloudflare_zero_trust_dlp_custom_profile`,
`cloudflare_dlp_predefined_profile` => `cloudflare_zero_trust_dlp_predefined_profile`,
`cloudflare_fallback_domain` => `cloudflare_zero_trust_local_domain_fallback`,
`cloudflare_risk_behavior` => `cloudflare_zero_trust_risk_behavior`,
`cloudflare_split_tunnel` => `cloudflare_zero_trust_split_tunnels`,
`cloudflare_teams_account` => `cloudflare_zero_trust_gateway_settings`,
`cloudflare_teams_list` => `cloudflare_zero_trust_list`,
`cloudflare_teams_location` => `cloudflare_zero_trust_dns_location`,
`cloudflare_teams_proxy_endpoint` => `cloudflare_zero_trust_gateway_proxy_endpoint`,
`cloudflare_teams_rule` => `cloudflare_zero_trust_gateway_policy`,
`cloudflare_tunnel` => `cloudflare_zero_trust_tunnel_cloudflared`,
`cloudflare_tunnel_config` => `cloudflare_zero_trust_tunnel_cloudflared_config`,
`cloudflare_tunnel_route` => `cloudflare_zero_trust_tunnel_route`,
`cloudflare_tunnel_virtual_network` => `cloudflare_zero_trust_tunnel_virtual_network`,
}
}

Expand Down
Loading

0 comments on commit 7e5f90c

Please sign in to comment.