Merge pull request #9872 from hakman/root-vol-encrypt-lc

Use root volume encryption flag for LaunchConfiguration with TF and CF
This commit is contained in:
Kubernetes Prow Robot 2020-09-08 04:31:42 -07:00 committed by GitHub
commit 3527d32b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -490,6 +490,7 @@ func (_ *LaunchConfiguration) RenderTerraform(t *terraform.TerraformTarget, a, e
VolumeType: bdm.EbsVolumeType,
VolumeSize: bdm.EbsVolumeSize,
Iops: bdm.EbsVolumeIops,
Encrypted: bdm.EbsEncrypted,
DeleteOnTermination: bdm.EbsDeleteOnTermination,
}
}
@ -650,6 +651,7 @@ func (_ *LaunchConfiguration) RenderCloudformation(t *cloudformation.Cloudformat
VolumeType: bdm.EbsVolumeType,
VolumeSize: bdm.EbsVolumeSize,
Iops: bdm.EbsVolumeIops,
Encrypted: bdm.EbsEncrypted,
DeleteOnTermination: bdm.EbsDeleteOnTermination,
},
}