We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07b28c commit 4328bedCopy full SHA for 4328bed
lib/packer/config/aws.rb
@@ -19,8 +19,12 @@ def builders
19
packer_ci_private_key_location = ENV.fetch('PACKER_CI_PRIVATE_KEY_LOCATION', '../packer-ci-private-key/key')
20
#TODO deleteme. Added to resolve a winrm with newer source ami (ami-0060daada4a15ad8a)
21
source_ami = @region[:base_ami]
22
- if @os == 'windows2019'
+ if @os == 'windows2019' && @region[:name].include?('gov')
23
+ source_ami = "ami-a180cfc0"
24
+ elsif @os == 'windows2019'
25
source_ami = "ami-075f071b62b749647"
26
+ elsif @os == 'windows2012R2'
27
+ source_ami = "ami-067ff23da8261d1c7"
28
end
29
[
30
{
0 commit comments