CuriosityChina / terraform-qingcloud

DEPRECATED: Terraform QingCloud Provider
MIT License
7 stars 4 forks source link

Cannot create security group icmp rule. #14

Closed xuyuji9000 closed 6 years ago

xuyuji9000 commented 6 years ago

Related project code:

https://github.com/CuriosityChina/terraform-qingcloud/blob/e51009207922c6fb554f7b1bd9aafff2c8a8ba06/qingcloud/resource_qingcloud_security_group_rule.go#L44-L53

Error:

image

Related terraform configuration:

resource "qingcloud_security_group_rule" "allow-in-ping"{
  name = "允许使用ping"
  security_group_id = "${qingcloud_security_group.basic.id}"
  protocol = "icmp"
  priority = 1
  action = "accept"
  direction = 0
  from_port = "Echo"
  to_port = "echo request"
}
magicshui commented 6 years ago

thanks for your comments, since we had contributed this provider to qingcloud serval months ago, we will not maintain this repo anymore, please use qingcloud's official provider https://github.com/yunify/terraform-provider-qingcloud i think using the new official provider you can solve this issue