ansible.builtin.aws_service_ip_ranges (v2.9.27) — lookup

Look up the IP ranges for services provided in AWS such as EC2 and S3.

| "added in version" 2.5 of ansible.builtin"

Authors: James Turner <turnerjsm@gmail.com>

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

AWS publishes IP ranges used on the public internet by EC2, S3, CloudFront, CodeBuild, Route53, and Route53 Health Checking.

This module produces a list of all the ranges (by default) or can narrow down the list to the specified region or service.


Requirements

Inputs

    
region:
    description: 'The AWS region to narrow the ranges to. Examples: us-east-1, eu-west-2,
      ap-southeast-1'

service:
    description: 'The service to filter ranges by. Options: EC2, S3, CLOUDFRONT, CODEbUILD,
      ROUTE53, ROUTE53_HEALTHCHECKS'

Outputs

_raw:
  description: comma-separated list of CIDR ranges