File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
templates/tgc_next/decoders Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ custom_code:
6060 pre_update : ' templates/terraform/pre_update/alloydb_cluster.go.tmpl'
6161 pre_delete : ' templates/terraform/pre_delete/alloydb_cluster.go.tmpl'
6262 constants : ' templates/terraform/constants/alloydb_cluster.go.tmpl'
63+ tgc_decoder : ' templates/tgc_next/decoders/alloydb_cluster.go.tmpl'
6364custom_diff :
6465 - ' alloydbClusterCustomizeDiff'
6566# Skipping the sweeper because we need to force-delete clusters.
Original file line number Diff line number Diff line change 1+ // password is missing in CAI asset, but password is required in Terraform
2+ if res["initialUser"] == nil && res["clusterType"] == "PRIMARY" {
3+ res["initialUser"] = map[string]interface{}{
4+ "password": "hidden",
5+ }
6+ }
7+
8+ return res, hclData, nil
You can’t perform that action at this time.
0 commit comments