confluentinc / terraform-provider-confluentcloud

Confluent Cloud Terraform Provider is deprecated in favor of Confluent Terraform Provider
https://registry.terraform.io/providers/confluentinc/confluentcloud/latest/docs
52 stars 23 forks source link

enable confluent cloud platform roles for role bindings in ccloud … #39

Closed ngapaillard closed 2 years ago

ngapaillard commented 2 years ago

Hi ! In our company we start to use RBAC with cloud platform predefined roles in our confluent cloud subscription. We'd like very much to provision it through terraform that is our reference provisionning tool. My modification was just to add new accepted roles in role validation. It seems to me that is enough because today the resource definition is done through crn pattern that seems very generic.

Please don't hesitate if you have any question or remarks.

linouk23 commented 2 years ago

Thanks for creating a PR @ngapaillard!

That sounds like a good idea, let's see whether we'll be able to include it in our next release which is about to happen.

FYI we'll be also introducing new rbac_crn attribute for a confluentcloud_kafka_cluster which should simplify the process of using crn_pattern attribute when creating confluentcloud_role_binding resource.

ngapaillard commented 2 years ago

Thanks for your reply, it's a very good news if it can be in the next release. And thanks for information about future usage of the provider. We will take care of that ;)

ngapaillard commented 2 years ago

Hi, Just for my information, do you have a due date for the next release ? Thanks,

linouk23 commented 2 years ago

Most likely it'll happen either today or on Monday, I'll keep you updated!

linouk23 commented 2 years ago

@ngapaillard check out 0.4.0 release and specifically this doc about confluentcloud_role_binding resource.

ngapaillard commented 2 years ago

Oh thanks, so fast ! We will implement it as soon, thanks again !

linouk23 commented 2 years ago

You're welcome! Please let us now if you run into any issues / have any ideas about making RBAC experience more seamless.