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
This example code does not work.
A much simpler version of this code with just the VPC, vswitch, instance and security group also fails.
An even simpler version relying on a pre-existing default VPC also fails.
This problem was experienced with:
Terraform v0.11.10
https://github.com/terraform-providers/terraform-provider-alicloud/blob/4b69936bb5e5d3a9ca4a6fbd3acb016bde7c4a0f/examples/ecs-vpc/main.tf#L42
This example code does not work.
A much simpler version of this code with just the VPC, vswitch, instance and security group also fails.
An even simpler version relying on a pre-existing default VPC also fails.
This problem was experienced with:
Terraform v0.11.10
Error: Error applying plan:
3 error(s) occurred:
alicloud_instance.instance[2]: 1 error(s) occurred:
alicloud_instance.instance.2: Error creating Aliyun ecs instance: &errors.ServerError{httpStatus:404, requestId:"D7BEACCB-B4E6-4CB5-8CCA-A8154B412714", hostId:"ecs-cn-hangzhou.aliyuncs.com", errorCode:"InvalidSecurityGroupId", recommend:"", message:"The specified SecurityGroupId is invalid or does not exist.", comment:""}
alicloud_instance.instance[0]: 1 error(s) occurred:
alicloud_instance.instance.0: Error creating Aliyun ecs instance: &errors.ServerError{httpStatus:404, requestId:"9218F860-ACE9-4D38-B338-6332E9D02809", hostId:"ecs-cn-hangzhou.aliyuncs.com", errorCode:"InvalidSecurityGroupId", recommend:"", message:"The specified SecurityGroupId is invalid or does not exist.", comment:""}
alicloud_instance.instance[1]: 1 error(s) occurred:
alicloud_instance.instance.1: Error creating Aliyun ecs instance: &errors.ServerError{httpStatus:404, requestId:"A35CE05A-79E7-4666-8247-52945EEA0D2D", hostId:"ecs-cn-hangzhou.aliyuncs.com", errorCode:"InvalidSecurityGroupId", recommend:"", message:"The specified SecurityGroupId is invalid or does not exist.", comment:""}
The text was updated successfully, but these errors were encountered: