UPD: removed time-static and replaced with timestamp()
This commit is contained in:
parent
22a0f0980d
commit
7c06971fd3
@ -6,13 +6,12 @@ provider "aws" {
|
||||
Project = var.project
|
||||
Application = var.application
|
||||
TerraformMode = "managed"
|
||||
BuildDate = time_static.current_time.rfc3339
|
||||
LastUpdatedOn = formatdate("YYYY-MM-DD", timestamp())
|
||||
TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
resource "time_static" "current_time" {}
|
||||
|
||||
terraform {
|
||||
required_version = ">= 1.3"
|
||||
|
Loading…
Reference in New Issue
Block a user