mirror of https://github.com/kubernetes/kops.git
Include omitempty in aws_ebs_volume for TF
This commit is contained in:
parent
9854f2b6c2
commit
7256ae1981
|
@ -131,11 +131,11 @@ func (_ *EBSVolume) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *EBSVolume) e
|
||||||
}
|
}
|
||||||
|
|
||||||
type terraformVolume struct {
|
type terraformVolume struct {
|
||||||
AvailabilityZone *string `json:"availability_zone"`
|
AvailabilityZone *string `json:"availability_zone,omitempty"`
|
||||||
Size *int64 `json:"size"`
|
Size *int64 `json:"size,omitempty"`
|
||||||
Type *string `json:"type"`
|
Type *string `json:"type,omitempty"`
|
||||||
KmsKeyId *string `json:"kms_key_id"`
|
KmsKeyId *string `json:"kms_key_id,omitempty"`
|
||||||
Encrypted *bool `json:"encrypted"`
|
Encrypted *bool `json:"encrypted,omitempty"`
|
||||||
Tags map[string]string `json:"tags,omitempty"`
|
Tags map[string]string `json:"tags,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue