Skip to content

Commit 86a3446

Browse files
authored
tgc-revival: use include_in_tgc_next (#15805)
1 parent 823b204 commit 86a3446

File tree

86 files changed

+88
-88
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+88
-88
lines changed

docs/content/convert/add-new-resource-tgc.md

Lines changed: 3 additions & 3 deletions

mmv1/api/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ type TGCResource struct {
387387
ExcludeTgc bool `yaml:"exclude_tgc,omitempty"`
388388

389389
// If true, include resource in the new package of TGC (terraform-provider-conversion)
390-
IncludeInTGCNext bool `yaml:"include_in_tgc_next_DO_NOT_USE,omitempty"`
390+
IncludeInTGCNext bool `yaml:"include_in_tgc_next,omitempty"`
391391

392392
// The resource kind in CAI.
393393
// If this is not set, then :name is used instead.

mmv1/products/alloydb/Backup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async:
4040
resource_inside_response: false
4141
custom_code:
4242
encoder: 'templates/terraform/encoders/alloydb_backup.tmpl'
43-
include_in_tgc_next_DO_NOT_USE: true
43+
include_in_tgc_next: true
4444
tgc_include_handwritten_tests: true
4545
examples:
4646
- name: 'alloydb_backup_basic'

mmv1/products/alloydb/Cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ custom_diff:
6565
- 'alloydbClusterCustomizeDiff'
6666
# Skipping the sweeper because we need to force-delete clusters.
6767
exclude_sweeper: true
68-
include_in_tgc_next_DO_NOT_USE: true
68+
include_in_tgc_next: true
6969
tgc_include_handwritten_tests: true
7070
examples:
7171
- name: 'alloydb_cluster_basic'

mmv1/products/alloydb/Instance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ custom_code:
5252
custom_import: 'templates/terraform/custom_import/alloydb_instance.go.tmpl'
5353
# Skipping the sweeper because instances will be deleted during cluster sweeps
5454
exclude_sweeper: true
55-
include_in_tgc_next_DO_NOT_USE: true
55+
include_in_tgc_next: true
5656
tgc_include_handwritten_tests: true
5757
examples:
5858
- name: 'alloydb_instance_basic'

mmv1/products/apigee/Instance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ custom_code:
4747
error_retry_predicates:
4848
- 'transport_tpg.IsApigeeRetryableError'
4949
exclude_sweeper: true
50-
include_in_tgc_next_DO_NOT_USE: true
50+
include_in_tgc_next: true
5151
tgc_include_handwritten_tests: true
5252
examples:
5353
- name: 'apigee_instance_basic'

mmv1/products/apphub/Application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ custom_code:
4141
constants: 'templates/terraform/constants/apphub_application.go.tmpl'
4242
custom_diff:
4343
- 'apphubApplicationCustomizeDiff'
44-
include_in_tgc_next_DO_NOT_USE: true
44+
include_in_tgc_next: true
4545
tgc_include_handwritten_tests: true
4646
sweeper:
4747
url_substitutions:

mmv1/products/apphub/Service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async:
4040
result:
4141
resource_inside_response: true
4242
custom_code:
43-
include_in_tgc_next_DO_NOT_USE: true
43+
include_in_tgc_next: true
4444
tgc_include_handwritten_tests: true
4545
examples:
4646
- name: 'apphub_service_basic'

mmv1/products/apphub/ServiceProjectAttachment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async:
3838
resource_inside_response: true
3939
custom_code:
4040
constants: 'templates/terraform/constants/apphub_service_project.go.tmpl'
41-
include_in_tgc_next_DO_NOT_USE: true
41+
include_in_tgc_next: true
4242
tgc_include_handwritten_tests: true
4343
examples:
4444
- name: 'service_project_attachment_basic'

mmv1/products/apphub/Workload.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async:
4040
result:
4141
resource_inside_response: true
4242
custom_code:
43-
include_in_tgc_next_DO_NOT_USE: true
43+
include_in_tgc_next: true
4444
tgc_include_handwritten_tests: true
4545
examples:
4646
- name: 'apphub_workload_basic'

0 commit comments

Comments
 (0)