[Bug]: aws_autosacling_group - validation desiredCapacityType incorrect #37523
Labels
bug
Addresses a defect in current functionality.
needs-triage
Waiting for first response or review from a maintainer.
service/autoscaling
Issues and PRs that pertain to the autoscaling service.
Terraform Core Version
1.5.7
AWS Provider Version
5.45.0, 5.46.0, 5.47.0, 5.48.0, 5.49.0
Affected Resource(s)
aws_autoscaling_group
Expected Behavior
examples as on https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group work
Actual Behavior
Validation error
Relevant Error/Panic Output Snippet
Terraform Configuration Files
see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group
Steps to Reproduce
apply
Debug Output
No response
Panic Output
No response
Important Factoids
The mention variable is optional, but the validation used makes it mandatory
References
https://github.com/hashicorp/terraform-provider-aws/blame/feecd0b738afe3275a54ce2f4c8d3dcb8414014d/internal/service/autoscaling/group.go#L106
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: