For this section of the lab:
4.2.3. Open the terraform/modules/transform_job/glue.tf
file. Complete the code following the instructions and save changes.
And in this section
Set “–ingest_date” to the server’s current date in Pacific Time (UTC-7), in “yyyy-mm-dd” format.
# (replace the placeholder <PACIFIC-TIME-CURRENT-DATE>)
"--ingest_date" = "<PACIFIC-TIME-CURRENT-DATE>"
I am getting an error on the timestamp format.
Error: Invalid function argument
│
│ on modules/transform_job/glue.tf line 25, in resource “aws_glue_job” “json_transformation_job”:
│ 25: “–ingest_date” = formatdate(“yyyy-MM-dd”, timestamp())
│ ├────────────────
│ │ while calling formatdate(format, time)
│
│ Invalid value for “format” parameter: invalid date format verb “yyyy”.
╵
╷
│ Error: Invalid function argument
│
│ on modules/transform_job/glue.tf line 65, in resource “aws_glue_job” “songs_transformation_job”:
│ 65: “–ingest_date” = formatdate(“yyyy-MM-dd”, timestamp())
│ ├────────────────
│ │ while calling formatdate(format, time)
│
│ Invalid value for “format” parameter: invalid date format verb “yyyy”.
Waht should I put in the “–ingest_date” = ?