-
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
Allow empty route_table_ids list in aws_vpc_endpoint resources #9357
Conversation
Of course, now I discovered #8225, so ... |
This looks good to me, @mrwacky42 , what is your concern / question with regards to #8225? |
@catsby -- My concern is that this is only partially useful, since I can't actually add RouteTableID to the VPC endpoint after the fact. I had to create my VPC endpoint with non-empty I think Terraform will need a |
@catsby ping |
Sorry for my confusion; the resource allows you to add/modify the RouteTable IDs: What am I missing? This PR as it stands seems useful and I'd like to pull it in, unless you object |
Yes, this is good to merge. What you are missing is that I'm trying to create the The original task I was trying to achieve is:
But... the From AWS web console, the only way I am able to add the route is from the VPC endpoints page, and not on the route tables themselves. In this, the web console seems to have the same limitation as Terraform -- only accepting CIDR blocks. So that's why I'm suggesting Hopefully I'm being clear enough, and yes please merge! |
Thank you for the explanation! I'll go ahead and merge this then |
@mrwacky42 Incase you didn't see #9244 |
@coen-hyde - I hadn't. Thanks. |
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. |
Without this change, TF submits a request with empty RouteTableIDs and AWS responds
400 bad request
.With this change, I can create a VPC Endpoint without a route table.
I am almost completely ignorant of Go, so let me know if there's a better to solve this.