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
Error: [DEBUG] Can't delete the ASGroup "d6a783f3-0171-4bc5-89a7-c3071f43b8ee": The instance number after the removal will less than the min number 1, modify the min number to zero first.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply -auto-approve
terraform destroy -auto-approve
The text was updated successfully, but these errors were encountered:
Fix issue with delete request in `as_group`
Summary of the Pull Request
Add update min_instance_number before delete
PR Checklist
Refers to: #529
Tests added/passed.
Documentation updated.
Schema updated.
Acceptance Steps Performed
=== RUN TestAccASV1Group_basic
--- PASS: TestAccASV1Group_basic (96.70s)
=== RUN TestAccASV1Group_RemoveWithSetMinNumber
--- PASS: TestAccASV1Group_RemoveWithSetMinNumber (150.02s)
PASS
Process finished with exit code 0
Reviewed-by: None <None>
Reviewed-by: Anton Sidelnikov <None>
Reviewed-by: Anton Kachurin <katchuring@gmail.com>
Terraform Version
0.12.27
Affected Resource(s)
Terraform Configuration Files
https://gist.github.com/outcatcher/ad0a98db81479060bc1123e69474a1dc
Expected Behavior
AS group deleted
Actual Behavior
Error: [DEBUG] Can't delete the ASGroup "d6a783f3-0171-4bc5-89a7-c3071f43b8ee": The instance number after the removal will less than the min number 1, modify the min number to zero first.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply -auto-approve
terraform destroy -auto-approve
The text was updated successfully, but these errors were encountered: