crossplane-contrib / provider-upjet-aws

AWS Provider for Crossplane.
https://marketplace.upbound.io/providers/upbound/provider-family-aws/
Apache License 2.0
147 stars 124 forks source link

Request for `ClusterPolicy.kafka` resource #1560

Open wotolom opened 2 weeks ago

wotolom commented 2 weeks ago

What resource do you need?

Terraform Resource Name: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/msk_cluster_policy

What is your use case?

We want to migrate our community provider MRs Cluster.kafka to the UXP counterpart. However we need to be able to create/edit the resource based policy of the MSK Cluster. (i.a. https://docs.aws.amazon.com/cli/latest/reference/kafka/put-cluster-policy.html) In the community provider the Cluster.kafka API has a field spec.parameters.clusterPolicy that allows to provide an inline policy document. The Terraform way of a separate resource works for us too, though we need to be able to provide the policy inline and not as json string or so. ;)