vicrdguez / ccloud-tf-resource-access-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements

Name Version
azurerm 3.72.0
confluent 1.54.0

Providers

Name Version
confluent 1.54.0

Modules

Name Source Version
acls ./modules/acls n/a
credentials ./modules/credentials n/a
role_bindings ./modules/role-bindings n/a
topics ./modules/topics n/a

Resources

Name Type
confluent_environment.env data source
confluent_kafka_cluster.cluster data source

Inputs

Name Description Type Default Required
applications List of applications to manage. Applications can optionally define
permissions: Role-bindings for RBAC and ACLs. A new API Key and a new Service Account will be
created for each application on this list. The resulting credentials can be queried via terraform
outputs.
list(object({
name = string
rolebindings = list(object({
resource_type = string
name = string
role_name = string
}))
acls = list(object({
resource_type = string
resource_name = string
pattern_type = string
operation = string
permission = string
}))
}))
n/a yes
ccloud_api_key Confluent Cloud API Key string n/a yes
ccloud_api_secret Confluent Cloud API Secret string n/a yes
client_id The ID of the Client on Azure string n/a yes
client_secret The Secret of the Client on Azure string n/a yes
cluster_credentials Confluent Cloud cluster API Key and Secret
object({
api_key = string
api_secret = string
})
n/a yes
cluster_id The Confluent Cloud cluster you want to target for this deployment string n/a yes
environment_id The Confluent Cloud environment you want to target for this deployment string n/a yes
kafka_topics List of Topics and their configurations
list(object({
name = string
partitions = number
config = map(string)
consumer = optional(string)
producer = optional(string)
}))
n/a yes
key_vault_id Azure Key Vault ID used to store Confluent Cloud API Keys string n/a yes
service_account_prefix Name preffix for the Service Accounts created for each applications string "" no
service_account_suffix Name suffix for the Service Accounts created for each applications string "-sa" no
subscription_id Subscription ID on Azure string n/a yes
tenant_id The Azure tenant ID in which Subscription exists string n/a yes

Outputs

Name Description
acls Created ACLs
app_configs Application java configurations generated from the generated Service Accounts and API Keys
rolebindings Created RBAC rolebindings
topics Created topics

About


Languages

Language:HCL 100.0%