packer-cn/builder/amazon/common
Megan Marsh 80ed988ffe
Hcl2 upgrade fix (#10625)
* fix random nil pointer dereference I found while debugging hcl2_upgrade issues

* fix hcl2_upgrade command by creating passthroughs for all text template fields
2021-02-15 10:40:21 +01: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 (3) Add amazon-ami data source (#10467) 2021-01-20 11:05:03 +01: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 (3) Add amazon-ami data source (#10467) 2021-01-20 11:05:03 +01:00
ami_config.go Update redirects and URLs to legacy JSON template docs (#10530) 2021-01-27 09:08:59 -05:00
ami_config_test.go remove sdk 2020-12-17 13:29:25 -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 read iops and throughput as pointers so we can test for the nil case;… (#10518) 2021-01-25 10:49:37 +01: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 Add IMDSv2 support for AWS EBS builder (#10546) 2021-02-09 11:47:54 +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
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 remove sdk 2020-12-17 13:29:25 -08:00
state.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
state_test.go
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 remove sdk 2020-12-17 13:29:25 -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 Add IMDSv2 support for AWS EBS builder (#10546) 2021-02-09 11:47:54 +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