Closed
Description
What happened?
codefresh_permission does not respect "related_resource"
Inserting the "related_resource" parameter in the codefresh_permission resource with the value "project" has no effect, the rule continues to be created for "related" pipelines.
No error messages are reported.
This occurs when creating permissions with a resource of type resource = "pipeline".
It should create the pipeline permission with informed project tags.
Version
Provider Codefresh 0.10.0
Terraform v1.9.1
Relevant Terraform Configuration
resource "codefresh_permission" "admin" {
team = codefresh_team.admin.id
resource = "pipeline"
action = "run"
related_resource = "project"
tags = [
"platform_project",
"test_project"
]
}