packer-cn/builder/amazon/common
Forrest C. Shields II 9df637d1f3
Fix syntax in BlockDevice JSON example (#10719)
* Fix syntax in BlockDevice JSON example

Keys must be quoted in JSON.

* Update comment to match generated docs

Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2021-03-04 10:33:42 -05:00
..
awserrors move packer/builder/amazon/common.IsAWSErr to builder/amazon/common/awserrors.Matches 2020-10-29 12:02:41 +01:00
ssm remove sdk 2020-12-17 13:29:25 -08:00
access_config.go Update HCL source example block (#10720) 2021-03-03 16:15:54 -05:00
access_config.hcl2spec.go add extra line before package declaration so this line does not become the synopsis of a package for godoc 2020-12-16 15:14:43 -08:00
access_config_test.go refactor aws test tooling so we can apply common test function helpers to ebsvolume tests 2021-02-23 09:24:03 -08:00
ami_config.go Refactored SnapshotConfig 2021-02-19 10:58:03 +13:00
ami_config_test.go refactor aws test tooling so we can apply common test function helpers to ebsvolume tests 2021-02-23 09:24:03 -08:00
ami_filter.go add AWS API call retries on AMIGetFilteredImage (#10610) 2021-02-11 11:58:56 +01:00
artifact.go remove sdk 2020-12-17 13:29:25 -08:00
artifact_test.go remove sdk 2020-12-17 13:29:25 -08:00
block_device.go Fix syntax in BlockDevice JSON example (#10719) 2021-03-04 10:33:42 -05:00
block_device.hcl2spec.go add extra line before package declaration so this line does not become the synopsis of a package for godoc 2020-12-16 15:14:43 -08:00
block_device_test.go read iops and throughput as pointers so we can test for the nil case;… (#10518) 2021-01-25 10:49:37 +01:00
build_filter.go need to initialize variables scoped to the individual loop, because the address of k,v stay the same and that means we overwrite previous variables when assigning them to the struct directly. 2019-10-28 14:31:13 -07:00
build_filter_test.go add test to catch this case 2019-10-29 11:28:56 -07:00
errors.go builder/amazon/common: remove nil check on slice, len() on nil slices is zero 2019-10-31 12:09:32 -07:00
errors_test.go use a UI wrapper to auto-decode error messages 2018-09-11 16:05:43 -07:00
helper_funcs.go remove sdk 2020-12-17 13:29:25 -08:00
interpolate_build_info.go remove sdk 2020-12-17 13:29:25 -08:00
interpolate_build_info_test.go remove sdk 2020-12-17 13:29:25 -08:00
regions.go aws: document ValidateRegion better 2019-02-27 11:17:08 +01:00
run_config.go Update HCL2 and JSON example for amazon builders (#10645) 2021-02-17 10:32:13 +01:00
run_config.hcl2spec.go Add IMDSv2 support for AWS EBS builder (#10546) 2021-02-09 11:47:54 +01:00
run_config_test.go (3) Add amazon-ami data source (#10467) 2021-01-20 11:05:03 +01:00
snapshot_config.go Refactored SnapshotConfig 2021-02-19 10:58:03 +13:00
ssh.go remove sdk 2020-12-17 13:29:25 -08:00
ssh_test.go remove sdk 2020-12-17 13:29:25 -08:00
state.go Started instramenting some functions and building out unit tests for snapshot step. 2021-02-19 11:09:55 +13:00
state.hcl2spec.go Fixed up after rebaseing 2021-02-19 14:09:23 +13:00
state_test.go refactored env var code and tests so that I don't have to set env vars during tests to check logic 2018-07-11 10:36:21 -07:00
step_ami_region_copy.go Add 'skip_create_ami' option to the amazon-ebs builder (#10531) 2021-01-27 09:00:42 -05:00
step_ami_region_copy_test.go refactor aws test tooling so we can apply common test function helpers to ebsvolume tests 2021-02-23 09:24:03 -08:00
step_cleanup_volumes.go remove sdk 2020-12-17 13:29:25 -08:00
step_create_ssm_tunnel.go remove sdk 2020-12-17 13:29:25 -08:00
step_create_tags.go Add 'skip_create_ami' option to the amazon-ebs builder (#10531) 2021-01-27 09:00:42 -05:00
step_deregister_ami.go remove sdk 2020-12-17 13:29:25 -08:00
step_get_password.go remove sdk 2020-12-17 13:29:25 -08:00
step_iam_instance_profile.go remove sdk 2020-12-17 13:29:25 -08:00
step_key_pair.go remove sdk 2020-12-17 13:29:25 -08:00
step_modify_ami_attributes.go Add 'skip_create_ami' option to the amazon-ebs builder (#10531) 2021-01-27 09:00:42 -05:00
step_modify_ebs_instance.go remove sdk 2020-12-17 13:29:25 -08:00
step_network_info.go remove sdk 2020-12-17 13:29:25 -08:00
step_pre_validate.go remove sdk 2020-12-17 13:29:25 -08:00
step_pre_validate_test.go Format code with `gofmt -s -w` 2020-01-28 16:52:50 -05:00
step_run_source_instance.go Hcl2 upgrade fix (#10625) 2021-02-15 10:40:21 +01:00
step_run_spot_instance.go Update amazon sdk (#10668) 2021-02-22 11:18:48 +01:00
step_run_spot_instance_test.go Add mocking of launch template id 2021-01-10 00:00:16 +11:00
step_security_group.go remove sdk 2020-12-17 13:29:25 -08:00
step_set_generated_data.go remove sdk 2020-12-17 13:29:25 -08:00
step_source_ami_info.go (3) Add amazon-ami data source (#10467) 2021-01-20 11:05:03 +01:00
step_source_ami_info_test.go change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
step_stop_ebs_instance.go remove sdk 2020-12-17 13:29:25 -08:00
tags.go remove sdk 2020-12-17 13:29:25 -08:00
template_funcs.go Revert "fix template imports" 2019-11-04 14:29:00 -08:00
template_funcs_test.go Fix not allowed comma, add all allowed special characters 2015-10-19 13:41:30 +03:00
test_helper_funcs.go refactor aws test tooling so we can apply common test function helpers to ebsvolume tests 2021-02-23 09:24:03 -08:00