Skip to content

Commit

Permalink
Add service tags as takset task on create (#4598)
Browse files Browse the repository at this point in the history
Signed-off-by: khanhtc1202 <[email protected]>
  • Loading branch information
khanhtc1202 committed Oct 11, 2023
1 parent c6941f1 commit 2b2940f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/app/piped/platformprovider/ecs/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ func (c *client) CreateTaskSet(ctx context.Context, service types.Service, taskD
Service: service.ServiceArn,
TaskDefinition: taskDefinition.TaskDefinitionArn,
Scale: &types.Scale{Unit: types.ScaleUnitPercent, Value: float64(scale)},
Tags: service.Tags,
// If you specify the awsvpc network mode, the task is allocated an elastic network interface,
// and you must specify a NetworkConfiguration when run a task with the task definition.
NetworkConfiguration: service.NetworkConfiguration,
Expand Down

0 comments on commit 2b2940f

Please sign in to comment.