You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_vpn_gateway.go:217: Resource alicloud_vpn_gateway CreateVpnGateway Failed!!! [SDK alibaba-cloud-sdk-go ERROR]:
│ SDKError:
│ StatusCode: 400
│ Code: InvalidVSwitchId.NotFound
│ Message: code: 400, The specified vswitchId is not found. request id: 2160112E-2356-5BA2-98A6-678BEFAF01C6
│ Data: {"Code":"InvalidVSwitchId.NotFound","HostId":"vpc.cn-shanghai.aliyuncs.com","Message":"The specified vswitchId is not found."
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.
Expected Behavior
VPN Gateway should be created
Actual Behavior
Error in creating resource, showing Message: code: 400, The specified vswitchId is not found.
Irrespective of referring variables or passing the hardcoded value for vswitch_id, its constantly showing that it can't find the vswitch_id, even if I comment the vswitch_id in resource its throwing same error
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Trying to create this resource in cn-shanghai region
I am using the latest version of aliyun/alicloud provider
References
No references
The text was updated successfully, but these errors were encountered:
Hi
I am facing issue when creating a VPN Gateway, the resouce is not able to identify the vswitch_id
Terraform Version
terraform --version
Terraform v1.2.9
on darwin_amd64
Affected Resource(s)
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
│ Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_vpn_gateway.go:217: Resource alicloud_vpn_gateway CreateVpnGateway Failed!!! [SDK alibaba-cloud-sdk-go ERROR]:
│ SDKError:
│ StatusCode: 400
│ Code: InvalidVSwitchId.NotFound
│ Message: code: 400, The specified vswitchId is not found. request id: 2160112E-2356-5BA2-98A6-678BEFAF01C6
│ Data: {"Code":"InvalidVSwitchId.NotFound","HostId":"vpc.cn-shanghai.aliyuncs.com","Message":"The specified vswitchId is not found."
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
VPN Gateway should be created
Actual Behavior
Error in creating resource, showing Message: code: 400, The specified vswitchId is not found.
Irrespective of referring variables or passing the hardcoded value for vswitch_id, its constantly showing that it can't find the vswitch_id, even if I comment the vswitch_id in resource its throwing same error
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Trying to create this resource in cn-shanghai region
I am using the latest version of
aliyun/alicloud
providerReferences
No references
The text was updated successfully, but these errors were encountered: