mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-01 07:42:40 +00:00
Fix encryption config in dataproc (#2854)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
This commit is contained in:
parent
3e0df87bff
commit
5582d8ea5a
|
@ -845,6 +845,10 @@ func flattenSoftwareConfig(d *schema.ResourceData, sc *dataproc.SoftwareConfig)
|
|||
}
|
||||
|
||||
func flattenEncryptionConfig(d *schema.ResourceData, ec *dataproc.EncryptionConfig) []map[string]interface{} {
|
||||
if ec == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
data := map[string]interface{}{
|
||||
"kms_key_name": ec.GcePdKmsKeyName,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user