Commit Graph

6187 Commits (dev_version_changes)

Author SHA1 Message Date
Megan Marsh 45b5f0c2ee move custom http client creation with env proxy args into same package as other network related helpers
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
Megan Marsh 23552bfbd7
Merge pull request #10213 from chrisroberts/vagrant-driv-stderr
6 years ago
Megan Marsh d8fec2e9e5
move the hyperv-only powershell dependency into the hyperv subdirectory (#10198)
6 years ago
Marin Salinas 8b5e2903b9
feat: add hk endpoint support for osc builder (#10207)
6 years ago
Aleksandr Serbin 0cf9b55c5c amazon-ebs: validate IOPS ratio
6 years ago
Chris Roberts 8248f52ff7 Return error if ssh-config command fails
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
js-g 749a1372d2 test (builder/oracle-oci): add config test for LaunchMode
6 years ago
js-g ba6173b84c fix (builder/oracle-oci): remove subnet from LaunchInstanceDetails
6 years ago
js-g c3ffb3dc22 feat (builder/oracle-oci): add launch mode property to image
6 years ago
Sumit Kalra 2b69a5f496 azure-arm builder: Create keyvaults with SoftDelete enabled
6 years ago
Marin Salinas f2b386a9d0 feat: add x509 certificate support
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
Megan Marsh 72fd763207 fix crash
6 years ago
Rémy Léone 0cfaf4a620 Fix
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
Rémy Léone db96c5c9ae Fix
6 years ago
Rémy Léone 3413fc5c46 Fix
6 years ago
Rémy Léone adb74ba15d Fix
6 years ago
Megan Marsh 69312458c4
Merge pull request #10111 from hashicorp/azr_selectable_temp_keygen_type_gcp
6 years ago
Rémy Léone 288e29b1e0 scaleway: use the SDK functions to load profile from file and env
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
Megan Marsh fb3d357e84
fix step_shutdown when a null communicator is used (#10178)
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
Megan Marsh 8f3a115c5a
Merge pull request #10173 from hashicorp/azr-fix-hcl2-gcp-image_encryption_key
6 years ago
Megan Marsh dc38fadeeb
Merge pull request #10155 from hashicorp/logging_for_10042
6 years ago
Megan Marsh 8adbba6904 switch to guard clause format
6 years ago
Adrien Delorme ef32147a4a Fix GCP HCL image_encryption_key fields and use the same casing in JSON and HCL2
6 years ago
Megan Marsh c4866504e1
respect the destroy flag in content library config (#10165)
6 years ago
Adrien Delorme bab29060fe regen hcl after master merge
6 years ago
Adrien Delorme f5e037e8b4 Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
6 years ago
blz-ea 73370570f4
Fix Proxmox builder unhandled buildvar type (#10154)
6 years ago
Megan Marsh 25f4e24772
Merge pull request #10150 from nshalman/nshalman/tag-snapshots
6 years ago
Megan Marsh 7646ecf8c6 fix tests
6 years ago
Megan Marsh 4862b2c0f0
Merge pull request #10163 from hashicorp/fix-azure_arm-manageddisk-deletion-regression
6 years ago
Megan Marsh fc619dc977
Merge pull request #9626 from featheredtoast/add-proxmox-vm-clone
6 years ago
Megan Marsh 56c7a9cda5 rebase
6 years ago
netapp-jgriffit 15467aa868 Update builder/vsphere/common/step_shutdown.go
6 years ago
James Griffith 185f3d9d48 vsphere clone config not yet using warnings, leaving code commented out
6 years ago
James Griffith c8ad66f419 update to docs as suggested
6 years ago
James Griffith c86a48fbc9 syntax change
6 years ago
James Griffith f86f7c4464 Another instance using `Prepare()` needed an update
6 years ago
James Griffith 09edada93d moved the warning into Prepare() and updated the invocation
6 years ago
James Griffith 572de129d7 update documentation
6 years ago
James Griffith 1048cdbcc4 check for no communicator and provide messaging to user
6 years ago
James Griffith 2ecf5cc9aa Communicator is not needed unless shutdown_command is populated
6 years ago
James Griffith 6b39b1eed6 StepShutdown should still occur if Comm.Type is none
6 years ago
James Griffith 65ff092fd4 hashicorp/packer#9924
6 years ago
Megan Marsh 19bd997f11 add directory existence check
6 years ago
Wilken Rivera a1d69bfe91 Fix liniting issues
6 years ago
Wilken Rivera afd33679f5 builder/azure_arm: Fix build failures due to the deletion of attached managed disks
6 years ago
Megan Marsh 8f67f939f9
Merge pull request #10158 from Direnol/yandex-add-support-iam-auth
6 years ago
Roman Mingazeev 75befba67e add more doc
6 years ago
Roman Mingazeev 60595ad522 remove extra log
6 years ago
Roman Mingazeev 72fe3bbc26
Update builder/yandex/access_config.go
6 years ago
Roman Mingazeev ae7fc84557 Added support for IAM credential in the token field and YC_TOKEN env
6 years ago
Megan Marsh 7fac596b37 don't try to delete a cd file if the upload of the cd itself failed
6 years ago
Megan Marsh 3be53e10af
Merge pull request #10128 from nayyara-samuel/add-state-timeout-linode
6 years ago
Megan Marsh c4001734d0
Merge pull request #10143 from hashicorp/do_9951
6 years ago
Megan Marsh 00037d8e69
Merge pull request #10145 from hashicorp/fix_10135
6 years ago
Megan Marsh 70cb4097e1 review comments, add plugin type for a few missing builders
6 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
6 years ago
Megan Marsh f1f834b8fe commhostport isn't present if communicator is null; protect casting in a check
6 years ago
Nahum Shalman 83a672f2c9 amazon/ebssurrogate: apply snapshot tags right when taking snapshot
6 years ago
Megan Marsh 796c40f89b builder/vsphere: skip iso download if hashed file is already present in remote packer_cache
6 years ago
Wilken Rivera a2ba700ac0 Remove deprecated object ids from configs
6 years ago
Adrien Delorme 522d122858 regen all code
6 years ago
Adrien Delorme 4aea2efd0f HCL2: fully name SSHTemporaryKeyPair fields so that they don't conflict and can be generated
6 years ago
Wilken Rivera 1621ab59d8
tests/azure/arm: Update test image name (#10133)
6 years ago
Megan Marsh 799c548c40
Merge pull request #10116 from OblateSpheroid/GH8915
6 years ago
Boran Car 9b89439ec2 Rearrange cert add after err check for idiomatic
6 years ago
Boran Car 1082bffddd Add Azure PFX certificate support
6 years ago
Adrien Delorme d1e0214bec avoid panic debugging ssh key
6 years ago
Adrien Delorme f51b231c17 Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
6 years ago
Adrien Delorme 536421efaf debug mode: don't dump the ssh key if its from a file
6 years ago
js-g 2f26e6d823 tests (builder/oracle-oci): test base image filter in config
6 years ago
Nayyara Samuel 32ebabfcf5 Add documented `state_timeout` parameters to Linode builder
6 years ago
Ufuk 2124d3d6b8 builder/digitalocean: tests added for new features vpc_uuid and connect_with_private_ip
6 years ago
Megan Marsh b8e6e2c081
Merge pull request #10085 from 10000coins/f-aws-tenancy
6 years ago
Megan Marsh ef1b401a22
Merge pull request #10102 from mattr-/update-amazon-builder-for-io2
6 years ago
Bryan Hundven ecc8c6a44a Replace `create_image` with `skip_create_image`, as requested
6 years ago
Bryan Hundven 476eefa26b Add 'create_image' option to googlecompute
6 years ago
Megan Marsh 456214eb51
Merge pull request #10056 from marinsalinas/new_client
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
js-g 0c34d6ca12 feat (builder/oracle-oci): add regex search on base image name
6 years ago
js-g 27128dc62f feat (builder/oracle-oci): allow filtering on base image
6 years ago
Adrien Delorme 54032d6c11 gen code and docs
6 years ago
Adrien Delorme f4f731b83c Refactor google compute's temporary ssh keygen genertion to use the sshkey package
6 years ago
Matt Rogers 15f97421e2
builder/amazon: Add io2 as a supported volume type
6 years ago
Wilken Rivera c7ba5c9a14
Fix line ending issues for test files (#10096)
6 years ago
Marin Salinas 22a49a2f2e chore: fix test
6 years ago
Marin Salinas 472b008a94 chore: fix test
6 years ago
Megan Marsh 4810a3d86f
Merge pull request #10077 from hashicorp/document_3348
6 years ago
Marin Salinas 2578bbbb50 chore: fix test
6 years ago
Marin Salinas 09f57537bf chore: fix lint issues on osc builder
6 years ago
Ufuk a100fe496b go fmt
6 years ago
Marin Salinas 56807553fc chore: fix lint issues on osc builder
6 years ago
Ufuk 49cd4baa0c VPCUUID and ConnectWithPrivateIP have been added to builder/digitalocean
6 years ago
Jeff Wong 0f12414126
Merge branch 'master' into add-proxmox-vm-clone
6 years ago
Megan Marsh 01ed398756
fix up alicloud docs to make it clearer that disk_size and other disk device options are not top level fields. (#10080)
6 years ago
Jeff Wong 2861ad9074
clean up imports
6 years ago
Megan Marsh 709a173060 fix docs linking issue
6 years ago
Megan Marsh b05fd9303e document that users must re-apply packer defualts for drive and device arguments
6 years ago
Megan Marsh 774a168957
Merge pull request #10064 from hashicorp/refactor_step_run
6 years ago
Megan Marsh 3e35630d8d remove slashes to prevent windows test fails
6 years ago
Megan Marsh 62a401ef28
Fix 10060 (#10065)
6 years ago
Jeff Wong 93531b3ec5
[proxmox] Adds proxmox fixer and fixer test
6 years ago
Jeff Wong a140c13943
[proxmox] add proxmox builder alias
6 years ago
Megan Marsh d6aa172edc remove typo'd option from docs
6 years ago
Megan Marsh 8e632866b1 typo
6 years ago
Megan Marsh b54b778572 major refactor of the step_run. Splits step into two major parts:
6 years ago
Patrik d4d78feed2
feat(scaleway): get image by label if not an UUID (#10061)
6 years ago
abarbare a478bf6f37
fix: update scaleway website documentation (#10058)
6 years ago
Ricardo Rosales 809f38be3a
[azure-chroot] Updating parameter `exlude_from_latest` to `exclude_from_latest` (#10034)
6 years ago
Jeff Wong cd3bdc9e38
REFACTOR: do not pass comm ref through statebag
6 years ago
Jeff Wong fdda18e392
Use Trilean for boolean value, and allow for missing values for defaults
6 years ago
Jeff Wong 977022fb35
Go format
6 years ago
Jeff Wong a26e3e6887
[Proxmox] FIX: tests, add required iso_file to basic iso config tests
6 years ago
Megan Marsh 61c6085651
final fix to make service account impersonation work with iap tunnels (#10054)
6 years ago
Megan Marsh 7ee9a4b638
Merge pull request #9968 from upodroid/google-impersonation
6 years ago
Adrien Delorme f6d362d392 skip Ctx
6 years ago
Adrien Delorme 25d7e7ce17 fix tests
6 years ago
Adrien Delorme 5b3ff89cb0 proxmox: move iso.storageConfig to common.storageConfig
6 years ago
Adrien Delorme 1260e123aa proxmox.Config: remove mapstructure:",squash" tag
6 years ago
Adrien Delorme b2be255057 Merge remote-tracking branch 'origin/master' into pr/featheredtoast/9626-1
6 years ago
Megan Marsh deb08409f1
Merge pull request #10040 from OblateSpheroid/GH6844
6 years ago
Megan Marsh 721cbac645
Merge pull request #9996 from hashicorp/fix_9995
6 years ago
js-g c892f0582b GH#6844: allow image compartment to be specified
6 years ago
Megan Marsh 157b5cdc28
Merge pull request #10017 from kostasns/oci_boot_volume
6 years ago
upodroid b1c74f9df0 Merge branch 'master' of github.com:hashicorp/packer into google-impersonation
6 years ago
upodroid f13099edfb rebase the branch
6 years ago
Kostas 8c07e21be8 update hcl2spec
6 years ago
Kostas 18c4f271ac rename variable; add docs
6 years ago
Marin Salinas 49e4d83cd7 refactor: remove oapi references in bsusurrogate builder
6 years ago
Marin Salinas aa3ec3fd0f refactor: change chroot builder to new SDK
6 years ago
Marin Salinas c0c0f003f9 refactor: fix bsu builder to accept proxy
6 years ago
Marin Salinas d813c3647d refactor: change bsuvolume builder to new SDK
6 years ago
Braunson b2047bd938
Put the correct AzureTags type in StateBag (#10014)
6 years ago
Kostas 72166febee allow to specify boot volume size
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
sylviamoss c8874c9382 improve docker_tag cast to avoid failures
6 years ago
Lik bdb1c47532
Pass QemuImgArgs to stepConvertDisk (#10001)
6 years ago
sylviamoss aa9c162c60 improve docker_tags artifact state read
6 years ago
sylviamoss e758891878 make shell-local post-processor return copy of previous artifact
6 years ago
Roman Tomjak b6ff793496
builder/proxmox: add support for io threads (#9969)
6 years ago
Niels Pardon a2ceb54b1a
Add support for external source image url (#9992)
6 years ago
Niels Pardon 29d23c13d0
Add additional debugging for OpenStack (#9972)
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 108455a7dc
Merge pull request #9983 from hashicorp/tools_upload_path
6 years ago
Megan Marsh d66b358100
Merge pull request #9991 from hashicorp/b-amazon-ssm-infinite-loop
6 years ago
Megan Marsh 8d0058dad6 allow user to set tools source path
6 years ago
Wilken Rivera 2f2b5683a2 amazon/ssm_driver: Update log polling logic
6 years ago
Adrien Delorme 654fade0a9
azure arm: make map[string]*string => map[string]string to simplify things (#9985)
6 years ago
Megan Marsh e41100290e
Merge pull request #9981 from hashicorp/assume_role
6 years ago
Megan Marsh 429d431365 Implement assume_role for Packer. This functionality is copied shamelessly
6 years ago
Megan Marsh 9170204a93
Merge pull request #9963 from hashicorp/implement_9868
6 years ago
sylviamoss 75d649e051 add step_remove_cdrom tests
6 years ago
sylviamoss 2de3f2755a add step_remove_floppy tests
6 years ago
sylviamoss 7cd6ee2b3b add FindDatastore driver test
6 years ago
sylviamoss b881a59bc8 refactor vcenter simulator setup
6 years ago
sylviamoss 7b1af2c4e8 add step_add_floppy unit tests
6 years ago
sylviamoss b46f587450 vsphere-clone use common step_add_cdrom
6 years ago
upodroid be56632f7e fix vendoring
6 years ago
upodroid 9b121e85f9 fix dodgy pointers
6 years ago
Upo 3f6230470b
Merge branch 'master' into google-impersonation
6 years ago
upodroid 2faacfd5d7 add service account impersonation
6 years ago
Marco Molteni 4d7e42220b
scaleway: add pre validate step (check image and snapshot names) (#9840)
6 years ago
Megan Marsh 77817f80a2
Merge pull request #9956 from hashicorp/do_6734
6 years ago
Megan Marsh b7b43a41f3 review cleanup
6 years ago
sylviamoss 778d77e4a2 add floppy and cd to vsphere-clone
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
Sylvia Moss ce2047f30b
vSphere StepAddCDRom tests (#9955)
6 years ago
Megan Marsh 1d218d9e65 add QemuImgArgs option to set specialized flags in qemu-img
6 years ago
Megan Marsh 1052733fca Skip qemu-img convert if format of output file matches format of input file.
6 years ago
Megan Marsh 83ee4e7d13 miscellaneous qemu cleanup. Fix generator strings; generate code
6 years ago
Megan Marsh 3577c4a283 refactor multistep array construction in qemu builder to push majority of conditionals into their steps rather than the multistep constructor code.
6 years ago
Megan Marsh 9ac76be190 clean up step_run
6 years ago
Megan Marsh 5b714497e6 qemu: split config and config tests into their own files to match best practices from other builders
6 years ago
Megan Marsh 6c0c603fbf stub out test
6 years ago
Sylvia Moss 9737b85bbc
Remove usb_keyboard option (#9945)
6 years ago
Wilken Rivera b4be598148
Fix static check issues SA1019 for googlecompute plugins (#9950)
6 years ago
Sylvia Moss 7736ae6c67
Add VMware vnc_over_websocket option (#9938)
6 years ago
Sylvia Moss bdd736b800
Interpolate vagrantfile_template on Vagrant post-processor (#9923)
6 years ago
Megan Marsh bc69db2433
Merge pull request #9941 from hashicorp/cd_files_vsphere
6 years ago
Megan Marsh ef01bb5ba6 generated code
6 years ago
Megan Marsh e70e8c8651 add cd_files
6 years ago
Jeff Wong 5d15f5e2f4 No longer need a 15 second sleep
6 years ago
Megan Marsh f28cabb162
Merge pull request #9940 from hashicorp/fix_9936
6 years ago
Megan Marsh b08dd28b85 skip slot 7 in disk creation so we don't use reserved slot
6 years ago
Megan Marsh e00f6afff8
Merge pull request #9918 from hashicorp/fix_7408
6 years ago
Megan Marsh 6d2df7fb55
Merge pull request #9932 from hashicorp/cd_files_on_virtualbox
6 years ago
Jeff Wong 3c9969d841 cleanup goimports for linter
6 years ago
Megan Marsh eab7672519 regenerate code
6 years ago
Megan Marsh e723609ef1 regenerate hcl config
6 years ago
Megan Marsh 6935f47809 add tests for disk defaulting
6 years ago
Megan Marsh eae3fda901 refactor out disk defaulting so it can be used to default the vmx cdrom too
6 years ago
Megan Marsh 9140985ab0 implement cd_files for qemu builder
6 years ago
Megan Marsh f774983d36 implement on hyperv
6 years ago
Jeff Wong 018a1a5da0 Correct full clone logic
6 years ago
Jeff Wong 681d0f8467 Correct builder ID
6 years ago
Jeff Wong 99c3872a48 run go fmt
6 years ago
Megan Marsh 698bef434f track whether we've detached disks so we don't duplicate work
6 years ago
Megan Marsh a92491d17b capitalization
6 years ago
Andreas Botzner c032d463d3
Bootcommand Fix For Proxmox Builder (#9885)
6 years ago
Sylvia Moss caf65781d7
Add vsphere-clone mac_address option (#9930)
6 years ago
Andreas Botzner 3739970b84
Adds ability to specify interfaces for http_directroy and VM for the Proxmox builder (#9874)
6 years ago
Jeff Wong aa5eb770d0 DEV: use proper interfaces for vmCreator
6 years ago
Megan Marsh b73825bb72 Implement cd_files for virtualbox builders.
6 years ago
Marin Salinas abdb4bcfbf refactor: change ssh host to osc ssh host
6 years ago
Marin Salinas 645e5afa36 refactor: change bsuvolume builder to new SDK
6 years ago
Marin Salinas b844b7f1c7 refactor: change bsusurrogate builder to new SDK
6 years ago
Marin Salinas 007f6cce4c feat: add wait funtions for snapshot and omi in osc builders
6 years ago
Sylvia Moss 31f08909b4
Add usb_scan_codes option to use USB scancodes instead of VNC for remote builds (#9895)
6 years ago
Marin Salinas eed047b83b feat: add proxy support to osc builder
6 years ago
Jeff Wong cfece501d0 Implement proxmox-clone
6 years ago
Megan Marsh 8b9009c571
Merge pull request #9856 from OblateSpheroid/add_vnic_details
6 years ago
Megan Marsh 8ffa0d2060
Merge pull request #9842 from jason-azze/patch-1
6 years ago
Megan Marsh ca650c9602 fix struct comment for generation
6 years ago
Megan Marsh 0a02bd5b2a skip compaction when backing file is used, to prevent conversion that would make backing file pointless
6 years ago
js-g 9d5dedc3db tests: add some fields to config_test
6 years ago
Patrik f8e31bff12
feat(builder): bump scaleway to new sdk (#9902)
6 years ago
Wilken Rivera 0719f906d4
Replace if/else with simple if (#9913)
6 years ago
Megan Marsh 8aaa1bd7a6
Merge pull request #9796 from hashicorp/do_8778
6 years ago
js-g dd54651125 fix (builder/oracle-oci): add freeform and defined tags to create_vnic_details
6 years ago
Richard Turc b4ff0ea4bc
[builder/qemu] Skip resize step when skip_resize_disk is enable #9860 (#9896)
6 years ago
js-g f5dc260cf5 refactor (builder/oracle-oci): pass CreateVnicDetails as struct instead of map
6 years ago
Ronald van Zantvoort 7335695c84
qemu vnc: hardcoded lowerbound leaves negative ports
6 years ago
Calle Pettersson 905869308d Split proxmox builder into a common part and iso/clone builders
6 years ago
Megan Marsh d2dd158fe2 Implement cd_files option. The Addfile code is modified from the floppy_files
6 years ago
Megan Marsh dfe8aa51b0
Merge pull request #9845 from hashicorp/run_and_stream_helper_func
6 years ago
Megan Marsh 5120ad9d9a add test file
6 years ago
Megan Marsh 20d62654ae move runAndStream into a generalized helper function to enable easy local exectution in other places than just the docker builder
6 years ago
Lars Lehtonen 03a0beb683
builder/vmware/common: simplify type assertion switch (#9893)
6 years ago
Sylvia Moss ba74602d63
Allows publishing to a Shared Image Gallery with a different subscription id (#9875)
6 years ago
catsby 7a7d3ff350
Remove comments about sharing with catsby
6 years ago
Troy Lindsay d1a61cac33
Add NVMe controller support to vsphere-iso builder (#9880)
6 years ago
Troy Lindsay 602729ac23
Fix vsphere-iso acceptance tests (#9878) (#9881)
6 years ago
Rae Krantz ab23e839c8 update sharing test to req aws account id
6 years ago
Sylvia Moss 903deb9e6a
vSphere StepHardware tests (#9866)
6 years ago
Megan Marsh e96cc07a1a
Merge pull request #9853 from remyleone/boottype_local
6 years ago
Sylvia Moss 24dbd0a28b
Fix iso_path validation regex (#9855)
6 years ago
Wilken Rivera f4556fd3f1
Merge pull request #9831 from hashicorp/remedial_remote_export_config_tests
6 years ago
js-g f74a425661 feat (builder/oracle-oci): pass CreateVnicDetails to instance
6 years ago
Sylvia Moss 58a0bdd780
Look for a default resource pool when root resource pool is not found (#9809)
6 years ago
Wilken Rivera 03a374f4b6
Fix linting issues for SA6005 check (#9854)
6 years ago
GennadySpb 804fefef17
yandex-import: allow set custom API endpoint (#9850)
6 years ago
OblateSpheroid 0ad26cce01
Feat (oracle-oci): allow freeform and defined tags to be added instance (#9802)
6 years ago
Rémy Léone ecd1a49a35 change default scaleway boottype to local
6 years ago
Andreas Botzner e4f975fae1
Allows for the mounting of ISOs when a Proxmox VM s created. Same as … (#9653)
6 years ago
Sylvia Moss 942bfbf221
Add driver mocks and write tests to steps Remote Upload and Create VM (#9833)
6 years ago
Megan Marsh 1c5bc41beb refactor ovftool validation into vmware driver
6 years ago
Megan Marsh bbc3a5b0d1 add tests to make sure prepare for export defaults properly
6 years ago
Marin Salinas e0badb3fb7 refactor: update step_update_omi_attributes and create_tags to new OSC SDK
6 years ago
Megan Marsh a6d5106cd7 Allow "export" to ovf/ova for local vmware builds in addition to esx ones.
6 years ago
Megan Marsh e9b526ee2d
Move step_create_disk into common folder, and add to vmx builder (#9815)
6 years ago
Marin Salinas 8885a5ef31 refactor: update step_create_omi to new OSC SDK
6 years ago
Marin Salinas f0dc26613a
Merge pull request #7 from marinsalinas/step_deregister_omi
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
Sylvia Moss 2152fa3313
Accept content library path in iso_paths (#9801)
6 years ago
Marin Salinas 8166dad533
Merge pull request #5 from marinsalinas/step_cleanup_volumes
6 years ago
PacoDw 8274d4848c chore: added forece_deregister in the test case to verify the step_deregister_omi
6 years ago
PacoDw 071854ea4a chore: implemented OSC API in step_deregister_omi
6 years ago
PacoDw a13dfe1f42 chore: added GetRegion() and NewOSCClientByRegion functions
6 years ago
PacoDw 60bd61dc18 chore: removed security group filter function, it was moved to step_security_group file
6 years ago
PacoDw c3a4b60ea5 chore: implemented OSC API in step_security_group
6 years ago
Marin Salinas 7a45e4c8b0 refactor: change step tag bsu volumes to new OSC SDK
6 years ago
Marin Salinas c58d6f9b33 refactor: migrate run vm step to new SDK
6 years ago
Marin Salinas 6f0bb33c9a refactor: change tags ssh file to new OSC SDK
6 years ago
Marin Salinas e5c14044fb refactor: change tags file to new OSC SDK
6 years ago
Marin Salinas addc3dd6e7 refactor: change step_cleanup_volumes to new OSC SDK
6 years ago
Marin Salinas d9a7626249
Merge pull request #4 from marinsalinas/step_public_ip
6 years ago
PacoDw 7745369dce chore: set true associate_public_ip_address attribute to test the step_public_ip
6 years ago
PacoDw 86966ecfee :chore: implemented OSC API in pre_public_ip step
6 years ago
Sylvia Moss ada2a431ef
Modularise vCenter rest client (#9793)
6 years ago
Sylvia Moss 99800619b7
Add HCL2 examples to the virtualbox builders (#9788)
6 years ago
Sylvia Moss a1524bf96a
Add option to also import OVF templates to the Content Library (#9755)
6 years ago
PacoDw 232d5a3ce6 chore: changed oapi to osc
6 years ago
Megan Marsh a2cfaace59 extract output dir configuration and defaulting into the step_output_dir, using pointers to make sure they get set properly back on the main config
6 years ago
Megan Marsh 3b2bedf794 implement a remote_output_directory option, and heavily comment output code
6 years ago
PacoDw 43e9d43ebd chore: removed API attribute
6 years ago
Marin Salinas 8b2cdc5821 refactor: change step_network_info to new OSC SDK
6 years ago
Marin Salinas 8649496c6c refactor: change new sdk on step_source_omi_info
6 years ago
PacoDw 4431bb87b2 :chore: added api key to specify the API connection
6 years ago
PacoDw 823b957a1f :chore: implemented OSC connection in pre_validate file
6 years ago
PacoDw 22481d1ac2 :chore: added OSC Connection in builder file
6 years ago
PacoDw 1fbe715c13 :chore: added OSC Connection in builder file
6 years ago
Megan Marsh b0d2201d55
Merge pull request #9782 from hashicorp/fix_9151
6 years ago
Megan Marsh 0a5cd953fc fully destroy vm if it was cancelled or errored
6 years ago
Megan Marsh aa2418cf01
add progress tracker to vmware-esx iso upload. Add colored prefix to … (#9779)
6 years ago
Megan Marsh d74b47b734
Merge pull request #9777 from hashicorp/fix_9756
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
PacoDw 1bfb2d9170 :chore: implemented transport file to make the OSC API Connection
6 years ago
PacoDw 1055007cba :chore: added OSC API Client Connection
6 years ago
Isaac Buckman 46a26a3d9e
Fix Hyper-V boot command refs #5291 (#9765)
6 years ago
Megan Marsh 8b4993e44c
fix docs for kms key ids (#9766)
6 years ago
PacoDw 74f868da37 :chore: changed the AMI with an existing AMI to work fine with the test case
6 years ago
Megan Marsh acba3ea3e7
Document network path (#9762)
6 years ago
Megan Marsh e97c56dc72
Merge pull request #9559 from hashicorp/fix_9482
6 years ago
Wilken Rivera 55812fe8a5 Handle error of deferred deletion
6 years ago
Wilken Rivera 5700f74c8c Handle lease not present error
6 years ago
Wilken Rivera d91839b93e Update deletion logic for OS disks
6 years ago
Wilken Rivera ba6d11d518 Remove StepDeleteOSDisk in favor of StepDeployTemplate#Cleanup
6 years ago
Megan Marsh 54469c4728
Add all of the custom AWS template engines to GeneratedData for use b… (#9751)
6 years ago
Sylvia Moss e475db6a66
check for ip after timeout (#9748)
6 years ago
Wilken Rivera aed97e1a8b Ensure any active leases are brokend before deleting
6 years ago
Wilken Rivera 920da9d0a4 Fix up code to remove some additional steps
6 years ago
Megan Marsh f8bb9008c0
Merge pull request #9697 from backerman/personal/backerman/9695
6 years ago
Wilken Rivera 7c28d5590c Remove StepDeleteResourceGroup in favor of StepDeploymentTemplate#Cleanup
6 years ago
Sylvia Moss 80960d7a64
Fix vsphere boot command and check for context cancelation when waiting for ip (#9739)
6 years ago
Brad Ackerman 23d5432333
Revert inadvertently-changed import.
6 years ago
Brad Ackerman 109b2a0ca9
Build constraints don't seem to work on test.
6 years ago
Brad Ackerman 94c9b87431
Only run on platforms supported by chroot.
6 years ago
Brad Ackerman 33eb8483ba
Get some tests in here.
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
Megan Marsh 04d7a10aa0
Merge pull request #9714 from hashicorp/fix_9688
6 years ago
Megan Marsh 4964c54f60 update docs to state resource id must be fully qualified
6 years ago
Megan Marsh 25f2ec48d3
add network_name option to vmware builder to make it match the network option on the vsphere builder, so vmware users needn't update vmx data just for the network name (#9718)
6 years ago
Megan Marsh 3f61498704
Merge pull request #9704 from ntoofu/f-vsphere-export-permission
6 years ago
Sylvia Moss dcacf7ad4c
Add vSphere HCL examples to the docs (#9674)
6 years ago
Megan Marsh aede34079d provide more helpful error message than the one returned by the client, without context
6 years ago
ntoofu a53e81d9a2 Make docs more clear
6 years ago
jhawk28 6b8d086e94
alt, ctrl, and shift should be outside variables (#9702)
6 years ago
Megan Marsh 825deef43d
Merge pull request #9665 from hashicorp/vsphere_clone_customization
6 years ago