Extend Connection Strategy to Support AWS SSM Session Manager

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      With AWS SSM Session Manger no supporting ssh connections via session manager. It would be amazing if this plugin can extend connection strategy to return instance_id

      https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html

      Feature Description

      Due to security, we disabled all SSH 22 ports on aws have switched to session manager. We would like to utilise session manager for connections to our jenkins ec2 agents. The way this would work would be to extend connection_strategy to return the instance id, so instead of "Private IP" we would set ssh_interface: "id".

      Use Case(s)

      https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html

      test-kitchen https://github.com/test-kitchen/kitchen-ec2 has already been updated to support session manager so it would be great if packer can support too.

            Assignee:
            FABRIZIO MANFREDI
            Reporter:
            Ebrahim Moshaya
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: