-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: add aws_route resource (finish) #3548
Conversation
Fixing basic acceptance test. Adding warning to website about mixed mode. Adding exists to aws_route. Adding acceptance test for changing destination_cidr_block.
Thank you @BSick7 🙏 |
Great to see this wrapping up. Any idea how long until we see it in a release? |
Thanks @BSick7 would really love to have this |
Looking through the code and seeing the example usage, I don't see a way to add route-propagation to this. Currently I'm doing this:
I'd really like to create the route initially like this:
Then add a route later like this:
Does this make sense ? |
@pll Keep in mind, this PR also does not implement mixed mode route tables (inline routes and singular aws_route resources). In #2454, there was a dialogue discussing alternative ways of solving through https://github.com/hashicorp/terraform/issues/2275. |
@BSick7 - Yeah, I get that the propagating_vgws isn't directly connected to adding a route in the aws_route resource. What I was trying to convey is that in this case, when I add a route of this type, I also want to toggle the propagation from off to on. That action is associated with the addition of this type of route, which means when I employ the aws_route resource, I also need a means up updating the route_table resource for propagating_vgws as well. It might be solvable with #2275, I'm not sure. Or maybe something analagous to an aws_update_route_table feature. Thanks |
@pll propagation of a vgw within an aws_route is more of a status than a configuration point. Note that http://docs.aws.amazon.com/sdk-for-go/api/service/ec2/EC2.html#CreateRoute-instance_method does not allow this type of input. |
@BSick7 - Interesting. So, really all I need is a way to access client.EnableVgwRoutePropagationRequest(params) from within terraform it seems. |
@pll correct. That api would tie into |
@@ -0,0 +1,57 @@ | |||
--- | |||
layout: "aws" | |||
page_title: "AWS: aws_route_table" |
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.
should just be aws_route
, right? Same for sidebar_current
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.
Yup! Fixing.
A few questions, otherwise very promising. Thanks! |
…f the unique id instead of manually recreating the resource.
@catsby I removed the code doing a recreate and used |
@catsby any plans to review this soon? |
Thanks for the updates, @BSick7 . This looks good, pulling it in |
provider/aws: add aws_route resource (finish)
🚀 |
Awesome!!! Well done guys there's a lot of us that have been waiting for this for sooooo long! I hope the next terraform release is very soon! |
Oh boy oh boy :) - also waiting with baited breath for this release! This is the only thing keeping us from realizing a fully automated workflow right now. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This work completes, rebases, and squashes work from #2454.