Error while VPN tunnel creation in AWS osaka region #26425
Labels
bug
Addresses a defect in current functionality.
service/vpnsite
Issues and PRs that pertain to the vpnsite service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
2022-08-22T19:20:09.679+0530 [INFO] Terraform version: 1.2.7
2022-08-22T19:20:09.680+0530 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-08-22T19:20:09.680+0530 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-08-22T19:20:09.680+0530 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-08-22T19:20:09.680+0530 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-08-22T19:20:09.680+0530 [DEBUG] using github.com/zclconf/go-cty v1.10.0
2022-08-22T19:20:09.680+0530 [INFO] Go runtime version: go1.18.1
2022-08-22T19:20:09.680+0530 [INFO] CLI args: []string{"terraform", "-v"}
2022-08-22T19:20:09.680+0530 [DEBUG] Attempting to open CLI config file: /Users/piaggarw/.terraformrc
2022-08-22T19:20:09.680+0530 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-08-22T19:20:09.680+0530 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-08-22T19:20:09.680+0530 [DEBUG] ignoring non-existing provider search directory /Users/piaggarw/.terraform.d/plugins
2022-08-22T19:20:09.680+0530 [DEBUG] ignoring non-existing provider search directory /Users/piaggarw/Library/Application Support/io.terraform/plugins
2022-08-22T19:20:09.680+0530 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-08-22T19:20:09.680+0530 [INFO] CLI command args: []string{"version", "-v"}
Terraform v1.2.7
on darwin_amd64
Affected Resource(s)
aws_vpn_connection
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/piyushaggarwal03/ae5eb2e5efbb9fdfdbddedbdc8b45fce
Panic Output
Expected Behavior
Tunnel should have been created in osaka region, same TF code working fine in other regions such as virginia, london
Actual Behavior
Error: error creating EC2 VPN Connection: UnsupportedOperation: The tunnel inside ip version parameter is not currently supported in this region.
│ status code: 400, request id: 9a8f5430-a0bc-4c4d-b9c5-64f97312bd8b
│
│ with aws_vpn_connection.testvpnconnection,
│ on ec2_resource.tf line 1, in resource "aws_vpn_connection" "testvpnconnection":
│ 1: resource "aws_vpn_connection" "testvpnconnection" {
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: