-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Add support for Amazon side private ASN for aws_vpn_gateway #1888
Conversation
|
Hi @ewbankkit
can you be more specific? The schema should support int64 just fine and I don't remember we'd ever need to use |
@radeksimko According to the comment here |
Cleaner would be to add |
That depends purely on the architecture of the binary you build, I think. It will be int64 on 64bit. That said we do release four 32bit packages of Terraform https://www.terraform.io/downloads.html This may in fact be causing issues elsewhere... and if it is, we do need to come up with more reasonable solution. |
I thought that ASNs are 32 bits at most (with most common ones being 16 bit)? https://en.wikipedia.org/wiki/Autonomous_system_%28Internet%29 seems to agree with me, and links to https://tools.ietf.org/html/rfc6793. |
I think the problem is that |
Is there any update on this? We would really love this feature to get merged soon so that we can use terraform to manage our transit-vpc setup across regions. If there is anything that can be done to help out, let me know. |
@jonstacks The correct implementation of this ( |
Thanks for the update on this. I'd assume there is already a branch of terraform core that supports int64 or big.Int. I'll try building core against that branch and try running the code from this branch against it. |
Opened https://github.com/hashicorp/terraform/issues/17077 for the 64-bit/big int support in Terraform. |
973fe22
to
2242942
Compare
The guidance from @apparentlymart in https://github.com/hashicorp/terraform/issues/17077 for now is to use |
@apparentlymart ASN's are 4-Byte max atm, unless something drastically changes in the RFC/RIPE/ARIN there is no reason to worry on that. We would love to see this in. |
…Amazon side ASN." This reverts commit 1c7e0aa0c977e9b7edb2b348fd356b590e1d976c.
2242942
to
6842933
Compare
@ewbankkit Thanks for the wait and opening upstream issue. |
Thanks @ewbankkit for tackling it and thanks @radeksimko for accepting the interim solution. |
This has been released in terraform-provider-aws version 1.9.0. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Fixes #1859
Acceptance tests: