File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/resources/stackit_loadbalancer Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ resource "stackit_security_group" "target_sg" {
174
174
# This rule uses the computed `security_group_id` of the load balancer.
175
175
resource "stackit_security_group_rule" "allow_lb_ingress" {
176
176
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
177
- security_group_id = stackit_security_group.target_sg.id
177
+ security_group_id = stackit_security_group.target_sg.security_group_id
178
178
direction = "ingress"
179
179
protocol = {
180
180
name = "tcp"
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ resource "stackit_security_group" "target_sg" {
155
155
# This rule uses the computed `security_group_id` of the load balancer.
156
156
resource "stackit_security_group_rule" "allow_lb_ingress" {
157
157
project_id = " xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
158
- security_group_id = stackit_security_group. target_sg . id
158
+ security_group_id = stackit_security_group. target_sg . security_group_id
159
159
direction = " ingress"
160
160
protocol = {
161
161
name = " tcp"
You can’t perform that action at this time.
0 commit comments