packer-cn/builder/amazon/common
Adrien Delorme 0d0bd9ce75
name fields of PolicyDocument correctly in HCL (#9812)
withouth this fix we would have had to do

```hcl
  temporary_iam_instance_profile_policy_document {
    statement {
      action   = ["*"]
      effect   = "Allow"
      resource = ["*"]
    }
    version = "2012-10-17"
  }
```

instead of the same document but with capitalised fields
2020-08-25 10:53:56 +02:00
..
access_config.go add aws_polling config option to override env variables 2020-08-17 17:15:32 +02:00
access_config.hcl2spec.go HCL2: generate hcl tags with go-cty tags too (#9306) 2020-05-28 11:19:00 +02:00
access_config_test.go add aws_polling config option to override env variables 2020-08-17 17:15:32 +02:00
ami_config.go fix docs for kms key ids (#9766) 2020-08-14 11:35:35 +02:00
ami_config_test.go builder/amazon/common: remove nil check on slice, len() on nil slices is zero 2019-10-31 12:09:32 -07:00
artifact.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
artifact_test.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
block_device.go fix docs for kms key ids (#9766) 2020-08-14 11:35:35 +02:00
block_device.hcl2spec.go HCL2: generate hcl tags with go-cty tags too (#9306) 2020-05-28 11:19:00 +02:00
block_device_test.go fix test 2019-09-20 15:28:43 +02: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 change isAwsErr to an exported func so I can use it in other aws modules. 2020-07-21 15:30:45 -07:00
interpolate_build_info.go Add all of the custom AWS template engines to GeneratedData for use b… (#9751) 2020-08-12 10:43:15 +02:00
interpolate_build_info_test.go Added SourceAMICreationDate 2020-05-26 15:04:03 -04:00
regions.go aws: document ValidateRegion better 2019-02-27 11:17:08 +01:00
run_config.go name fields of PolicyDocument correctly in HCL (#9812) 2020-08-25 10:53:56 +02:00
run_config.hcl2spec.go name fields of PolicyDocument correctly in HCL (#9812) 2020-08-25 10:53:56 +02:00
run_config_test.go make sure keyvalue and namevalue filters are using the same naming as the service being used 2020-04-16 17:22:13 +02:00
ssh.go Update address to localhost to be consistent with other proxies 2020-05-08 09:32:54 -04:00
ssh_test.go Update address to localhost to be consistent with other proxies 2020-05-08 09:32:54 -04:00
ssm_driver.go change isAwsErr to an exported func so I can use it in other aws modules. 2020-07-21 15:30:45 -07:00
ssm_driver_test.go tests/builder/amazon: Enhance the test coverage for SSM Tunnel related steps (#9213) 2020-05-13 10:10:55 -04:00
ssm_mock_funcs.go tests/builder/amazon: Enhance the test coverage for SSM Tunnel related steps (#9213) 2020-05-13 10:10:55 -04:00
state.go fix max_attempts typo 2020-08-17 17:58:22 +02:00
state.hcl2spec.go add aws_polling config option to override env variables 2020-08-17 17:15:32 +02: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 aws_polling config option to override env variables 2020-08-17 17:15:32 +02:00
step_ami_region_copy_test.go use trilean initializers in test where missing 2019-08-23 11:17:45 +02:00
step_cleanup_volumes.go make error messaging around ResourceNotReady better, update docs with other possible issues (#8349) 2019-11-08 11:15:24 +01:00
step_create_ssm_tunnel.go tests/builder/amazon: Enhance the test coverage for SSM Tunnel related steps (#9213) 2020-05-13 10:10:55 -04:00
step_create_ssm_tunnel_test.go tests/builder/amazon: Enhance the test coverage for SSM Tunnel related steps (#9213) 2020-05-13 10:10:55 -04:00
step_create_tags.go change isAwsErr to an exported func so I can use it in other aws modules. 2020-07-21 15:30:45 -07:00
step_deregister_ami.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_get_password.go get data sharing to a working state with the powershell provisioner 2019-12-11 15:43:38 -08:00
step_iam_instance_profile.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
step_key_pair.go refactor: replace the maxBackoff from 30 nanosecond to 30 seconds 2019-06-11 16:01:03 +05:30
step_modify_ami_attributes.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
step_modify_ebs_instance.go amazon-ebssurrogate: allow enabling ena/sr-iov on spot instances 2019-11-21 11:13:32 +01:00
step_network_info.go builder.amazon.common: remove pointer (*) from []*string and map[*string]*string types 2019-10-15 12:56:41 +02:00
step_pre_validate.go change isAwsErr to an exported func so I can use it in other aws modules. 2020-07-21 15:30:45 -07: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 add aws_polling config option to override env variables 2020-08-17 17:15:32 +02:00
step_run_spot_instance.go retry spot instance creation when an "Invalid IAM Instance Profile name" error pops up (#9810) 2020-08-25 10:10:32 +02:00
step_run_spot_instance_test.go add aws_polling config option to override env variables 2020-08-17 17:15:32 +02:00
step_security_group.go amazon/builder: Move port validation for security group into RunConfig.Prepare 2020-05-08 09:32:48 -04:00
step_set_generated_data.go Add all of the custom AWS template engines to GeneratedData for use b… (#9751) 2020-08-12 10:43:15 +02:00
step_source_ami_info.go builder.amazon.common: remove pointer (*) from []*string and map[*string]*string types 2019-10-15 12:56:41 +02: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 add aws_polling config option to override env variables 2020-08-17 17:15:32 +02:00
tags.go wip 2020-03-16 17:47:44 +01: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