terraform-aws-modules / terraform-aws-ec2-instance

Terraform module to create AWS EC2 instance(s) resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/ec2-instance/aws
Apache License 2.0
754 stars 1.87k forks source link

Name doesn't show up on console, no tag is assigned to the instance #301

Closed tanvp112 closed 1 year ago

tanvp112 commented 1 year ago

Hi,

Base on the source here https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/blob/master/main.tf#L140 the name (var.name) of the instance should show up on the EC2 console but it shown empty instead. Check at the instance tag it is all empty as well.

Is there other place to set the instance tag or this could be a bug? Does spot instance matter?

Thanks.

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.