File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
managedkafka_create_cluster
managedkafka_create_topic Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 1717# [START managedkafka_create_cluster_parent]
1818# [START managedkafka_create_cluster]
1919resource "google_managed_kafka_cluster" "default" {
20+ project = data. google_project . default . project_id # Replace this with your project ID in quotes
2021 cluster_id = " my-cluster-id"
2122 location = " us-central1"
2223 capacity_config {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ resource "google_compute_network" "default" {
4848
4949# [START managedkafka_create_topic]
5050resource "google_managed_kafka_topic" "default" {
51- project = data. google_project . default . project_id
51+ project = data. google_project . default . project_id # Replace this with your project ID in quotes
5252 topic_id = " my-topic-id"
5353 cluster = google_managed_kafka_cluster. default . cluster_id
5454 location = " us-central1"
You can’t perform that action at this time.
0 commit comments