Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mmv1/products/compute/BackendBucket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ async:
result:
resource_inside_response: false
collection_url_key: 'items'
include_in_tgc_next: true
iam_policy:
parent_resource_attribute: 'name'
import_format:
- 'projects/{{project}}/global/backendBuckets/{{name}}'
- '{{name}}'
min_version: 'beta'
include_in_tgc_next: true
custom_code:
encoder: 'templates/terraform/encoders/compute_backend_bucket.go.tmpl'
post_create: 'templates/terraform/post_create/compute_backend_bucket_security_policy.go.tmpl'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/compute/BackendService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ async:
result:
resource_inside_response: false
collection_url_key: 'items'
include_in_tgc_next: true
iam_policy:
allowed_iam_role: 'roles/compute.admin'
parent_resource_attribute: 'name'
iam_conditions_request_type: 'QUERY_PARAM'
min_version: 'beta'
include_in_tgc_next: true
custom_code:
constants: 'templates/terraform/constants/backend_service.go.tmpl'
encoder: 'templates/terraform/encoders/backend_service.go.tmpl'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/compute/Disk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ async:
result:
resource_inside_response: false
collection_url_key: 'items'
include_in_tgc_next: true
iam_policy:
parent_resource_attribute: 'name'
base_url: 'projects/{{project}}/zones/{{zone}}/disks/{{name}}'
import_format:
- 'projects/{{project}}/zones/{{zone}}/disks/{{name}}'
- '{{name}}'
include_in_tgc_next: true
custom_code:
constants: 'templates/terraform/constants/disk.tmpl'
encoder: 'templates/terraform/encoders/disk.tmpl'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/compute/FirewallPolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ timeouts:
import_format:
- 'locations/global/firewallPolicies/{{name}}'
- '{{name}}'
include_in_tgc_next: true
custom_code:
post_create: 'templates/terraform/post_create/compute_firewall_policy.go.tmpl'
post_delete: 'templates/terraform/constants/compute_firewall_policy_operation.go.tmpl'
post_update: 'templates/terraform/constants/compute_firewall_policy_operation.go.tmpl'
custom_diff:
- 'tpgresource.DefaultProviderProject'
include_in_tgc_next: true
examples:
- name: 'firewall_policy'
primary_resource_id: 'default'
Expand Down
1 change: 1 addition & 0 deletions mmv1/products/compute/GlobalNetworkEndpointGroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ async:
result:
resource_inside_response: false
collection_url_key: 'items'
include_in_tgc_next: true
custom_code:
examples:
- name: 'global_network_endpoint_group'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/compute/HaVpnGateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
result:
resource_inside_response: false
collection_url_key: 'items'
custom_code:
include_in_tgc_next: true
custom_code:
schema_version: 1
state_upgraders: true
examples:
Expand All @@ -66,7 +66,7 @@
router2_name: 'ha-vpn-router2'
exclude_test: true
exclude_docs: true
# Multiple fine-grained resources

Check warning on line 69 in mmv1/products/compute/HaVpnGateway.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

69:7 [comments-indentation] comment not indented like content
skip_vcr: true
- name: 'compute_ha_vpn_gateway_encrypted_interconnect'
primary_resource_id: 'vpn-gateway'
Expand Down
1 change: 1 addition & 0 deletions mmv1/products/compute/HttpHealthCheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ async:
resource_inside_response: false
collection_url_key: 'items'
custom_code:
include_in_tgc_next: true
examples:
- name: 'http_health_check_basic'
primary_resource_id: 'default'
Expand Down
1 change: 1 addition & 0 deletions mmv1/products/compute/HttpsHealthCheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ async:
resource_inside_response: false
collection_url_key: 'items'
custom_code:
include_in_tgc_next: true
examples:
- name: 'https_health_check_basic'
primary_resource_id: 'default'
Expand Down
1 change: 1 addition & 0 deletions mmv1/products/compute/InstantSnapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ iam_policy:
sweeper:
url_substitutions:
- zone: "us-central1-a"
include_in_tgc_next: true
examples:
- name: 'instant_snapshot_basic'
primary_resource_id: 'default'
Expand Down
Loading