Stacktape
Stacktape


container:session

Overview and basic usage

container:session

Starts an interactive session inside a deployed container.

The session is established using ECS Exec and a secure SSM connection. If your service has multiple containers, you can choose which one to connect to. This is useful for debugging and inspecting running containers.

For more information, refer to the container session documentation.


stacktape container:session --stage <<stage>> --region <<region>> --resourceName <<resourceName>>

API reference

Options

region (--r)
Required
resourceName (--rn)
Required
stage (--s)
Required
awsAccount (--aa)
command (--cmd)
configPath (--cp)
container (--cnt)
currentWorkingDirectory (--cwd)
help (--h)
logFormat (--lf)
logLevel (--ll)
profile (--p)
projectName (--prj)
templateId (--ti)

Contents