mirror of https://github.com/docker/compose.git
Don't define service resource name
if we do, CloudFormation can't update resource and changeset fail with "CloudFormation cannot update a stack when a custom-named resource requires replacing" Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
5e1f40b752
commit
cb74f7924e
|
@ -193,7 +193,6 @@ func (b Backend) Convert(project *types.Project) (*cloudformation.Template, erro
|
|||
},
|
||||
},
|
||||
SchedulingStrategy: ecsapi.SchedulingStrategyReplica,
|
||||
ServiceName: service.Name,
|
||||
ServiceRegistries: []ecs.Service_ServiceRegistry{serviceRegistry},
|
||||
Tags: []tags.Tag{
|
||||
{
|
||||
|
|
|
@ -182,6 +182,7 @@ func (s sdk) CreateStack(ctx context.Context, name string, template *cf.Template
|
|||
})
|
||||
return err
|
||||
}
|
||||
|
||||
func (s sdk) WaitStackComplete(ctx context.Context, name string, operation int) error {
|
||||
input := &cloudformation.DescribeStacksInput{
|
||||
StackName: aws.String(name),
|
||||
|
|
Loading…
Reference in New Issue