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

Allow ipv6_cidr_block to be assigned to peering_connection #879

Merged
merged 2 commits into from
Jun 15, 2017

Conversation

martinssipenko
Copy link
Contributor

I've encountered an issue when trying to use destination_ipv6_cidr_block with vpc_peering_connection_id. I believe this fixes #778.

I'm not sure about whether destination_ipv6_cidr_block should be allowed together with other types (nat_gateway_id, instance_id, network_interface_id).

Also, I could not find any acceptance test for this functionality, so I've not added any new tests to cover this. I'm happy to add tests, however I might need guidance.

This is a migrated pull request from original repo hashicorp/terraform#15145

@stack72
Copy link
Contributor

stack72 commented Jun 15, 2017

Hi @martinssipenko

Thanks for migrating this PR from the other repo :) This LGTM!

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSRoute_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccAWSRoute_ -timeout 120m
=== RUN   TestAccAWSRoute_basic
--- PASS: TestAccAWSRoute_basic (71.09s)
=== RUN   TestAccAWSRoute_ipv6Support
--- PASS: TestAccAWSRoute_ipv6Support (60.62s)
=== RUN   TestAccAWSRoute_ipv6ToInternetGateway
--- PASS: TestAccAWSRoute_ipv6ToInternetGateway (75.57s)
=== RUN   TestAccAWSRoute_ipv6ToPeeringConnection
--- PASS: TestAccAWSRoute_ipv6ToPeeringConnection (67.53s)
=== RUN   TestAccAWSRoute_changeCidr
--- PASS: TestAccAWSRoute_changeCidr (115.30s)
=== RUN   TestAccAWSRoute_noopdiff
--- PASS: TestAccAWSRoute_noopdiff (181.15s)
=== RUN   TestAccAWSRoute_doesNotCrashWithVPCEndpoint
--- PASS: TestAccAWSRoute_doesNotCrashWithVPCEndpoint (77.24s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	648.513s

Paul

@stack72 stack72 merged commit 61dc918 into hashicorp:master Jun 15, 2017
@ghost
Copy link

ghost commented Apr 12, 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

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

Successfully merging this pull request may close these issues.

aws_route_table: cidr_block required in route
2 participants