-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
fix: support for 32-bit ASN #52
Conversation
The variable `customer_gateway_bgp_asn` now automatically sets `bgp_asn` or `bgp_asn_extended` whether the value cannot be represented as a 32-bit number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@riccardolocci Looks like a fine change, but you'll need to run terraform format
and push those changes, otherwise our tests will fail. Do that and I'll re-review.
@Gowiem thank you for the comment, I've applied the changes you requested and aligned the PR with the latest commits. |
/terratest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One request to check into, but otherwise let's ship it
Hi @Gowiem, I've updated the |
💥 This pull request now has conflicts. Could you fix it @riccardolocci? 🙏 |
Merged latest changes from main and updated documentation due to AWS provider version update |
Hi @Gowiem @nitrocode can you review the code? Thanks! |
/terratest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Bumping to minor because we're bumping the AWS Provider version. |
These changes were released in v1.6.0. |
The variable
customer_gateway_bgp_asn
now automatically setsbgp_asn
orbgp_asn_extended
whether the value cannot be represented as a 32-bit numberwhat
This PR adds support for ASN numbers greater than
2147483647
why
Customer Gateways created by the module only use variable
bgp_asn
, which does not support 32-bit integersInstead the
aws_customer_gateway
resource provides a different variable,bgp_asn_extended
which is not currently used by the modulereferences
hashicorp/terraform-provider-aws#38738