-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
26 lines (13 loc) · 981 Bytes
/
Copy pathREADME
File metadata and controls
26 lines (13 loc) · 981 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
This is confluent cloud provisioning demo
# Steps to run for cluster provisioning
1. Initiatilize Terraform
terraform init --upgrade
This command will refer to main.tf for the appropriate variables to use, such as versions, before initialising the Terraform client.
2. Gather Cloud API Key and Cloud API Key Secret.
3. Use the key and secret to provision the cluster with the command below
terraform apply -var="confluent_cloud_api_key=PUT_YOUR_CLOUD_API_KEY_HERE" -var="confluent_cloud_api_secret=PUT_YOUR_CLOUD_API_SECRET"
4. Destroy Cluster
terraform destroy -var="confluent_cloud_api_key=PUT_YOUR_CLOUD_API_KEY_HERE" -var="confluent_cloud_api_secret=PUT_YOUR_CLOUD_API_SECRET"
# References
- Confluent Terraform Documentation : https://registry.terraform.io/providers/confluentinc/confluent/latest/docs
- Encryption at rest : https://docs.confluent.io/cloud/current/clusters/byok/byok-aws.html#using-the-confluent-cli-to-encrypt-clusters-using-your-own-key