@@ -126,36 +126,36 @@ func testAccCheckKafkaTopicInstanceExists(n string) resource.TestCheckFunc {
126126
127127const testAccKafkaTopicInstance = `
128128resource "tencentcloud_ckafka_topic" "kafka_topic" {
129- instance_id = "ckafka-f9ife4zz"
130- topic_name = "ckafka-topic-tf-test"
131- note = "this is test ckafka topic"
132- replica_num = 2
133- partition_num = 2
134- enable_white_list = true
135- ip_white_list = ["192.168.1.1"]
136- clean_up_policy = "delete"
137- sync_replica_min_num = 1
138- unclean_leader_election_enable = false
139- segment = 3600000
140- retention = 60000
141- max_message_bytes = 0
129+ instance_id = "ckafka-f9ife4zz"
130+ topic_name = "ckafka-topic-tf-test"
131+ note = "this is test ckafka topic"
132+ replica_num = 2
133+ partition_num = 2
134+ enable_white_list = true
135+ ip_white_list = ["192.168.1.1"]
136+ clean_up_policy = "delete"
137+ sync_replica_min_num = 1
138+ unclean_leader_election_enable = false
139+ segment = 3600000
140+ retention = 60000
141+ max_message_bytes = 0
142142}
143143`
144144
145145const testAccKafkaTopicInstanceUpdate = `
146146resource "tencentcloud_ckafka_topic" "kafka_topic" {
147- instance_id = "ckafka-f9ife4zz"
148- topic_name = "ckafka-topic-tf-test"
149- note = "this is test topic_update"
150- replica_num = 2
151- partition_num = 2
152- enable_white_list = true
153- ip_white_list = ["192.168.1.2"]
154- clean_up_policy = "compact"
155- sync_replica_min_num = 2
156- unclean_leader_election_enable = true
157- segment = 4000000
158- retention = 70000
159- max_message_bytes = 8388608
147+ instance_id = "ckafka-f9ife4zz"
148+ topic_name = "ckafka-topic-tf-test"
149+ note = "this is test topic_update"
150+ replica_num = 2
151+ partition_num = 2
152+ enable_white_list = true
153+ ip_white_list = ["192.168.1.2"]
154+ clean_up_policy = "compact"
155+ sync_replica_min_num = 2
156+ unclean_leader_election_enable = true
157+ segment = 4000000
158+ retention = 70000
159+ max_message_bytes = 8388608
160160}
161161`
0 commit comments