Commit Graph

1392 Commits (ff01e6715ab6ae89d4353ce7d98d356700a7bb30)

Author SHA1 Message Date
Megan Marsh 863e20ad65 move builder/testing framework into sdk; it imports the core but I think we just need to accept that. It doesn't expose the core directly to the SDK.
5 years ago
Megan Marsh 39354f64e5 move helper/communicator dir into packer-plugin-sdk
5 years ago
Megan Marsh faa3832537 extract builder interface to sdk
5 years ago
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK
5 years ago
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk
5 years ago
Megan Marsh a6fdeca099 move logsecretfilter into packer sdk
5 years ago
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk
5 years ago
Megan Marsh c70870cb83 move multierror and multierrorappend into sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh b50fe930e5
fix retries (#10290)
5 years ago
Megan Marsh f4041ee4d0
Merge pull request #10200 from aleksandrserbin/feature/describe-instance-on-fail
5 years ago
Megan Marsh 10c1b638b6 fix spaces vs tabs in formatting from github commit resolution
5 years ago
Megan Marsh ba1e60ff35
Update builder/amazon/common/block_device_test.go
5 years ago
Megan Marsh b3401b4f4d
Merge branch 'master' into feature/aws-ebs-io-validation
5 years ago
Megan Marsh 030f40a7b6
Merge pull request #10286 from hashicorp/hcl2template_extraction
5 years ago
Megan Marsh ea1ac530b0 move hcl2template kv types into the config/custom_types with trilean definitions
6 years ago
Megan Marsh cbaecf9077 remove unused SkipValidation field which was a duplicate of the SkipRegionValidation field.
6 years ago
Megan Marsh f8f1ebf0c7 move version and useragent definitions into sdk
6 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
6 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
6 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
6 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
6 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
6 years ago
Megan Marsh 3db40194af version files
6 years ago
Megan Marsh 8ecd16db81 regenerate code
6 years ago
Megan Marsh 2bf912bddf
Merge pull request #10203 from aleksandrserbin/feature/launch-template-tags
6 years ago
Megan Marsh 88e03280b6
Extract plugin-specific examples to plugin directories (#10228)
6 years ago
Megan Marsh efc117fb55
Merge pull request #10218 from hashicorp/clean_plugin_sdk
6 years ago
Megan Marsh 2d90ffe7a4 move GeneratedData struct and PlaceholderMsg to same package under common
6 years ago
Megan Marsh f13f3d4d5f fix single tag interpolation to allow golang template engine usage
6 years ago
Megan Marsh 7b57e28600 move localexec to common/shell-local dir since it is related to shelling out locally
6 years ago
Aleksandr Serbin a763c8ab02 amazon: validate IOPS only for io volumes
6 years ago
Aleksandr Serbin 09c2620c48 amazon: validate IOPS max and min values
6 years ago
Aleksandr Serbin 0cf9b55c5c amazon-ebs: validate IOPS ratio
6 years ago
Aleksandr Serbin 7cb8af1441 amazon: remove region from state for chroot builder
6 years ago
Aleksandr Serbin 8dab31b548 amazon: use spot tags for launch template tags
6 years ago
Aleksandr Serbin d561b404d6 amazon-ebs: add tags to launch template
6 years ago
Aleksandr Serbin 4669c0f852 amazon-ebs: log state details on change
6 years ago
Megan Marsh 845a10867e
Merge pull request #10003 from hashicorp/ssm_session_retry
6 years ago
Wilken Rivera 01d5e5ca76 test/amazon/ebs: Add acceptance test for Session Manager Interface connectivity
6 years ago
Adrien Delorme aae1992649 remove default PauseBeforeSSM, this will have to be set manually
6 years ago
Adrien Delorme 6c45f04467 Delete ssm_mock_funcs.go
6 years ago
Adrien Delorme 5d06a6e6df rename file correctly
6 years ago
Adrien Delorme c6e2dd5538 remove unit test file for now, I think that an acceptance test will be easier here
6 years ago
Adrien Delorme a4bd744955 simplify things a bit more
6 years ago
Adrien Delorme aef3d24213 Update step_create_ssm_tunnel.go
6 years ago
Adrien Delorme f329cb5b93 simplify code
6 years ago
Adrien Delorme b058de072a move packer/builder/amazon/common.IsAWSErr to builder/amazon/common/awserrors.Matches
6 years ago
Adrien Delorme 8e355d0fe7 Move ssm code to its own ssm package and make it singlethreaded
6 years ago
Wilken Rivera 646b973bd3 Remove logic to retry a connection that reuses an existing SSM Session
6 years ago
Wilken Rivera dff9cde775 Remove waitgroups
6 years ago
Wilken Rivera eb11009e2a Check for closed channels as opposed to using a separate closeRetry channel
6 years ago
sylviamoss aa73cc7d7e add close chan to avoid unwanted retries
6 years ago
sylviamoss 1f62249097 add retry terminated session chan
6 years ago
sylviamoss 8e3f3e514c improve logs
6 years ago
sylviamoss b2c7897f58 add WaitGroup to avoid data race
6 years ago
sylviamoss 1c2b469acd add retry channel to ssm driver
6 years ago
Adrien Delorme f5e037e8b4 Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
6 years ago
Megan Marsh 25f4e24772
Merge pull request #10150 from nshalman/nshalman/tag-snapshots
6 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
6 years ago
Nahum Shalman 83a672f2c9 amazon/ebssurrogate: apply snapshot tags right when taking snapshot
6 years ago
Adrien Delorme 522d122858 regen all code
6 years ago
Adrien Delorme f51b231c17 Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
6 years ago
Megan Marsh b8e6e2c081
Merge pull request #10085 from 10000coins/f-aws-tenancy
6 years ago
Evan Pipho 608307cd1e Re-allow spot + tenancy. Validate tenancy is set to a usable value
6 years ago
Evan Pipho d5d1a8708e Add tests for Tenancy vs Spot Price
6 years ago
Evan Pipho 6967e02103 Add support for source instance tenancy to amazon builders
6 years ago
Adrien Delorme 54032d6c11 gen code and docs
6 years ago
Matt Rogers 15f97421e2
builder/amazon: Add io2 as a supported volume type
6 years ago
Megan Marsh 4c0ac6917e switch to using aws base config, which means we're using code tested and maitnained by the terraform crowd.
6 years ago
Sylvia Moss 96e3def294
Add pause_before_ssm config to pause before establishing the Session Manager session (#9988)
6 years ago
Megan Marsh d66b358100
Merge pull request #9991 from hashicorp/b-amazon-ssm-infinite-loop
6 years ago
Wilken Rivera 2f2b5683a2 amazon/ssm_driver: Update log polling logic
6 years ago
Megan Marsh 429d431365 Implement assume_role for Packer. This functionality is copied shamelessly
6 years ago
Sylvia Moss d347bbec4c
Retry fleet creating only on invalid IAM instance profile (#9946)
6 years ago
Anthony Dong eca9b2f30d
aws ebs_surrogate: fix unhonored kms_key_id (#9959)
6 years ago
catsby 7a7d3ff350
Remove comments about sharing with catsby
6 years ago
Rae Krantz ab23e839c8 update sharing test to req aws account id
6 years ago
Adrien Delorme 0d0bd9ce75
name fields of PolicyDocument correctly in HCL (#9812)
6 years ago
Adrien Delorme a0c09e85df
retry spot instance creation when an "Invalid IAM Instance Profile name" error pops up (#9810)
6 years ago
sylviamoss 1a0d5a93ee fix max_attempts typo
6 years ago
sylviamoss 788dc32598 add aws_polling config option to override env variables
6 years ago
Megan Marsh 8b4993e44c
fix docs for kms key ids (#9766)
6 years ago
Megan Marsh 54469c4728
Add all of the custom AWS template engines to GeneratedData for use b… (#9751)
6 years ago
Megan Marsh 8f362656ee
Update builder/amazon/ebs/step_create_ami.go
6 years ago
Megan Marsh 484dbfe6ad improve error handling when waiting for image so that the resourcenotready error is bubbled up more clearly without verbose logging turned on
6 years ago
Etan Reisner a28edbaa0b
Fix skip_save_build_region in the ebssurrogate builder. (#9666)
6 years ago
Megan Marsh a687d6fe12
ci/tech-debt: Fix vmware acceptance tests (#9636)
6 years ago
Megan Marsh f9df185ef1
Merge pull request #9579 from hashicorp/fix_9562
6 years ago
Megan Marsh 1f3b3f8fd9 change retry func to a 15 min timeout
6 years ago
Megan Marsh a56942d3c7 change isAwsErr to an exported func so I can use it in other aws modules.
6 years ago
Megan Marsh 036ea238bf wrap CreateImage call in a retry to account for eventual consistencey issues with image state
6 years ago
Adrien Delorme 810f161d22 builder/amazon/common/block_device.go: replace tabs with words
6 years ago
Adrien Delorme 966b17d2b5 builder/amazon/common/access_config.go: replace tabs with words
6 years ago
Adrien Delorme 5c4901c2c2 builder/amazon/common/run_config.go: replace tabs with words
6 years ago
Adrien Delorme 1455a29f2b remove tabs for security_group_filter too
6 years ago
Adrien Delorme 191094edcc better `disable_stop_instance` docs
6 years ago
Megan Marsh 530f5e3f63 more additions to partials
6 years ago
Megan Marsh a1651977b3 add tabs to generated docs from access_config and run_config structs
6 years ago
Roger Hu 28f8241a05 update generated files
6 years ago