Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error creating Entity Attributes 403 Forbidden: User is denied operation PUT on resource catalog/v1/entity/ #428

Open
mkazla opened this issue Sep 3, 2024 · 2 comments
Labels
question Further information is requested

Comments

@mkazla
Copy link

mkazla commented Sep 3, 2024

Hi Team,

Getting this issue while creating entity attributes

│ Error: error creating Entity Attributes 403 Forbidden: User is denied operation PUT on resource catalog/v1/entity/

 1: resource "confluent_catalog_entity_attributes" "entity_attribute" {

TF:

resource "confluent_catalog_entity_attributes" "entity_attribute" {
  entity_name = var.entity_name
  entity_type = var.entity_type
  attributes = {
    "owner"       = var.attribute_owner
    "description" = var.attribute_description
    "ownerEmail"  = var.owner_email
  }
}
@linouk23
Copy link
Contributor

linouk23 commented Sep 3, 2024

Thanks for creating the issue @mkazla!

It seems like an RBAC issue to me. AFAIK, Data Catalog operations for resource-level roles are not allowed. In other words, you might want to make sure your SR API Key belongs to a principal with at least the DataSteward role if you want to manage tags. You could also refer to the Confluent documentation for more details on stream catalog RBAC.

@linouk23 linouk23 added the question Further information is requested label Sep 3, 2024
@linouk23
Copy link
Contributor

@mkazla, could you confirm whether you were able to resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants