You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening an issue. Please provide the following information:
Terraform Version
terraform -v
Terraform v1.5.7
on darwin_arm64
+ provider registry.terraform.io/cyrilgdn/postgresql v1.21.0
Your version of Terraform is out of date! The latest version
is 1.6.1. You can update by downloading from https://www.terraform.io/downloads.html
Upgrading to the latest terraform version does not fix my issue
Affected Resource(s)
postgresql_grant
(possibly others, haven't checked)
Terraform Configuration Files
terraform {
required_providers {
postgresql={
source ="cyrilgdn/postgresql"
version ="~> 1.21.0"
}
}
}
provider"postgresql" {
host="127.0.0.1"port=5432database="postgres"username="postgres"password="postgres"connect_timeout=15sslmode="disable"
}
resource"postgresql_role""test" {
name="test"login=truepassword="test"
}
# Drop lines below after dropping the "test" tableresource"postgresql_grant""test" {
database="postgres"role="test"schema="public"object_type="table"objects=["test"]
privileges=["SELECT"]
}
Hi there,
Thank you for opening an issue. Please provide the following information:
Terraform Version
Upgrading to the latest terraform version does not fix my issue
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://pastebin.com/pt5V9ube
Panic Output
No panic
Expected Behavior
I expect the provider to silently ignore the resource removal since the ressource has already been removed when I dropped the table.
Actual Behavior
The module tried to remove the resource anyway and raised an error.
Steps to Reproduce
main.tf
fileImportant Factoids
I was able to reproduce this on a docker instance as well as on RDS
References
None, I looked for the error message
The text was updated successfully, but these errors were encountered: