[dynamic-source-ami] fix old key name in error message

This commit is contained in:
Chris Lundquist 2016-08-21 00:58:01 +00:00
parent b4d20706ce
commit 3cc8d35450
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func (c *RunConfig) Prepare(ctx *interpolate.Context) []error {
// Validation
errs := c.Comm.Prepare(ctx)
if c.SourceAmi == "" && c.SourceAmiFilter.Empty() {
errs = append(errs, errors.New("A source_ami or dynamic_source_ami must be specified"))
errs = append(errs, errors.New("A source_ami or source_ami_filter must be specified"))
}
if c.InstanceType == "" {