22// Redpanda Agent security group
33// -----------------------------
44resource "aws_security_group" "redpanda_agent" {
5- name_prefix = " ${ var . common_prefix } agent-"
5+ name_prefix = " ${ var . common_prefix } - agent-"
66 description = " Redpanda agent VM"
77 vpc_id = aws_vpc. redpanda . id
88 ingress = []
@@ -22,7 +22,7 @@ resource "aws_security_group" "redpanda_agent" {
2222// Connectors security group
2323// -----------------------------
2424resource "aws_security_group" "connectors" {
25- name_prefix = " ${ var . common_prefix } connect-"
25+ name_prefix = " ${ var . common_prefix } - connect-"
2626 description = " Redpanda connectors nodes"
2727 vpc_id = aws_vpc. redpanda . id
2828 lifecycle {
@@ -44,7 +44,7 @@ resource "aws_security_group_rule" "connectors" {
4444// Utility security group
4545// -----------------------------
4646resource "aws_security_group" "utility" {
47- name_prefix = " ${ var . common_prefix } util-"
47+ name_prefix = " ${ var . common_prefix } - util-"
4848 description = " Redpanda utility nodes"
4949 vpc_id = aws_vpc. redpanda . id
5050 lifecycle {
@@ -66,7 +66,7 @@ resource "aws_security_group_rule" "utility" {
6666// Redpanda Node Group security group
6767// ----------------------------------
6868resource "aws_security_group" "redpanda_node_group" {
69- name_prefix = " ${ var . common_prefix } rp-"
69+ name_prefix = " ${ var . common_prefix } - rp-"
7070 description = " Redpanda cluster nodes"
7171 vpc_id = aws_vpc. redpanda . id
7272 lifecycle {
@@ -108,7 +108,7 @@ resource "aws_security_group_rule" "redpanda_node_group" {
108108// Cluster security group
109109// -----------------------------
110110resource "aws_security_group" "cluster" {
111- name_prefix = " ${ var . common_prefix } cluster-"
111+ name_prefix = " ${ var . common_prefix } - cluster-"
112112 description = " EKS cluster security group"
113113 vpc_id = aws_vpc. redpanda . id
114114 lifecycle {
@@ -160,7 +160,7 @@ resource "aws_security_group_rule" "cluster_egress_nodes_kubelet" {
160160// Node security group
161161// -----------------------------
162162resource "aws_security_group" "node" {
163- name_prefix = " ${ var . common_prefix } node-"
163+ name_prefix = " ${ var . common_prefix } - node-"
164164 description = " EKS node shared security group"
165165 vpc_id = aws_vpc. redpanda . id
166166 lifecycle {
0 commit comments