Está me aparecendo um erro no main.tf do DEV, não consigo resolver, segue imagens:
ValidationError
You must use a valid fully-formed launch template. Value () for parameter groupid is invalid. The value cannot be empty
cb5978fd-2d3e-4c82-8e35-169bd15c940c
<: timestamp=2023-09-19T10:37:52.553-0300
2023-09-19T10:37:52.553-0300 [INFO] provider.terraform-provider-aws_v3.76.1_x5: 2023/09/19 10:37:52 [DEBUG] [aws-sdk-go] DEBU G: Validate Response autoscaling/CreateAutoScalingGroup failed, attempt 0/25, error ValidationError: You must use a valid
full y-formed launch template. Value () for parameter groupId is invalid. The value cannot be empty status code: 400, request id: cb5978fd-2d3e-4c82-8e35-169bd15c940c: timestamp=2023-09-19T10:37:52.553-0300
2023-09-19T10:37:52.556-0300 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot 2023-09-19T10:37:52.556-0300 [ERROR] vertex "module.aws-dev.aws_autoscaling_group.grupo1" error: Error creating Auto Scaling G roup: ValidationError: You must use a valid fully-formed launch template. Value () for parameter groupId is invalid. The value
cannot be empty status code: 400, request id: cb5978fd-2d3e-4c82-8e35-169bd15c940c
Error: Error creating Auto Scaling Group: ValidationError: You must use a valid fully-formed launch template. Value () for p
arameter groupId is invalid. The value
cannot be empty
status code: 400, request id: cb5978fd-2d3e-4c82-8e35-169bd15c940c
Error: Error creating Auto Scaling Group: ValidationError: You must use a valid fully-formed launch template. Value () for p arameter groupId is invalid. The value cannot be empty status code: 400, request id: cb5978fd-2d3e-4c82-8e35-169bd15c940c
with module.aws-dev.aws_autoscaling_group.grupo1, on ../../infra/main.tf line 32, in resource "aws_autoscaling_group" "grupo1": 32: resource "aws_autoscaling_group" "grupo1" {
2023-09-19T10:37:52.558-0300 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2023-09-19T10:37:52.560-0300 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicor p/aws/3.76.1/linux_amd64/terraform-provider-aws_v3.76.1_x5 pid=104192 2023-09-19T10:37:52.560-0300 [DEBUG] provider: plugin exited [root@CentOS-teste-geral Dev]#
</div>