Commit Graph

777 Commits (9756a9858a82dfd9a5b5f306e8a48920e594752b)

Author SHA1 Message Date
Megan Marsh d252a24b82 allow user to set winrm_host override like we do ssh_host override
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
nywilken d2a9e6b32e Format code with `gofmt -s -w`
6 years ago
Wilken Rivera 111bab86d9
Merge pull request #8622 from datalot/pre-validate-with-filters
6 years ago
Sylvia Moss 0b7251a4bb
Share .Device and .MountPath between builders, provisioners and post-processors (#8621)
6 years ago
Rich Cavanaugh 4fb0de5256 allow validation to pass when subnet filters are present
6 years ago
Sylvia Moss 39c25b2c66
Add retry mechanism to amazon DeleteSnapshot (#8614)
6 years ago
Sylvia Moss 0677b02e18
Share SourceImageName with provisioners and manifest post-processor (#8603)
6 years ago
Sylvia Moss 0e177915f8
Add retry mechanism to DeregisterImage from awsec2 (#8598)
6 years ago
Megan Marsh b7ee807cf1
Merge pull request #8571 from hashicorp/fix_8565
6 years ago
Megan Marsh 6655f93b59 fix typo and regenerate code
6 years ago
Megan Marsh 76251e5fd2 fix ssh interface docs for amazon builders
6 years ago
Trevor Pounds 47e48ebc24 Add source AMI owner ID/name to build template.
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
6 years ago
Megan Marsh 601007e3e2 pas data into provisioners well
6 years ago
Oded Priva 5e81c6f44e added the option to skip IAM instance profile validation (#8457)
6 years ago
Moss 28c720bd3a Organize imports
6 years ago
Moss 250643d54b Remove 5 sec sleep after adding iam instance profile
6 years ago
Moss 4516978555 Fix request retry mechanism to run aws instance
6 years ago
Jon Allie c31bbcf4cf builder/amazon: AmiFilterOptions.GetOwners: avoid taking the address of a loop iterator var (#8417)
6 years ago
Mike Dziedziela 7c3e032fb7 amazon docs: update block-device-configuration docs (#8395)
6 years ago
Megan Marsh 59e6e1d4d5
Merge pull request #8393 from hashicorp/fix_8362
7 years ago
Megan Marsh 67c3373107 enable no_ephemeral for spot devices, clean up ranging behavior, update docs
7 years ago
Anthony Dong 2e989088e5 amazon-ebssurrogate: allow enabling ena/sr-iov on spot instances
7 years ago
Megan Marsh 0e2bdc8be6 forcibly prevent ephemeral drives from being created in the amazon-ebs builder, when no_ephemeral is set
7 years ago
DanHam b40e5d90b6
builder/amazon/common/step_pre_validate: Return DescribeVpcs errors
7 years ago
nywilken afb880c134 test/builder/amazon/common/step_pre_validate: Update DescribeVpcs mock
7 years ago
DanHam 074be9942d
Only validate the user has provided a subnet_id when vpc_id has been set
7 years ago
nywilken f9f4726eff builder/amazon/step_pre_validate: Add check for non-default VPCs
7 years ago
nywilken 488e539f63 builder/amazon: Add helper function for checking against AWSError
7 years ago
Megan Marsh 6e2456d028 make error messaging around ResourceNotReady better, update docs with other possible issues (#8349)
7 years ago
cove 2898d66812
retry runinstances aws api that wasn't retried and could fail
7 years ago
Megan Marsh 6c704f7046 Revert "fix template imports"
7 years ago
Megan Marsh 517834d528 Revert "Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name""
7 years ago
Megan Marsh fcb65ee422
Merge pull request #8307 from hashicorp/fix_8116
7 years ago
Megan Marsh e9e4c102e5 delete amazon import post-processor intermediary snapshots
7 years ago
Lars Lehtonen d072079899
builder/amazon/common: remove dead test type and function mockEC2Conn_Modify_EBS.ModifyInstanceAttribute()
7 years ago
Lars Lehtonen 953be1603b
builder/amazon/common: remove dead test type and function mockEC2ConnSpot.DescribeSpotPriceHistory()
7 years ago
Lars Lehtonen 7a09f9c678
builder/amazon/common: remove dead test function fakeModifyEBSBackedInstanceState()
7 years ago
Lars Lehtonen 0a13b620d6
builder/amazon/common: remove dead test function StepModifyEBSBackedInstance_EnableAMIENASupport()
7 years ago
Lars Lehtonen c74df8b652
builder/amazon/common: remove dead test function getMockConnSpot()
7 years ago
Lars Lehtonen e5e2bfa83f
builder/amazon/common: remove nil check on slice, len() on nil slices is zero
7 years ago
Megan Marsh 6191b9c8c6
Merge pull request #8288 from hashicorp/fix_8271
7 years ago
Megan Marsh d084cd1895 Update builder/amazon/common/ami_config.go
7 years ago
Megan Marsh e9f02e44cb add test to catch this case
7 years ago
Megan Marsh 7cf47fc463 add some extra layers of validation to make sure that people don't trip over magical encrypt_boot settings later in the build
7 years ago
Megan Marsh e2283445f2 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.
7 years ago