Skip to content

[Bug]: codefresh_permission does not respect "related_resource" #148

Closed
@brunotorrente

Description

@brunotorrente

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"
    ]
}

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions