mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Remove illegal basic provisioning example (#55892)
The bare minimum example in the docs (i.e. only supplying name, state, and cluster) results in the error `state is present but all of the following are missing: task_definition, desired_count`.
This commit is contained in:
@@ -160,6 +160,8 @@ extends_documentation_fragment:
|
||||
|
||||
EXAMPLES = '''
|
||||
# Note: These examples do not set authentication details, see the AWS Guide for details.
|
||||
|
||||
# Basic provisioning example
|
||||
- ecs_service:
|
||||
state: present
|
||||
name: console-test-service
|
||||
@@ -167,12 +169,6 @@ EXAMPLES = '''
|
||||
task_definition: 'new_cluster-task:1'
|
||||
desired_count: 0
|
||||
|
||||
# Basic provisioning example
|
||||
- ecs_service:
|
||||
name: default
|
||||
state: present
|
||||
cluster: new_cluster
|
||||
|
||||
- name: create ECS service on VPC network
|
||||
ecs_service:
|
||||
state: present
|
||||
|
||||
Reference in New Issue
Block a user