│ Error: Invalid combination of arguments
│
│ with module.tf.aws_instance.lueim,
│ on module-tf/ec2_elastic_compute_cloud.tf line 1232, in resource "aws_instance" "lueim":
│ 1232: name = var.aws_instance_lueim_launch_template_0_name
│
│ "launch_template.0.name": only one of `launch_template.0.id,launch_template.0.name` can be specified, but `launch_template.0.id,launch_template.0.name` were specified.
General information:
Describe the bug:
when importing
aws_instance
created from a launch_template, both id and name are imported. But according to the doc, only one should be present https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#launch-template-specificationwe should only write one (id?)
Log message
Additional context