PARALLAX

efs

create and maintain EFS file systems

Collection: community.aws

Full Name: community.aws.efs

Synopsis

create and maintain EFS file systems

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
encryptboolfalse
endpoint_urlstr
idstr
kms_key_idstr
namestr
performance_modestrgeneral_purpose
profilestr
provisioned_throughput_in_mibpsfloat
purge_tagsbooltrue
regionstr
secret_keystr
session_tokenstr
statestrpresent
tagsdict
targetslist[]
throughput_modestr
transition_to_iastr
validate_certsbooltrue
waitboolfalse
wait_timeoutint0

Example

yaml
- name: EFS provisioning
  community.aws.efs:
    state: present
    name: myTestEFS
    tags:
        Name: myTestNameTag
        purpose: file-storage
    targets:
        - subnet_id: subnet-748c5d03
          security_groups: ["sg-1a2b3c4d"]

- name: Modifying EFS data
  community.aws.efs:
    state: present
    name: myTestEFS
    tags:
        name: myAnotherTestTag
    targets:
        - subnet_id: subnet-7654fdca
          security_groups: ["sg-4c5d6f7a"]

- name: Set a lifecycle policy
  community.aws.efs:
    state: present
    name: myTestEFS
    transition_to_ia: 7
    targets:
        - subnet_id: subnet-7654fdca
          security_groups: ["sg-4c5d6f7a"]

- name: Remove a lifecycle policy
  community.aws.efs:
    state: present
    name: myTestEFS
    transition_to_ia: None
    targets:
        - subnet_id: subnet-7654fdca
          security_groups: ["sg-4c5d6f7a"]

- name: Deleting EFS
  community.aws.efs:
    state: absent
    name: myTestEFS
Search
    ↑ ↓ move↵ openesc close