Closed DevopsMercenary closed 1 year ago
Hi there,
Thank you for opening an issue. Please provide the following information:
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
terraform -v
Terraform v1.3.8 on darwin_amd64
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
resource "postgresql_grant" "pii-db-role-read-only-connect" { database = "my_database" role = "my_new_role" object_type = "database" privileges = ["CONNECT"] }
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.
crash.log
Expected the Grant to Be applied, per the documentation...
schema - The database schema to grant privileges on for this role (Required except if object_type is "database")
What actually happened?
│ Error: parameter 'schema' is mandatory for postgresql_grant resource
Please list the steps required to reproduce the issue, for example:
terraform apply
Maybe I should just set it to "" ?
I can't read my own code :-)
Hi there,
Thank you for opening an issue. Please provide the following information:
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Terraform v1.3.8 on darwin_amd64
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
Expected the Grant to Be applied, per the documentation...
Actual Behavior
What actually happened?
│ Error: parameter 'schema' is mandatory for postgresql_grant resource
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Maybe I should just set it to "" ?