Skip to content

Commit 19fa2a6

Browse files
committed
Rename local tags to default tags
1 parent 495c563 commit 19fa2a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
locals {
2-
tags = {
2+
default_tags = {
33
Name = "gitlab-docker-runner"
44
ManagedBy = "Terraform"
55
}
@@ -21,7 +21,7 @@ resource "aws_key_pair" "this" {
2121
public_key = var.ssh_public_key
2222

2323
tags = merge(
24-
local.tags,
24+
local.default_tags,
2525
var.additional_tags,
2626
)
2727
}
@@ -37,7 +37,7 @@ resource "aws_instance" "this" {
3737
user_data = local.runner_user_data
3838
user_data_replace_on_change = true
3939
tags = merge(
40-
local.tags,
40+
local.default_tags,
4141
var.additional_tags,
4242
)
4343
}

0 commit comments

Comments
 (0)