container:session
Overview and basic usage
Starts interactive session inside deployed container
- Session is established using ECS exec command and secured SSM connection.
- If your service contains multiple containers, you can interactively choose which one to connect to.
- This command is useful for debugging and inspecting deployed containers.
- For more information refer to docs.
Copy
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)