PARALLAX

efs_tag

create and remove tags on Amazon EFS resources

Collection: community.aws

Full Name: community.aws.efs_tag

Synopsis

create and remove tags on Amazon EFS resources

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
profilestr
purge_tagsboolfalse
regionstr
resourcestryes
secret_keystr
session_tokenstr
statestrpresent
tagsdictyes
validate_certsbooltrue

Example

yaml
- name: Ensure tags are present on a resource
  community.aws.efs_tag:
    resource: fs-123456ab
    state: present
    tags:
        Name: MyEFS
        Env: Production

- name: Remove the Env tag if it's currently 'development'
  community.aws.efs_tag:
    resource: fsap-78945ff
    state: absent
    tags:
        Env: development

- name: Remove all tags except for Name
  community.aws.efs_tag:
    resource: fsap-78945ff
    state: absent
    tags:
        Name: foo
    purge_tags: true

- name: Remove all tags
  community.aws.efs_tag:
    resource: fsap-78945ff
    state: absent
    tags: {}
    purge_tags: true
Search
    ↑ ↓ move↵ openesc close