mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 10:15:37 +00:00
fix: no default tags exist
This commit is contained in:
parent
0feb11b017
commit
d07abccbce
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user