mayn / packerlicious

use python to make hashicorp packer templates
Apache License 2.0
103 stars 51 forks source link

shutdown_behavior #122

Closed levisbakalinsky closed 6 years ago

levisbakalinsky commented 6 years ago

packerlicious version

Packerlicious: 1.0.1 Packer: 1.3.0

Expected behavior

shutdown_behavior="terminate" should have passed validation and not thrown an error. Packer expects "terminate" not ["terminate"]

Actual behavior

shutdown_behavior="terminate", TypeError: <class 'packerlicious.builder.AmazonEbs'>: None.shutdown_behavior is <type 'str'>, expected [<type 'str'>]

Steps to reproduce

Set shutdown_behavior="terminate",

levisbakalinsky commented 6 years ago

See this page for formatting. Looked through packer change log, but haven't found if they recently changed the format.

https://www.packer.io/docs/builders/amazon-ebs.html#shutdown_behavior

mayn commented 6 years ago

@levisbakalinsky v1.0.2 was released w/ this change. Thanks!