Commit Graph

618 Commits (58f0b8c22ebb7ec309f6178860e29007c1913e8e)

Author SHA1 Message Date
Michael F 01a0b0c766 kmsArnStartPattern - fix support for aws-us-gov
7 years ago
Megan Marsh 026e543b24 move snapshot deletion to cleanup; this allows people with tag-specific permissions to perform snapshot deletion operation
7 years ago
Megan Marsh 2a613dd6e9 fix up the github suggestion
7 years ago
Adrien Delorme 3ae5a912d4
Update builder/amazon/common/step_pre_validate.go
7 years ago
Megan Marsh 3704a053d0 move region validation and credential wait into step pre validate
7 years ago
Megan Marsh 8add176ab7 finish first pass at vault code; needs testing and cleanup of error messages
7 years ago
Megan Marsh 7a78b47e83 make vault engine stuff into a little struct for easier management
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Adrien Delorme 4a2773f8fa remove default max retries config of 8, it will now be used from env
7 years ago
Adrien Delorme 964b149df2 aws: remove now unused AccessConfig.metadataRegion
7 years ago
Adrien Delorme 335f442b51 aws: unwrap AccessConfig.region func
7 years ago
Adrien Delorme 54af9951a8 make guard clauses to clearly see success pass
7 years ago
Adrien Delorme 0864b4d07b name unclear import
7 years ago
Megan Marsh e0543246fa remove commented code
7 years ago
Megan Marsh 783ed32e7e fix region stuff
7 years ago
Megan Marsh ee2e5cc874
Merge pull request #7080 from hashicorp/do_6508
7 years ago
Tom Elliff 12bf7fc4d6 Check that the KMS key ID is valid
7 years ago
Megan Marsh 042e9ad14b Move logging about aws waiters to the access config prepare() so that it's only spit out once per builder.
7 years ago
Megan Marsh da6e350949 fix tests
8 years ago
Megan Marsh fbb3d526e3 move region validation to run so that we don't break validation when we don't have aws creds set
8 years ago
Mikhail Ushanov 536252683e builders: reuse private key file reading function
8 years ago
Megan Marsh 79862f1bbb
Merge pull request #6931 from hashicorp/fix_6919
8 years ago
Adrien Delorme 3f288fc6ca aws client: config.WithMaxRetries(8)
8 years ago
Mikhail Ushanov 4608b5d39d amazon: add option for skipping TLS verification
8 years ago
Adrien Delorme f4fbf45349 remove duplicate region check error
8 years ago
Adrien Delorme 16aa21dffe aws: better error handling of region guessing from metadata
8 years ago
Adrien Delorme ed793a8fb8 make ValidateRegion a member of *AccessConfig and make it variadic
8 years ago
Megan Marsh fe044d8ff7 fix tests
8 years ago
Megan Marsh 340009009d Revert "Revert "Merge pull request #6892 from hashicorp/fix_6890""
8 years ago
Megan Marsh 0cd3f36d50 Revert "Merge pull request #6892 from hashicorp/fix_6890"
8 years ago
Megan Marsh 0924a316b7 fix template-set credentials
8 years ago
Megan Marsh 9573013d3a
Merge pull request #6872 from aspectcapital/disable-ena-support
8 years ago
Matt Dainty feb8067c7d Convert `ena_support` to a pointer
8 years ago
Megan Marsh 57f87f58b9
Merge pull request #6374 from rickard-von-essen/aws-filters
8 years ago
Megan Marsh 2266514408
Merge pull request #6843 from gmmephisto/pr-master-aws-security-group
8 years ago
Megan Marsh e7d3a30c0e
Merge pull request #6865 from hashicorp/fix_6862
8 years ago
Mikhail Ushanov 00c96fc400 aws: use IpPermissions for authorizing temporary security group
8 years ago
Mikhail Ushanov b316be51cd aws: wait for temporary security group before authorizing
8 years ago
Megan Marsh b0cfecf314 remove unnecessary valid flag
8 years ago
Matt Dainty 9e0fae9db3 Add support to explicitly disable ENA support
8 years ago
Megan Marsh d4767845f0 fix tests
8 years ago
Megan Marsh 7c3f0aa3b2 make sure region validation catches authentication errors
8 years ago
Mikhail Ushanov ee133482b4 aws: add validation for device_name parameter
8 years ago
Megan Marsh 02bfac118f default wait time for amazon import to one hour.
8 years ago
Megan Marsh f494d87dc5
Merge pull request #6747 from hashicorp/fix_6743
8 years ago
Adrien Delorme f44dfcc62f
Merge pull request #6727 from hashicorp/fix_6723
8 years ago
Megan Marsh d616f0ba71 abort if image import fails
8 years ago
Megan Marsh 79093da6ad skip region validation in tests that don't care; refactor Prepare func so we can test region validation logic with a mock
8 years ago
Megan Marsh 93f1155a14 remove test-related special casing
8 years ago
Anshul Sharma ef3c10c403 Modify Validate Region for test cases
8 years ago