Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_service_ip_ranges suppport for ipv6 #438

Closed
1 task done
abhattacharyaNS1 opened this issue Aug 4, 2021 · 2 comments · Fixed by #430
Closed
1 task done

aws_service_ip_ranges suppport for ipv6 #438

abhattacharyaNS1 opened this issue Aug 4, 2021 · 2 comments · Fixed by #430
Labels
feature This issue/PR relates to a feature request has_pr integration tests/integration plugins plugin (any type) tests tests

Comments

@abhattacharyaNS1
Copy link
Contributor

abhattacharyaNS1 commented Aug 4, 2021

Summary

We are using amazon.aws collection and we noticed that the aws_service_ip_ranges does not have an option to return IPv6 ranges.

Issue Type

Feature Idea

Component Name

{ lookup('aws_service_ip_ranges', region='us-west-2', service='ROUTE53_HEALTHCHECKS', ipv6_prefix=True, wantlist=True) }
Should return a list of IPv6 addresses that correspond to the Route53 health check.

Pull Request

#430

Additional Information

vars:
  rt53_ranges: "{{ lookup('aws_service_ip_ranges', region='us-west-2', service='ROUTE53_HEALTHCHECKS', ipv6_prefix=True, wantlist=True) }}"
tasks:

- name: "use list return option and iterate as a loop"
  debug: msg="{% for x in rt53_ranges %}{{ x }} {% endfor %}"
#    ###"2600:1f14:7ff:f800::/56,2600:1f14:fff:f800::/56"

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request has_pr integration tests/integration needs_triage plugins plugin (any type) tests tests labels Aug 4, 2021
ansible-zuul bot pushed a commit that referenced this issue Sep 16, 2021
Add support for ipv6 addresses

SUMMARY
Allow amazon.aws.aws_service_ip_ranges to return only IPv6 addresses with setting ipv6_prefixes=True
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
amazon.aws.aws_service_ip_ranges
ADDITIONAL INFORMATION

vars:
  rt53_ranges: "{{ lookup('aws_service_ip_ranges', region='us-west-2', service='ROUTE53_HEALTHCHECKS', ipv6_prefix=True, wantlist=True) }}"
tasks:

- name: "use list return option and iterate as a loop"
  debug: msg="{% for x in rt53_ranges %}{{ x }} {% endfor %}"
# "2600:1f14:7ff:f800::/56,2600:1f14:fff:f800::/56"

Closes #438

Reviewed-by: None <None>
Reviewed-by: Mark Chappell <None>
Reviewed-by: None <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request has_pr integration tests/integration plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants