-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds ECS Cluster Region option #2854
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Please make sure all code has had gofmt -s
run on it.
prog/main.go
Outdated
kubernetesTokenFlag = "probe.kubernetes.token" | ||
sensitiveFlags = []string{ | ||
serviceTokenFlag = "service-token" | ||
probeEcsClusterRegionFlag = "probe.ecs.cluster.region" |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
probe/awsecs/client.go
Outdated
region, err := ec2metadata.New(sess).Region() | ||
if err != nil { | ||
return nil, err | ||
var err error |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
bdeaaeb
to
cd21baf
Compare
@ekimekim When my commit will be tagged? I've noticed that it was mentioned in 1.6.5 changelog but, I can't see it in commit list nor in files changed |
It's there. Check https://github.com/weaveworks/scope/commits/v1.6.5 |
Propourse
As talked with @ekimekim on slack, this PR adds an ECS Cluster Region option.
Usage
The default behaviour is to get the region from the instance metadata.