Open mikerodionov opened 5 months ago
Hello,
I'm running into the same issue. If you try to refer to a resource instead of data with an existing quality profile the project association is going to fail, although it is probably not intended to use it that way.
Hi there,
Thank you for opening an issue.
Terraform Version
terraform -v output below
Terraform v1.6.6 on linux_amd64
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Provider should look up for existing profile by its name.
Actual Behavior
Terraform returns an error below - it looks like provider looks for project instead of quality profile (though putting into data block name value name of existing project does not change error).
Error: resourceSonarqubeQualityProfileRead: Failed to find project: example
Steps to Reproduce
Just try to use aforementioned data resource and run
terraform apply
References
n/a