Ao executar o terraform apply dentro da pasta de produção recebo o seguinte erro
Error: Invalid function argument │ │ on ../../infra/main.tf line 29, in resource "aws_key_pair" "chaveSSH": │ 29: public_key = file("${var.chave}.pub") │ ├──────────────── │ │ while calling file(path) │ │ var.chave is "IaC-Prod" │ │ Invalid value for "path" parameter: no file exists at "IaC-Prod.pub"; this function works only with files that are distributed as part of the configuration source code, so if this file will be created by a resource in this │ configuration you must instead obtain this result from an attribute of that resource.