Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Feb 13, 2025
1 parent 53528e3 commit c928553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion mmv1/provider/terraform_tgc.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ func (tgc TerraformGoogleConversion) CopyCommonFiles(outputFolder string, genera
"converters/google/convert.go": "third_party/tgc/convert.go",
"converters/google/convert_test.go": "third_party/tgc/convert_test.go",
"converters/google/resources/services/compute/compute_instance_group.go": "third_party/tgc/services/compute/compute_instance_group.go",
"converters/google/resources/services/compute/compute_disk.go": "third_party/tgc/services/compute/compute_disk.go",
"converters/google/resources/services/dataflow/job.go": "third_party/tgc/services/dataflow/job.go",
"converters/google/resources/services/resourcemanager/service_account_key.go": "third_party/tgc/services/resourcemanager/service_account_key.go",
"converters/google/resources/services/compute/compute_target_pool.go": "third_party/tgc/services/compute/compute_target_pool.go",
Expand Down
2 changes: 1 addition & 1 deletion mmv1/templates/terraform/update_encoder/disk.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if ne $.ResourceMetadata.Compiler "terraformgoogleconversion-codegen" }}
if rawKey, _ := d.GetRawConfigAt(cty.GetAttrPath("disk_encryption_key").IndexInt(0).GetAttr("rawKey")); !rawKey.IsNull() {
if rawKey, _ := d.GetRawConfigAt(cty.GetAttrPath("disk_encryption_key").IndexInt(0).GetAttr("rawKeyWo")); !rawKey.IsNull() {
obj["diskEncryptionKey"] = map[string]interface{}{
"rawKey": rawKey.AsString(),
}
Expand Down

0 comments on commit c928553

Please sign in to comment.