Skip to content

Commit 6edd784

Browse files
committed
Switched subscription_id to use a standard custom_flatten
Following #12939 this will trigger proper generation of post-create code
1 parent c40f16e commit 6edd784

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

mmv1/products/bigqueryanalyticshub/ListingSubscription.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ immutable: true
3030
import_format:
3131
- 'projects/{{project}}/locations/{{location}}/subscriptions/{{subscription_id}}'
3232
custom_code:
33-
post_create: templates/terraform/post_create/analytics_hub_subscription.go.tmpl
3433
pre_read: 'templates/terraform/pre_read/bigqueryanalyticshub_listing_subscription.tmpl'
3534
pre_delete: 'templates/terraform/pre_read/bigqueryanalyticshub_listing_subscription.tmpl'
3635
post_import: templates/terraform/post_import/analytics_hub_subscription.go.tmpl
@@ -122,7 +121,7 @@ properties:
122121
description: |-
123122
The subscription id used to reference the subscription.
124123
output: true
125-
ignore_read: true
124+
custom_flatten: 'templates/terraform/custom_flatten/id_from_name.tmpl'
126125
- name: 'creationTime'
127126
type: Time
128127
description: |-

mmv1/templates/terraform/post_create/analytics_hub_subscription.go.tmpl

-10
This file was deleted.

0 commit comments

Comments
 (0)