locals { now_utc = timestamp() now_jst = timeadd(local.now_utc, "9h") datetime = formatdate("YYYYMMDDhhmmss", local.now_jst) } output "datetime"{ value = local.datetime }
locals { now_utc = timestamp() now_jst = timeadd(local.now_utc, "9h") datetime = formatdate("YYYYMMDDhhmmss", local.now_jst) } output "datetime"{ value = local.datetime }