packer-cn/builder/amazon/ebssurrogate
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
It is simply the best/simplest solution and trying to prevent users from passing and integer here would be like opening a can of worms. Because:

* we cannot make mapstructure validate our duration string ( with an UnmarshalJSON func etc.)
* we cannot make mapstructure spit a string instead of a duration and packer will decode-encode-decode config.
* the hcl2 generated code asks for a string, so this will be enforced by default.
2019-10-31 16:12:07 +01:00
..
block_device.go Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-09-20 11:15:44 +02:00
builder.go Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
builder_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
root_block_device.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
step_register_ami.go ebssurrogate builds didn't keep up with recent optimizations to region encryption in the ebs builder, and that was causing bugs with the common ami region copy step 2019-10-09 16:02:37 -07:00
step_register_ami_test.go Fix formatting by running `make fmt` 2018-03-25 19:51:49 -04:00
step_snapshot_volumes.go add omit_from_artifact option for ebssurragote launch_block_devices 2019-05-10 11:12:11 -07:00