hashicorp / hashicorp/packer

Docker image does not include session-manager-plugin, unable to ssh_interface = "session_manager"

Open
#12,267 3 comments 3 reactions 0 assignees View on GitHub
crt enhancement stage/thinking
Dominant language
Go
Stars
15.8k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

#### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.

#### Overview of the Issue

Using ssh_interface = "session_manager" requires the session-manager-plugin is installed. This is not in the docker image and is also not available for alpine.

#### Reproduction Steps

```
docker run hashicorp/packer:light-1.8.5 build
```

### Packer version

hashicorp/packer:light-1.8.5

### Simplified Packer Template

```
source amazon-ebs builder {
...
ssh_interface = "session_manager"
...
}
```

### Operating system and Environment details

Docker version 20.10.17, build 100c701

### Log Fragments and crash.log files

```
exec: "session-manager-plugin": executable file not found in $PATH
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.