fix: no default tags exist

This commit is contained in:
Noah Masur 2024-05-05 22:53:07 -04:00
parent 0feb11b017
commit d07abccbce
No known key found for this signature in database

View File

@ -3,9 +3,9 @@ resource "aws_instance" "instance" {
instance_type = var.ec2_size instance_type = var.ec2_size
vpc_security_group_ids = [aws_security_group.instance.id] vpc_security_group_ids = [aws_security_group.instance.id]
tags = merge(local.default_tags, { tags = {
Name = "aws-nixos" Name = "aws-nixos"
}) }
lifecycle { lifecycle {
create_before_destroy = true create_before_destroy = true