You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sonar-scanner-cli-qa.json 1.0KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "builders": [
  3. {
  4. "type": "amazon-ebs",
  5. "region": "eu-central-1",
  6. "source_ami_filter": {
  7. "filters": {
  8. "virtualization-type": "hvm",
  9. "name": "*Windows_Server-2019-English-Core-EKS_Optimized*",
  10. "root-device-type": "ebs"
  11. },
  12. "most_recent": true,
  13. "owners": "amazon"
  14. },
  15. "instance_type": "t2.medium",
  16. "ami_name": "sonar-scanner-cli-qa",
  17. "communicator": "winrm",
  18. "winrm_username": "packer_user",
  19. "winrm_insecure": true,
  20. "winrm_use_ssl": true,
  21. "user_data": "winrm quickconfig -quiet & net user /add packer_user & net localgroup administrators packer_user /add & winrm set winrm/config/service/auth @{Basic=\"true\"}",
  22. "tags": {
  23. "Base_AMI": "{{ .SourceAMI }}",
  24. "Base_AMI_Name": "{{ .SourceAMIName }}",
  25. "Extra": "{{ .SourceAMITags.TagName }}"
  26. }
  27. }
  28. ],
  29. "provisioners": [
  30. {
  31. "type": "powershell",
  32. "scripts": [
  33. "{{template_dir}}/setup.ps1"
  34. ]
  35. }
  36. ]
  37. }