UPD: removing timestamp from tags. store it only in outputs. this prevents resource tags from being updated

This commit is contained in:
xpk 2023-11-28 08:17:30 +08:00
parent e39ad9e1c4
commit 14aedda9a9
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -6,7 +6,6 @@ provider "aws" {
Project = var.project Project = var.project
Application = var.application Application = var.application
TerraformMode = "managed" TerraformMode = "managed"
LastUpdatedOn = formatdate("YYYY-MM-DD", timestamp())
TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}" TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}"
} }
} }
@ -23,4 +22,6 @@ terraform {
} }
} }
output "last-updated" {
value = timestamp()
}