ansible / ansible.builtin / v2.9.0 / lookup / aws_account_attribute Look up AWS account attributes. | "added in version" 2.5 of ansible.builtin" Authors: Sloane Hertel <shertel@redhat.com>ansible.builtin.aws_account_attribute (v2.9.0) — lookup
pip
Install with pip install ansible==2.9.0
Describes attributes of your AWS account. You can specify one of the listed attribute choices or omit it to see all attributes.
region: description: The region for which to create the connection. env: - name: EC2_REGION - name: AWS_REGION type: str attribute: choices: - supported-platforms - default-vpc - max-instances - vpc-max-security-groups-per-interface - max-elastic-ips - vpc-max-elastic-ips - has-ec2-classic description: The attribute for which to get the value(s). aws_profile: aliases: - boto_profile description: The AWS profile env: - name: AWS_DEFAULT_PROFILE - name: AWS_PROFILE type: str aws_access_key: aliases: - aws_access_key_id description: The AWS access key to use. env: - name: EC2_ACCESS_KEY - name: AWS_ACCESS_KEY - name: AWS_ACCESS_KEY_ID type: str aws_secret_key: aliases: - aws_secret_access_key description: The AWS secret key that corresponds to the access key. env: - name: EC2_SECRET_KEY - name: AWS_SECRET_KEY - name: AWS_SECRET_ACCESS_KEY type: str aws_security_token: description: The AWS security token if using temporary access and secret keys. env: - name: EC2_SECURITY_TOKEN - name: AWS_SESSION_TOKEN - name: AWS_SECURITY_TOKEN type: str
_raw: description: Returns a boolean when I(attribute) is check_ec2_classic. Otherwise returns the value(s) of the attribute (or all attributes if one is not specified).