-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Unable to add multiple static routes to aws_vpn_connection_route #15711
Comments
This issue has been automatically migrated to hashicorp/terraform-provider-aws#1324 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to this issue and let us know. |
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. |
I am expecting that I should be able to add multiple entries of static routes to terraform resource aws_vpn_connection_route. However, the destination_cidr_block doesn't allow to add a list and expects a single value ( as also seen in the screenshot during the terraform plan)
Actual:
resource "aws_vpn_connection_route" "office" {
destination_cidr_block = "10.0.0.0/16"
vpn_connection_id = "${aws_vpn_connection.main.id}"
}
Expectation:
resource "aws_vpn_connection_route" "office" {
destination_cidr_block = ["10.0.0.0/16","10.2.0.0/16"]
vpn_connection_id = "${aws_vpn_connection.main.id}"
}
I should be able to add multiple routes as this is doable through the AWS console ( seen below)
The text was updated successfully, but these errors were encountered: