Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 2 additions & 1 deletion mmv1/products/billingbudget/Budget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ properties:
- 'amount.0.specified_amount'
- 'amount.0.last_period_amount'
custom_flatten: 'templates/terraform/custom_flatten/object_to_bool.go.tmpl'
custom_expand: 'templates/terraform/custom_expand/bool_to_object.go.tmpl'
# {{/* THIS TEMPLATE IS DEPRECATED, DO NOT USE FOR NEW FIELDS */}}
custom_expand: 'templates/terraform/custom_expand/deprecated_bool_to_object.go.tmpl'
- name: 'thresholdRules'
type: Array
description: |
Expand Down
3 changes: 2 additions & 1 deletion mmv1/products/dlp/DeidentifyTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ properties:
description: |
Replace each matching finding with the name of the info type.
custom_flatten: 'templates/terraform/custom_flatten/object_to_bool.go.tmpl'
custom_expand: 'templates/terraform/custom_expand/bool_to_object.go.tmpl'
# THIS TEMPLATE IS DEPRECATED, DO NOT USE FOR NEW FIELDS
custom_expand: 'templates/terraform/custom_expand/deprecated_bool_to_object.go.tmpl'
- name: 'characterMaskConfig'
type: NestedObject
description: |
Expand Down
3 changes: 2 additions & 1 deletion mmv1/products/dns/ManagedZone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ properties:
min_version: 'beta'
immutable: true
custom_flatten: 'templates/terraform/custom_flatten/object_to_bool.go.tmpl'
custom_expand: 'templates/terraform/custom_expand/bool_to_object.go.tmpl'
# THIS TEMPLATE IS DEPRECATED, DO NOT USE FOR NEW FIELDS
custom_expand: 'templates/terraform/custom_expand/deprecated_bool_to_object.go.tmpl'
- name: 'serviceDirectoryConfig'
type: NestedObject
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
See the License for the specific language governing permissions and
limitations under the License.
*/ -}}

{{/* THIS TEMPLATE IS DEPRECATED, DO NOT USE FOR NEW FIELDS */}}

func expand{{$.GetPrefix}}{{$.TitlelizeProperty}}(v interface{}, d tpgresource.TerraformResourceData, config *transport_tpg.Config) (interface{}, error) {
if v == nil || !v.(bool) {
return nil, nil
Expand Down
Loading