Skip to content

Commit 30a2e96

Browse files
msk-stackitmarceljk
authored andcommitted
update example
1 parent df81c85 commit 30a2e96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/loadbalancer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ resource "stackit_security_group" "target_sg" {
174174
# This rule uses the computed `security_group_id` of the load balancer.
175175
resource "stackit_security_group_rule" "allow_lb_ingress" {
176176
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
178178
direction = "ingress"
179179
protocol = {
180180
name = "tcp"

examples/resources/stackit_loadbalancer/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ resource "stackit_security_group" "target_sg" {
155155
# This rule uses the computed `security_group_id` of the load balancer.
156156
resource "stackit_security_group_rule" "allow_lb_ingress" {
157157
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
159159
direction = "ingress"
160160
protocol = {
161161
name = "tcp"

0 commit comments

Comments
 (0)