Coder Social home page Coder Social logo

ecsq's People

Contributors

briancurt avatar karnauskas avatar mightyguava avatar mikeybtn avatar wjeichhold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ecsq's Issues

Panic when getting details for a stopped task

Containers:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x155f108]

goroutine 1 [running]:
main.main.func6(0xc420137680, 0x100eb33, 0x165de40)
	/Users/yunchi/dev/src/github.com/mightyguava/ecsq/main.go:314 +0x1368
gopkg.in/alecthomas/kingpin%2ev2.(*actionMixin).applyActions(0xc420018558, 0xc420137680, 0x0, 0x0)
	/Users/yunchi/dev/src/gopkg.in/alecthomas/kingpin.v2/actions.go:28 +0x57
gopkg.in/alecthomas/kingpin%2ev2.(*Application).applyActions(0xc42016c690, 0xc420137680, 0x0, 0x0)
	/Users/yunchi/dev/src/gopkg.in/alecthomas/kingpin.v2/app.go:554 +0x10a
gopkg.in/alecthomas/kingpin%2ev2.(*Application).execute(0xc42016c690, 0xc420137680, 0xc42016a3b0, 0x1, 0x1, 0x0, 0x0, 0x103fb90, 0xc42000e298)
	/Users/yunchi/dev/src/gopkg.in/alecthomas/kingpin.v2/app.go:390 +0x8f
gopkg.in/alecthomas/kingpin%2ev2.(*Application).Parse(0xc42016c690, 0xc4200103d0, 0x3, 0x3, 0x1, 0xc42000e298, 0x0, 0x1)
	/Users/yunchi/dev/src/gopkg.in/alecthomas/kingpin.v2/app.go:222 +0x202
main.main()
	/Users/yunchi/dev/src/github.com/mightyguava/ecsq/main.go:400 +0x2008

It would be nice if ecsq could pull region from config

Given

I can get clusters with:

$ecsq clusters --profile blah --region eu-west-1

And my current config looks like:

[blah]
mfa_serial = some:virtual:mfa::device/serial
role_arn = some:role:that::has/access-to-ecs

What I did

I added 'region = eu-west-1' to the file like so:

[blah]
mfa_serial = some:virtual:mfa::device/serial
role_arn = some:role:that::has/access-to-ecs
region = eu-west-1

into my $HOME/.aws/config file

Expected:

ecsq would pick up the region when I just call:

$ ecsq cluster --profile blah

What I got:

Didn't get any results

Thoughts:

ecsq is totally usable, but I wish I didn't have to keep track of cross region stuff. So this is more of a feature request.

Feature Request: Add Ability to Get/Tail Logs from a Task/Container

The addition of a new command or an extension to an existing command that allows users to fetch logs from a specific task within ECS would be awesome. Users could quickly access logs without navigating through the AWS console.

This feature would greatly enhance the utility of the ecsq tool, providing users with a seamless experience for managing their ECS tasks and diagnosing issues.

Usage example

ecsq logs --task <task-name> --follow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.