Commit Graph

40 Commits (774a168957f14cedc2dd67b9bb2ea329fcd5d294)

Author SHA1 Message Date
Lars Lehtonen e5e2bfa83f
builder/amazon/common: remove nil check on slice, len() on nil slices is zero
7 years ago
Adrien Delorme 2efc94521b use trilean initializers in test where missing
7 years ago
Megan Marsh 1d9bba6fe3 change AMIEncryptBootVolume to trilean
7 years ago
Megan Marsh 3c3f7f26ce implement custom data type "trilean" (tri-state-boolean) to track booleans which have a "null" or "unset" state. Previously we used *bool for these template options, but it turns out that those won't work because "unset" will evaluate to "false" if a user is using template variables to set the option that maps to a *bool.
7 years ago
Jason McIntosh 24bc50ce1b Enable encrypted AMIs with custom KMS Keys
7 years ago
Adrien Delorme f535464097 up a test
7 years ago
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
7 years ago
Michael F 01a0b0c766 kmsArnStartPattern - fix support for aws-us-gov
7 years ago
Tom Elliff 12bf7fc4d6 Check that the KMS key ID is valid
7 years ago
Megan Marsh da6e350949 fix tests
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 d4767845f0 fix tests
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
Megan Marsh 1c681fc096 tests
9 years ago
Matthew Hooker 0e4ea7420b
fix tests
9 years ago
Megan Marsh 875745ab9b one more test
9 years ago
Megan Marsh 1944f38985 update docs and clean up
9 years ago
Megan Marsh f9d7292566 builder/amazon regional KMS keys
9 years ago
Megan Marsh 7174a7a3d5 New map: region_kms_key_ids, allowing custom encryption keys on a per-region basis. Also new tests.
9 years ago
Matthew Hooker 4137660b7a
fix ami name validation
9 years ago
Matthew Hooker da8c4004f0
builder/amazon: numbers are valid in ami name
9 years ago
Matthew Hooker 3f6b5165f2
add affirmative test case for #4762
9 years ago
Craig Barr d9041bda0c Improved the test for special character so that it doesn't get halted by less than 3 character check
9 years ago
Craig Barr 7911cfa94b Formatting as per make fmt
9 years ago
Craig Barr df6337e8ab Added AMIName validation (issue 4761)
9 years ago
Rickard von Essen d7a7d8c852
It's not possible to share encrypted AMI's
10 years ago
poida 8b13b75097 Updated documentation and error messages
10 years ago
poida 7ea17e1630 Allow custom encrypted AMIs to be shared
10 years ago
Ali Hamidi c6a527dc46 throw error if encrypted ami is shared
10 years ago
owjjh de5b69a8df Adding ability to skip region validation when using AWS
10 years ago
Chris Bednarski 0cad32c696 Move region list into a function so we can re-use it in tests
10 years ago
Chulki Lee 1aa24035fc add ap-northeast-2: Asia Pacific (Seoul)
10 years ago
Chulki Lee 7f3f5f4bfa add tests for all ami regions
10 years ago
Mitchell Hashimoto a4f674f8ed builder/amazon/common: remove duplicates from ami_region
13 years ago
Mitchell Hashimoto bfc2ac1eaa builder/amazon/common: AMIConfig common config
13 years ago