File tree Expand file tree Collapse file tree 11 files changed +21
-64
lines changed
third_party/tgc_next/test Expand file tree Collapse file tree 11 files changed +21
-64
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ examples:
5858 org_id : ' ORG_ID'
5959 host_project : ' PROJECT_NAME'
6060 external_providers : ["random", "time"]
61- tgc_test_ignore_extra :
62- # This field is not converted from cai2hcl, as this field is not useful.
63- # The diff_suppress_func suppresses the diff for this field for all of cases, then this field is not in terraform plan
64- - ' service_project'
6561parameters :
6662 - name : ' serviceProjectAttachmentId'
6763 type : String
@@ -86,6 +82,7 @@ properties:
8682 immutable : true
8783 diff_suppress_func : ' ServiceProjectDiffSuppress'
8884 custom_flatten : ' templates/terraform/custom_flatten/apphub_service_project.go.tmpl'
85+ tgc_ignore_terraform_custom_flatten : true
8986 custom_expand : ' templates/terraform/custom_expand/apphub_service_project.go.tmpl'
9087 - name : ' createTime'
9188 type : String
Original file line number Diff line number Diff line change @@ -110,8 +110,6 @@ examples:
110110 vars :
111111 repository_id : ' my-repository'
112112 desc : ' example docker repository with cleanup policies'
113- tgc_test_ignore_extra :
114- - cleanup_policy_dry_run
115113 - name : ' artifact_registry_repository_remote_dockerhub_auth'
116114 primary_resource_id : ' my-repo'
117115 vars :
Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ examples:
5959 primary_resource_name : ' fmt.Sprintf("tf-test-connection%s", context["random_suffix"])'
6060 vars :
6161 connection_name : ' tf-test-connection'
62- tgc_test_ignore_extra :
63- - github_config.app_installation_id # It has 0 in Terraform configuration
6462 - name : ' cloudbuildv2_connection_ghe'
6563 exclude_test : true
6664 - name : ' cloudbuildv2_connection_github'
Original file line number Diff line number Diff line change @@ -49,24 +49,18 @@ examples:
4949 connection_name : ' connection'
5050 repository_name : ' repository'
5151 exclude_docs : true
52- tgc_test_ignore_extra :
53- - annotations # It has empty object in Terraform configuration
5452 - name : ' cloudbuildv2_repository_github'
5553 primary_resource_id : ' primary'
5654 vars :
5755 connection_name : ' connection'
5856 repository_name : ' repository'
5957 exclude_docs : true
60- tgc_test_ignore_extra :
61- - annotations # It has empty object in Terraform configuration
6258 - name : ' cloudbuildv2_repository_gle'
6359 primary_resource_id : ' primary'
6460 vars :
6561 connection_name : ' connection'
6662 repository_name : ' repository'
6763 exclude_docs : true
68- tgc_test_ignore_extra :
69- - annotations # It has empty object in Terraform configuration
7064 - name : ' cloudbuildv2_repository_ghe_doc'
7165 exclude_test : true
7266 - name : ' cloudbuildv2_repository_github_doc'
Original file line number Diff line number Diff line change @@ -48,26 +48,11 @@ examples:
4848 vars :
4949 policy : " cd-policy"
5050 delivery_pipeline : " cd-pipeline"
51- tgc_test_ignore_extra : # These values have 0 value in TF config
52- - rules.rollout_restriction.time_windows.weekly_windows.end_time.minutes
53- - rules.rollout_restriction.time_windows.weekly_windows.start_time.hours
54- - rules.rollout_restriction.time_windows.weekly_windows.start_time.minutes
5551 - name : " clouddeploy_deploy_policy_full"
5652 primary_resource_id : " f-deploy-policy"
5753 vars :
5854 policy : " cd-policy"
5955 delivery_pipeline : " cd-pipeline"
60- tgc_test_ignore_extra : # These values have 0 value in TF config
61- - rules.0.rollout_restriction.time_windows.one_time_windows.end_time.minutes
62- - rules.0.rollout_restriction.time_windows.one_time_windows.start_time.hours
63- - rules.0.rollout_restriction.time_windows.one_time_windows.start_time.minutes
64- - rules.0.rollout_restriction.time_windows.weekly_windows.end_time.minutes
65- - rules.0.rollout_restriction.time_windows.weekly_windows.end_time.nanos
66- - rules.0.rollout_restriction.time_windows.weekly_windows.end_time.seconds
67- - rules.0.rollout_restriction.time_windows.weekly_windows.start_time.minutes
68- - rules.1.rollout_restriction.time_windows.weekly_windows.end_time.minutes
69- - rules.1.rollout_restriction.time_windows.weekly_windows.start_time.hours
70- - rules.1.rollout_restriction.time_windows.weekly_windows.start_time.minutes
7156parameters :
7257 - name : " location"
7358 type : String
Original file line number Diff line number Diff line change @@ -103,8 +103,6 @@ examples:
103103 vars :
104104 backend_service_name : ' backend-service'
105105 health_check_name : ' health-check'
106- tgc_test_ignore_extra :
107- - outlier_detection.enforcing_consecutive_gateway_failure # Ignore the 0 value in config
108106 - name : ' backend_service_stateful_session_affinity'
109107 primary_resource_id : ' default'
110108 min_version : ' beta'
Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ examples:
5353 url_map_name : ' urlmap'
5454 home_backend_service_name : ' home'
5555 health_check_name : ' health-check'
56- tgc_test_ignore_extra :
57- - ' path_matcher.route_rules.url_redirect.https_redirect'
5856 - name : ' url_map_traffic_director_route_partial'
5957 primary_resource_id : ' urlmap'
6058 vars :
Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ examples:
5656 vars :
5757 gateway_security_policy_id : ' my-gateway-security-policy'
5858 resource_name : ' my-gateway-security-policy-rule'
59- tgc_test_ignore_extra :
60- - ' tls_inspection_enabled' # Ignore its false value in Terraform configuration
6159parameters :
6260 - name : ' name'
6361 type : String
Original file line number Diff line number Diff line change @@ -54,27 +54,19 @@ examples:
5454 primary_resource_id : ' default'
5555 vars :
5656 resource_name : ' my-server-tls-policy'
57- tgc_test_ignore_extra :
58- - ' allow_open' # Ignore its false value in Terraform configuration
5957 - name : ' network_security_server_tls_policy_advanced'
6058 primary_resource_id : ' default'
6159 vars :
6260 resource_name : ' my-server-tls-policy'
63- tgc_test_ignore_extra :
64- - ' allow_open' # Ignore its false value in Terraform configuration
6561 - name : ' network_security_server_tls_policy_server_cert'
6662 primary_resource_id : ' default'
6763 vars :
6864 resource_name : ' my-server-tls-policy'
69- tgc_test_ignore_extra :
70- - ' allow_open' # Ignore its false value in Terraform configuration
7165 - name : ' network_security_server_tls_policy_mtls'
7266 primary_resource_id : ' default'
7367 vars :
7468 resource_name : ' my-server-tls-policy'
7569 trust_config_name : ' my-trust-config'
76- tgc_test_ignore_extra :
77- - ' allow_open' # Ignore its false value in Terraform configuration
7870parameters :
7971 - name : ' name'
8072 type : String
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ examples:
5757 vars :
5858 topic_name : ' example-topic'
5959 subscription_name : ' example-subscription'
60- tgc_test_ignore_extra :
61- - enable_message_ordering # ignore its false value in configuration
6260 - name : ' pubsub_subscription_pull_filter'
6361 primary_resource_id : ' example'
6462 vars :
You can’t perform that action at this time.
0 commit comments