{"id":17650221,"url":"https://github.com/mongey/terraform-provider-confluentcloud","last_synced_at":"2026-01-12T00:49:34.292Z","repository":{"id":37893787,"uuid":"226442063","full_name":"Mongey/terraform-provider-confluentcloud","owner":"Mongey","description":"A Terraform provider for managing resource in confluent.cloud","archived":false,"fork":false,"pushed_at":"2024-06-04T10:16:01.000Z","size":297,"stargazers_count":108,"open_issues_count":38,"forks_count":48,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-07T17:49:57.997Z","etag":null,"topics":["confluent-cloud","confluent-platform","kafka","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mongey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-07T02:07:42.000Z","updated_at":"2025-01-03T21:48:29.000Z","dependencies_parsed_at":"2024-06-18T21:36:30.563Z","dependency_job_id":"e585d968-5e5e-44a6-9764-adbfc9f40e9c","html_url":"https://github.com/Mongey/terraform-provider-confluentcloud","commit_stats":null,"previous_names":["mongey/terraform-provider-confluent-cloud"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mongey%2Fterraform-provider-confluentcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mongey%2Fterraform-provider-confluentcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mongey%2Fterraform-provider-confluentcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mongey%2Fterraform-provider-confluentcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mongey","download_url":"https://codeload.github.com/Mongey/terraform-provider-confluentcloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931391,"owners_count":21827104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["confluent-cloud","confluent-platform","kafka","terraform","terraform-provider"],"created_at":"2024-10-23T11:37:14.318Z","updated_at":"2026-01-12T00:49:34.253Z","avatar_url":"https://github.com/Mongey.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `terraform-plugin-confluentcloud`\n\nA [Terraform][1] plugin for managing [Confluent Cloud Kafka Clusters][2].\n\n## Installation\n\nDownload and extract the [latest release](https://github.com/Mongey/terraform-provider-confluentcloud/releases/latest) to\nyour [terraform plugin directory][third-party-plugins] (typically `~/.terraform.d/plugins/`) or define the plugin in the required_providers block.\n\n```hcl\nterraform {\n  required_providers {\n    confluentcloud = {\n      source = \"Mongey/confluentcloud\"\n    }\n  }\n}\n```\n\n## Example\n\nConfigure the provider directly, or set the ENV variables `CONFLUENT_CLOUD_USERNAME` \u0026`CONFLUENT_CLOUD_PASSWORD`\n\n```hcl\nterraform {\n  required_providers {\n    confluentcloud = {\n      source = \"Mongey/confluentcloud\"\n    }\n    kafka = {\n      source  = \"Mongey/kafka\"\n      version = \"0.2.11\"\n    }\n  }\n}\n\nprovider \"confluentcloud\" {\n  username = \"ccloud@example.org\"\n  password = \"hunter2\"\n}\n\nresource \"confluentcloud_environment\" \"environment\" {\n  name = \"production\"\n}\n\nresource \"confluentcloud_kafka_cluster\" \"test\" {\n  name             = \"provider-test\"\n  service_provider = \"aws\"\n  region           = \"eu-west-1\"\n  availability     = \"LOW\"\n  environment_id   = confluentcloud_environment.environment.id\n  deployment = {\n    sku = \"BASIC\"\n  }\n  network_egress  = 100\n  network_ingress = 100\n  storage         = 5000\n}\n\nresource \"confluentcloud_schema_registry\" \"test\" {\n  environment_id   = confluentcloud_environment.environment.id\n  service_provider = \"aws\"\n  region           = \"EU\"\n\n  # Requires at least one kafka cluster to enable the schema registry in the environment.\n  depends_on = [confluentcloud_kafka_cluster.test]\n}\n\nresource \"confluentcloud_api_key\" \"provider_test\" {\n  cluster_id     = confluentcloud_kafka_cluster.test.id\n  environment_id = confluentcloud_environment.environment.id\n}\n\nresource \"confluentcloud_service_account\" \"test\" {\n  name           = \"test\"\n  description    = \"service account test\"\n}\n\nlocals {\n  bootstrap_servers = [replace(confluentcloud_kafka_cluster.test.bootstrap_servers, \"SASL_SSL://\", \"\")]\n}\n\nprovider \"kafka\" {\n  bootstrap_servers = local.bootstrap_servers\n\n  tls_enabled    = true\n  sasl_username  = confluentcloud_api_key.provider_test.key\n  sasl_password  = confluentcloud_api_key.provider_test.secret\n  sasl_mechanism = \"plain\"\n  timeout        = 10\n}\n\nresource \"kafka_topic\" \"syslog\" {\n  name               = \"syslog\"\n  replication_factor = 3\n  partitions         = 1\n  config = {\n    \"cleanup.policy\" = \"delete\"\n  }\n}\n\noutput \"kafka_url\" {\n  value = local.bootstrap_servers\n}\n\noutput \"key\" {\n  value     = confluentcloud_api_key.provider_test.key\n  sensitive = true\n}\n\noutput \"secret\" {\n  value     = confluentcloud_api_key.provider_test.secret\n  sensitive = true\n}\n```\n\n## Importing existing resources\n\nThis provider supports importing existing Confluent Cloud resources via [`terraform import`][3].\n\nMost resource types use the import IDs returned by the [`ccloud`][4] CLI.\n`confluentcloud_kafka_cluster` and `confluentcloud_schema_registry` can be imported using `\u003cenvironment ID\u003e/\u003ccluster ID\u003e`.\n\n[1]: https://www.terraform.io\n[2]: https://confluent.cloud\n[3]: https://www.terraform.io/docs/cli/import/index.html\n[4]: https://docs.confluent.io/ccloud-cli/current/index.html\n[third-party-plugins]: https://www.terraform.io/docs/configuration/providers.html#third-party-plugins\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongey%2Fterraform-provider-confluentcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongey%2Fterraform-provider-confluentcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongey%2Fterraform-provider-confluentcloud/lists"}