packer ec2 windows jenkins slave
Create an AWS jenkins slave over windows for EC2 plugin
packer init win2019-jenkins-node.pkr.hcl
packer build -var 'profile=<YOUR AWS PROFILE>' -var 'region=<YOUR AWS REGION>' win2019-jenkins-node.pkr.hcl
you Security group must be open on port 445 5985/596
you must add the Subnet too
replace "" with your password in the hcl and the txt file
add to the git_config if needed and then comment out the section in the hcl