Skip to content

Commit

Permalink
tweak message
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jul 5, 2022
1 parent e569c90 commit a69874f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/ecs_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,10 @@ def main():
task_definition = module.params['task_definition']

if module.params['propagate_tags'] and module.params['propagate_tags'] != existing['propagateTags']:
module.fail_json(msg="It is not possible to enable propagation tags of an existing service")
module.fail_json(msg="It is not currently supported to enable propagation tags of an existing service")

if module.params['tags'] and boto3_tag_list_to_ansible_dict(existing['tags']) != module.params['tags']:
module.fail_json(msg="It is not possible to change tags of an existing service")
module.fail_json(msg="It is not currently supported to change tags of an existing service")

# update required
response = service_mgr.update_service(module.params['name'],
Expand Down

0 comments on commit a69874f

Please sign in to comment.