PARALLAX

ecs_attribute

Manage attributes on ECS container instances

Collection: community.aws

Full Name: community.aws.ecs_attribute

Synopsis

Manage attributes on ECS container instances

Parameters

NameTypeRequiredDefaultDescription
access_keystr
attributeslistyes
aws_ca_bundlepath
aws_configdict
clusterstryes
debug_botocore_endpoint_logsboolfalse
ec2_instance_idstryes
endpoint_urlstr
profilestr
regionstr
secret_keystr
session_tokenstr
statestrpresent
validate_certsbooltrue

Example

yaml
- name: Set attributes
  community.aws.ecs_attribute:
    state: present
    cluster: test-cluster
    ec2_instance_id: "{{ ec2_id }}"
    attributes:
        - flavor: test
        - migrated
  delegate_to: localhost

- name: Delete attributes
  community.aws.ecs_attribute:
    state: absent
    cluster: test-cluster
    ec2_instance_id: "{{ ec2_id }}"
    attributes:
        - flavor: test
        - migrated
  delegate_to: localhost
Search
    ↑ ↓ move↵ openesc close