Skip to content
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

fix(ecs): only add service role to create request if there is one lb #4349

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

piradeepk
Copy link
Contributor

@piradeepk piradeepk commented Feb 24, 2020

Spinnaker infers the role to pass to ECS when creating services with load balancers. Previously, if you had a load balancer, it would pass the inferred role (SpinnakerManaged) vs using the Service Linked Role (which is required by ECS to interact with multiple load balancers using bridge mode).

Testing Performed:

  • Manually reproduce the error.
  • After deploying the change, I was successfully able to deploy a service with multiple target groups associated to it using EC2 with Bridge network mode.

Fixes: spinnaker/spinnaker#5412

@piradeepk
Copy link
Contributor Author

Forgot to commit test updates

@clareliguori clareliguori added the ready to merge Approved and ready for a merge label Feb 24, 2020
@mergify mergify bot merged commit 3177588 into spinnaker:master Feb 24, 2020
@mergify mergify bot added the auto merged Merged automatically by a bot label Feb 24, 2020
@clareliguori
Copy link
Member

@spinnakerbot cherry-pick 1.18

@spinnakerbot
Copy link
Contributor

Cherry pick successful: #4350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for a merge target-release/1.19
Projects
None yet
3 participants