mirror of https://github.com/kubernetes/kops.git
Merge pull request #185 from justinsb/terraform_bdm_fixes
Fixes for terraform block device mapping output
This commit is contained in:
commit
5156f6351b
|
|
@ -291,13 +291,13 @@ type terraformLaunchConfiguration struct {
|
||||||
|
|
||||||
type terraformBlockDevice struct {
|
type terraformBlockDevice struct {
|
||||||
// For ephemeral devices
|
// For ephemeral devices
|
||||||
DeviceName *string `json:"device_name"`
|
DeviceName *string `json:"device_name,omitempty"`
|
||||||
VirtualName *string `json:"virtual_name"`
|
VirtualName *string `json:"virtual_name,omitempty"`
|
||||||
|
|
||||||
// For root
|
// For root
|
||||||
VolumeType *string `json:"volume_type"`
|
VolumeType *string `json:"volume_type,omitempty"`
|
||||||
VolumeSize *int64 `json:"volume_size"`
|
VolumeSize *int64 `json:"volume_size,omitempty"`
|
||||||
DeleteOnTermination *bool `json:"delete_on_termination"`
|
DeleteOnTermination *bool `json:"delete_on_termination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type terraformLifecycle struct {
|
type terraformLifecycle struct {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue