terraform-provider-redshift icon indicating copy to clipboard operation
terraform-provider-redshift copied to clipboard

issue while running the plan and apply

Open kanth1222 opened this issue 1 year ago • 1 comments

hi, I used your provider script is handy, but I have more than 200 users for each schema and I have more than 200 schemas it works fine for 30 schemas but when I am using it for more than 40schemas then terraform plans get stuck for more than 1 hr and falling. can you please help me to run more schemas I run terraform in my local and GitHub Actions and terraform.io seeing the same issue.

kanth1222 avatar Mar 30 '23 13:03 kanth1222

Hi, we have faced the same issues and they were fixed in v1.0.4 of the provider (fixing PR: https://github.com/brainly/terraform-provider-redshift/pull/101). It was caused by not cleaning up resources in the Go code (calling defer rows.Close()).

Please let me know which provider version are you using and if eventual upgrade helps with your problems.

winglot avatar Apr 04 '23 07:04 winglot