Skip to content

Commit c9540e4

Browse files
authored
msk: add permissions for msk data keep instance (#1084)
1 parent d7908aa commit c9540e4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
resource "kafka_acl" "msk_data_keep_read_topic_all" {
2+
resource_name = "*"
3+
resource_type = "Topic"
4+
acl_principal = "User:CN=pubsub/msk-data-keep"
5+
acl_host = "*"
6+
acl_operation = "Read"
7+
acl_permission_type = "Allow"
8+
}
9+
10+
resource "kafka_acl" "msk_data_keep_describe_group_all" {
11+
resource_name = "*"
12+
resource_type = "Group"
13+
acl_principal = "User:CN=pubsub/msk-data-keep"
14+
acl_host = "*"
15+
acl_operation = "Describe"
16+
acl_permission_type = "Allow"
17+
}
18+
19+
# Enable only when we need to restore
20+
#
21+
# resource "kafka_acl" "msk_data_keep_write_topic_all" {
22+
# resource_name = "*"
23+
# resource_type = "Topic"
24+
# acl_principal = "User:CN=pubsub/test-msk-backup-kafka-connect"
25+
# acl_host = "*"
26+
# acl_operation = "Write"
27+
# acl_permission_type = "Allow"
28+
# }

0 commit comments

Comments
 (0)