Skip to content

Commit ba84f7a

Browse files
committed
use correct paths for validation
1 parent a6b4a52 commit ba84f7a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mmv1/products/bigquerydatatransfer/Config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ custom_code:
4141
post_create: 'templates/terraform/post_create/set_computed_name.tmpl'
4242
pre_update: 'templates/terraform/pre_update/bigquerydatatransfer_config.tmpl'
4343
custom_import: 'templates/terraform/custom_import/bigquery_data_transfer_self_link_as_name_set_location.go.tmpl'
44+
validation: 'templates/terraform/validation/bigquery_data_transfer_config.go.tmpl'
4445
custom_diff:
4546
- 'sensitiveParamCustomizeDiff'
4647
- 'paramsCustomizeDiff'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
validation.PreferWriteOnlyAttribute(cty.GetAttrPath("sensitive_params").IndexAt(0).GetAttr("secret_access_key"),cty.GetAttrPath("sensitive_params_wo").IndexAt(0).GetAttr("secret_access_key_wo"))

0 commit comments

Comments
 (0)