Skip to content

Commit

Permalink
#122 correct shutdown_behavior type for remaining Amazon resources
Browse files Browse the repository at this point in the history
  • Loading branch information
mayn committed Oct 13, 2018
1 parent f3793b8 commit 22372dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ Provisioners:


Community Plugins:

- packer-provisioner-inspec

Licensing
Expand Down
6 changes: 3 additions & 3 deletions src/packerlicious/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class AmazonEbsSurrogate(PackerBuilder):
'run_volume_tags': (dict, False),
'security_group_id': (str, False),
'security_group_ids': ([str], False),
'shutdown_behavior': ([str], False),
'shutdown_behavior': (str, False),
'skip_region_validation': (validator.boolean, False),
'snapshot_groups': ([str], False),
'snapshot_users': ([str], False),
Expand Down Expand Up @@ -443,7 +443,7 @@ class AmazonEbsVolume(PackerBuilder):
'run_tags': (dict, False),
'security_group_id': (str, False),
'security_group_ids': ([str], False),
'shutdown_behavior': ([str], False),
'shutdown_behavior': (str, False),
'skip_region_validation': (validator.boolean, False),
'snapshot_groups': ([str], False),
'snapshot_users': ([str], False),
Expand Down Expand Up @@ -495,7 +495,7 @@ class AmazonInstance(PackerBuilder):
"""
AWS Instance Template Variables
https://www.packer.io/docs/builders/amazon-ebs.html#ami_description
TODO impl validation ami_virtualization_type region_kms_key_ids run_volume_tags shutdown_behavior
TODO impl validation ami_virtualization_type region_kms_key_ids run_volume_tags
spot_price_auto_product ssh_keypair_name
"""
SourceAMI = TemplateVar("SourceAMI")
Expand Down

0 comments on commit 22372dc

Please sign in to comment.