Closed seuros closed 1 year ago
1.4.4
resource "koyeb_service" "app-service" { app_name = koyeb_app.app.name definition { name = "web" instance_types { type = var.instance_type } ports { port = 80 protocol = "http" } routes { path = "/" port = 80 } scalings { min = 1 max = 1 } regions = ["fra"] docker { image = "nginx/nginx" } } depends_on = [ koyeb_app.app ] }
changing the var.instance_type to from micro to small should replace the service instance type without any downtime
The service is deleted and fail to be replaced as the name is still taken for few seconds.
Please list the steps required to reproduce the issue, for example:
terraform apply
Thanks for reporting this.
Fixed by #40
Terraform Version
1.4.4
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
changing the var.instance_type to from micro to small should replace the service instance type without any downtime
Actual Behavior
The service is deleted and fail to be replaced as the name is still taken for few seconds.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply