@@ -608,13 +608,41 @@ func expandComputeDiskDiskEncryptionKey(v interface{}, d tpgresource.TerraformRe
608
608
transformed ["rawKey" ] = transformedRawKey
609
609
}
610
610
611
+ transformedRawKeyWoVersion , err := expandComputeDiskDiskEncryptionKeyRawKeyWoVersion (original ["raw_key_wo_version" ], d , config )
612
+ if err != nil {
613
+ return nil , err
614
+ } else if val := reflect .ValueOf (transformedRawKeyWoVersion ); val .IsValid () && ! tpgresource .IsEmptyValue (val ) {
615
+ transformed ["rawKeyWoVersion" ] = transformedRawKeyWoVersion
616
+ }
617
+
618
+ transformedRawKeyWo , err := expandComputeDiskDiskEncryptionKeyRawKeyWo (original ["raw_key_wo" ], d , config )
619
+ if err != nil {
620
+ return nil , err
621
+ } else if val := reflect .ValueOf (transformedRawKeyWo ); val .IsValid () && ! tpgresource .IsEmptyValue (val ) {
622
+ transformed ["rawKeyWo" ] = transformedRawKeyWo
623
+ }
624
+
625
+ transformedRsaEncryptedKeyWoVersion , err := expandComputeDiskDiskEncryptionKeyRsaEncryptedKeyWoVersion (original ["rsa_encrypted_key_wo_version" ], d , config )
626
+ if err != nil {
627
+ return nil , err
628
+ } else if val := reflect .ValueOf (transformedRsaEncryptedKeyWoVersion ); val .IsValid () && ! tpgresource .IsEmptyValue (val ) {
629
+ transformed ["rsaEncryptedKeyWoVersion" ] = transformedRsaEncryptedKeyWoVersion
630
+ }
631
+
611
632
transformedRsaEncryptedKey , err := expandComputeDiskDiskEncryptionKeyRsaEncryptedKey (original ["rsa_encrypted_key" ], d , config )
612
633
if err != nil {
613
634
return nil , err
614
635
} else if val := reflect .ValueOf (transformedRsaEncryptedKey ); val .IsValid () && ! tpgresource .IsEmptyValue (val ) {
615
636
transformed ["rsaEncryptedKey" ] = transformedRsaEncryptedKey
616
637
}
617
638
639
+ transformedRsaEncryptedKeyWo , err := expandComputeDiskDiskEncryptionKeyRsaEncryptedKeyWo (original ["rsa_encrypted_key_wo" ], d , config )
640
+ if err != nil {
641
+ return nil , err
642
+ } else if val := reflect .ValueOf (transformedRsaEncryptedKeyWo ); val .IsValid () && ! tpgresource .IsEmptyValue (val ) {
643
+ transformed ["rsaEncryptedKeyWo" ] = transformedRsaEncryptedKeyWo
644
+ }
645
+
618
646
transformedSha256 , err := expandComputeDiskDiskEncryptionKeySha256 (original ["sha256" ], d , config )
619
647
if err != nil {
620
648
return nil , err
@@ -643,10 +671,26 @@ func expandComputeDiskDiskEncryptionKeyRawKey(v interface{}, d tpgresource.Terra
643
671
return v , nil
644
672
}
645
673
674
+ func expandComputeDiskDiskEncryptionKeyRawKeyWoVersion (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
675
+ return v , nil
676
+ }
677
+
678
+ func expandComputeDiskDiskEncryptionKeyRawKeyWo (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
679
+ return v , nil
680
+ }
681
+
682
+ func expandComputeDiskDiskEncryptionKeyRsaEncryptedKeyWoVersion (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
683
+ return v , nil
684
+ }
685
+
646
686
func expandComputeDiskDiskEncryptionKeyRsaEncryptedKey (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
647
687
return v , nil
648
688
}
649
689
690
+ func expandComputeDiskDiskEncryptionKeyRsaEncryptedKeyWo (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
691
+ return v , nil
692
+ }
693
+
650
694
func expandComputeDiskDiskEncryptionKeySha256 (v interface {}, d tpgresource.TerraformResourceData , config * transport_tpg.Config ) (interface {}, error ) {
651
695
return v , nil
652
696
}
0 commit comments