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

IPv6 support in ec2_vpc_route_table #477

Closed
boutetnico opened this issue Feb 10, 2021 · 3 comments · Fixed by #601
Closed

IPv6 support in ec2_vpc_route_table #477

boutetnico opened this issue Feb 10, 2021 · 3 comments · Fixed by #601
Assignees
Labels
feature This issue/PR relates to a feature request jira module module plugins plugin (any type) traceback

Comments

@boutetnico
Copy link
Contributor

SUMMARY

Allow usage of IPv6 CIDR in ec2_vpc_route_table.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

ec2_vpc_route_table.py

ADDITIONAL INFORMATION

An old PR tried to fix it already: ansible/ansible#50220.
This would solve the error that occurs when we use an IPv6 CIDR.

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the CreateRoute operation: Value (::/0) for parameter destinationCidrBlock is invalid. This is not a valid CIDR block.
fatal: [localhost]: FAILED! => {"boto3_version": "1.17.3", "botocore_version": "1.20.3", "changed": false, "error": {"code": "InvalidParameterValue", "message": "Value (::/0) for parameter destinationCidrBlock is invalid. This is not a valid CIDR block."}, "msg": "Couldn't create route: An error occurred (InvalidParameterValue) when calling the CreateRoute operation: Value (::/0) for parameter destinationCidrBlock is invalid. This is not a valid CIDR block.", "response_metadata": {"http_headers": {"cache-control": "no-cache, no-store", "connection": "close", "date": "Wed, 10 Feb 2021 08:07:32 GMT", "server": "AmazonEC2", "strict-transport-security": "max-age=31536000; includeSubDomains", "transfer-encoding": "chunked", "x-amzn-requestid": "42c90a54-5eb3-42fd-a993-6c73cfccbe0f"}, "http_status_code": 400, "request_id": "42c90a54-5eb3-42fd-a993-6c73cfccbe0f", "retry_attempts": 0}}
  ec2_vpc_route_table:
      routes:
        - dest: 0.0.0.0/0
          gateway_id: gw-id
        - dest: ::/0
          gateway_id: gw-id
      subnets:
        - subnet-1
        - subnet-2
        - subnet-3
      vpc_id: vpc-id
@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
Copy link

@abikouo
Copy link
Contributor

abikouo commented Mar 24, 2021

@jillr it seems that you are working on this module, could you please address this issue too ?

@tremble tremble transferred this issue from ansible-collections/community.aws Aug 27, 2021
@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module needs_triage plugins plugin (any type) traceback labels Aug 27, 2021
@mandar242 mandar242 added the jira label Jan 5, 2022
@mandar242 mandar242 self-assigned this Jan 5, 2022
ansible-zuul bot pushed a commit that referenced this issue Jan 13, 2022
ec2_vpc_route_table: Add IPv6 support in ec2_vpc_route_table

SUMMARY

Allow usage of IPv6 CIDR in ec2_vpc_route_table for creating routes.

Fixes #477
ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_vpc_route_table

Reviewed-by: Jill R <None>
Reviewed-by: None <None>
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Sep 18, 2023
* add integration tests for acm with check mode
* add check mode to acm module
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Sep 18, 2023
* add integration tests for acm with check mode
* add check mode to acm module
abikouo pushed a commit to abikouo/amazon.aws that referenced this issue Oct 24, 2023
* add integration tests for acm with check mode
* add check mode to acm module
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 jira module module plugins plugin (any type) traceback
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants