Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59858

Add ability to use an AMI query instead of a static AMI

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin
    • None

      It would be very useful if we could use a search query for an AMI instead of just a static AMI ID.

      For example, packer lets me do this:

      "source_ami_filter": {
                      "most_recent": true,
                      "owners": [
                          "099720109477"
                      ],
                      "filters": {
                          "root-device-type": "ebs",
                          "state": "available",
                          "name": "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*",
                          "virtualization-type": "hvm",
                          "image-type": "machine",
                          "architecture": "x86_64"
                      }
                  }
      

      to use the most recent ubuntu 18.04 AMI every time it is run.

            thoulen FABRIZIO MANFREDI
            jharveysmith Jeff Harvey-Smith
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: