Skip to content

Commit

Permalink
Fix/run policy add - support different service names (#3748)
Browse files Browse the repository at this point in the history
* updated task definition generate function

* updating task and stack fetch

* Adding service name in formatting for stack name

* corrected stack resource name
  • Loading branch information
numcys authored Nov 4, 2024
1 parent aa14544 commit abfbd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/aws/processes.go
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ func (p *Provider) generateTaskDefinition2(app, service string, opts structs.Pro
}
}

td, err := p.stackResource(fmt.Sprintf("%s-%s", p.Rack, app), "ServiceWeb")
td, err := p.stackResource(fmt.Sprintf("%s-%s", p.Rack, app), fmt.Sprintf("Service%s", upperName(service)))
if err != nil {
return nil, err
}
Expand Down

1 comment on commit abfbd77

@phuongnd08
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you release these production related work without any tests?

Please sign in to comment.