Hello all,
I ask for help, because I do not understand where is the problem, I use an example from the documentation, but something is still wrong.
I have this code:
resource "genesyscloud_flow" "abwurf_ausfuehren" {
filepath = "Migration/test_abwurfAusfuehren_v27-0.yaml"
file_content_hash = filesha256("Migration/test_abwurfAusfuehren_v27-0.yaml")
}
But when I make terraform plan I received this error:
Error in function call
│
│ on migration.tf line 308, in resource "genesyscloud_flow" "abwurf_ausfuehren":
│ 308: file_content_hash = filesha256("Migration/test_abwurfAusfuehren_v27-0.yaml")
│ ├────────────────
│ │ while calling filesha256(path)
│
│ Call to function "filesha256" failed: open
│ Migration/test_abwurfAusfuehren_v27-0.yaml:
│ no such file or directory.
╵
Operation failed: failed running terraform plan
Best regards
Mariia