Skip to content
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

Closed
surjsingh opened this issue Aug 3, 2017 · 2 comments
Closed

Unable to add multiple static routes to aws_vpn_connection_route #15711

surjsingh opened this issue Aug 3, 2017 · 2 comments

Comments

@surjsingh
Copy link

surjsingh commented Aug 3, 2017

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}"
}
screen shot 2017-08-03 at 2 46 25 pm

I should be able to add multiple routes as this is doable through the AWS console ( seen below)

screen shot 2017-08-03 at 2 48 38 pm

@hashibot
Copy link
Contributor

hashibot commented Aug 3, 2017

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.

@ghost
Copy link

ghost commented Apr 8, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants