Open gopi-para-mpf opened 4 years ago
+1 for the same issue.
Please find the logs below:
alicloud_nat_gateway.nat_gateway: Creation complete after 3s [id=xxxxxxxxxxxxxx] alicloud_eip_association.eip_ass_2: Creating... alicloud_eip_association.eip_ass_3: Creating... alicloud_eip_association.eip_ass_1: Creating... alicloud_eip_association.eip_ass_2: Creation complete after 7s [id=eip-t4nxu714oj145jq5lr5h9:ngw-t4naps4y11hn2frw26ffg] alicloud_snat_entry.snat2: Creating... alicloud_eip_association.eip_ass_3: Creation complete after 8s [id=eip-t4n8u4rb4es5683ais05q:ngw-t4naps4y11hn2frw26ffg] alicloud_snat_entry.snat3: Creating... alicloud_eip_association.eip_ass_1: Still creating... [10s elapsed] alicloud_snat_entry.snat2: Creation complete after 4s [id=stb-t4nd6j8j7yysp7j1mky0m:snat-t4n8owepp2sis5rzy2mlm] alicloud_snat_entry.snat3: Creation complete after 3s [id=stb-t4nd6j8j7yysp7j1mky0m:snat-t4nwl439zoh63c4j3vbvv] alicloud_eip_association.eip_ass_1: Still creating... [20s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [30s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [40s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [50s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [1m0s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [1m10s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [1m20s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [1m30s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [1m40s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [1m50s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [2m0s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [2m10s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [2m20s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [2m30s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [2m40s elapsed] alicloud_eip_association.eip_ass_1: Still creating... [2m50s elapsed]
Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_eip_association.go:85: Resource alicloud_eip_association AssociateEipAddress Failed!!! [SDK alibaba-cloud-sdk-go ERROR]: SDK.ServerError ErrorCode: TaskConflict Recommend: RequestId: 6AF11457-CAB6-4CA1-8596-0BF3B4229414 Message: The eip operate too frequent, TaskConflict.
The same issue with provider.alicloud: version = "~> 1.101.0"
[0m[1malicloud_eip_association.nat-z1: Still creating... [40s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [50s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [1m0s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [1m10s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [1m20s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [1m30s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [1m40s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [1m50s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [2m0s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [2m10s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [2m20s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [2m30s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [2m40s elapsed][0m[0m
[0m[1malicloud_eip_association.nat-z1: Still creating... [2m50s elapsed][0m[0m
[33m
[1m[33mWarning: [0m[0m[1mQuoted references are deprecated[0m
ErrorCode: TaskConflict
Recommend: https://error-center.aliyun.com/status/search?Keyword=TaskConflict&source=PopGw
RequestId: 9898F2AA-5DEB-4080-9752-7BA09BA4BCB6
Message: The eip operate too frequent, TaskConflict
Terraform Version
v0.12.25
Provider Version
provider.alicloud v1.87.0
Affected Resource(s)
Terraform Configuration Files
resource "alicloud_eip" "eip" { count = var.eip_count name = "${var.name}-${count.index}" isp = var.isp internet_charge_type = var.internet_charge_type bandwidth = var.bandwidth }
resource "alicloud_eip_association" "eip_association" { count = var.eip_count allocation_id = element(alicloud_eip.eip.*.id, count.index) instance_id = var.eip_associate_instance_id }
// eip variable "profile" { type = string default = "default" } variable "shared_credentials_file" { type = string default = "" } variable "region" { type = string default = "" } variable "eip_count" { type = number default = 2 } variable "name" { type = string default = "gpara-snat" } variable "isp" { type = string default = "BGP" } variable "internet_charge_type" { type = string default = "PayByTraffic" } variable "bandwidth" { type = number default = 1 } // eip association variable "eip_associate_instance_type" { type = string default = "NAT" } variable "eip_associate_instance_id" { type = string default = "ngw-uf6yk7qlpb95lyjsj71t2" }
An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols:
Terraform will perform the following actions:
alicloud_eip.eip[0] will be created
resource "alicloud_eip" "eip" {
alicloud_eip.eip[1] will be created
resource "alicloud_eip" "eip" {
alicloud_eip_association.eip_association[0] will be created
resource "alicloud_eip_association" "eip_association" {
alicloud_eip_association.eip_association[1] will be created
Plan: 4 to add, 0 to change, 0 to destroy.
Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve.
Enter a value: yes
alicloud_eip.eip[1]: Creating... alicloud_eip.eip[0]: Creating... alicloud_eip.eip[0]: Creation complete after 8s [id=eip-uf6hcd3m2urmg6an6yvv0] alicloud_eip.eip[1]: Creation complete after 8s [id=eip-uf6bl83myopg315pdf0mw] alicloud_eip_association.eip_association[0]: Creating... alicloud_eip_association.eip_association[1]: Creating... alicloud_eip_association.eip_association[1]: Creation complete after 7s [id=eip-uf6bl83myopg315pdf0mw:ngw-uf6yk7qlpb95lyjsj71t2] alicloud_eip_association.eip_association[0]: Still creating... [10s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [20s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [30s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [40s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [50s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [1m0s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [1m10s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [1m20s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [1m30s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [1m40s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [1m50s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [2m0s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [2m10s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [2m20s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [2m30s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [2m40s elapsed] alicloud_eip_association.eip_association[0]: Still creating... [2m50s elapsed]
Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_eip_association.go:85: Resource alicloud_eip_association AssociateEipAddress Failed!!! [SDK alibaba-cloud-sdk-go ERROR]: SDK.ServerError ErrorCode: TaskConflict Recommend: RequestId: F753D7C0-719E-4BE7-ADC4-32976E8F1005 Message: The eip operate too frequent, TaskConflict.
on main.tf line 24, in resource "alicloud_eip_association" "eip_association": 24: resource "alicloud_eip_association" "eip_association" {