Open GabrielZabielski opened 5 years ago
resource "alicloud_ess_scaling_group" "ess-scaling-group" { depends_on = [alicloud_slb_listener.tcp_http] // you can add there "depends_on" . min_size = 2 max_size = 2 scaling_group_name = "example" vswitch_ids = [alicloud_vswitch.vswitch-1.id] loadbalancer_ids = [alicloud_slb.slb.id] multi_az_policy = "BALANCE" }
Sorry for late. Ok, so if we can't do it the standard way I need to rewrite few modules and attach to them depends_on
.
Anyway, thanks :)
Even with depends_on, I am still experiencing the intermittent issue of this. Provider: 1.58
Even with depends_on, I am still experiencing the intermittent issue of this. Provider: 1.58
Could you desribe?
Hello guys, I have probably related issue with every terraform provider version since 1.55.4.
Error:
module.haproxy.module.ess.alicloud_ess_scaling_group.scaling_group[0]: Creating...
module.iis_cluster_beijing.module.ess_iis.alicloud_ess_scaling_group.scaling_group[0]: Creating...
module.iis_cluster_shanghai.module.ess_iis.alicloud_ess_scaling_group.scaling_group[0]: Creating...
Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_ess_scalinggroup.go:117:
[ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_ess_scalinggroup.go:345:
[ERROR] terraform-provider-alicloud/alicloud/service_alicloud_slb.go:270:
[ERROR] terraform-provider-alicloud/alicloud/service_alicloud_slb.go:54: ResourceNotfound!!! [SDK alibaba-cloud-sdk-go ERROR]:
The specified Slb lb-gs5pjk7mw3xp3fo7oe5w8 is not found.
on .terraform/modules/haproxy.ess/terraform/Alicloud/compute/ess/main.tf line 2, in resource "alicloud_ess_scaling_group" "scaling_group":
2: resource "alicloud_ess_scaling_group" "scaling_group" {
Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_ess_scalinggroup.go:117:
[ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_ess_scalinggroup.go:345:
[ERROR] terraform-provider-alicloud/alicloud/service_alicloud_slb.go:270:
[ERROR] terraform-provider-alicloud/alicloud/service_alicloud_slb.go:54: ResourceNotfound!!! [SDK alibaba-cloud-sdk-go ERROR]:
The specified Slb lb-dj19k5q8eyh6vbvpdgoj5 is not found.
on .terraform/modules/iis_cluster_beijing.ess_iis/terraform/Alicloud/compute/ess/main.tf line 2, in resource "alicloud_ess_scaling_group" "scaling_group":
2: resource "alicloud_ess_scaling_group" "scaling_group" {
Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_ess_scalinggroup.go:117:
[ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_ess_scalinggroup.go:345:
[ERROR] terraform-provider-alicloud/alicloud/service_alicloud_slb.go:270:
[ERROR] terraform-provider-alicloud/alicloud/service_alicloud_slb.go:54: ResourceNotfound!!! [SDK alibaba-cloud-sdk-go ERROR]:
The specified Slb lb-6nn1lpvsj82cu0fohxgv1 is not found
on .terraform/modules/iis_cluster_shanghai.ess_iis/terraform/Alicloud/compute/ess/main.tf line 2, in resource "alicloud_ess_scaling_group" "scaling_group":
2: resource "alicloud_ess_scaling_group" "scaling_group" {
HI @GabrielZabielski It seems like you used a incorrect region. Can you check it?
Hi there,
I'm according to similar issue: Load Balancer / Scaling Group association fails on first run vol.1
Terraform Version
Terraform v0.12.7
Terraform Configuration Files
Expected Behavior
Important Factoids
)Actual Behavior
Steps to Reproduce
terraform init && terraform apply
Important Factoids
Infrastructure with is created using main terraform modules, that creating same infrastructure returns another error:
References
preview issue