From 2fac83b8860b6228094bf3ee5b7d2d90e1528f3f Mon Sep 17 00:00:00 2001 From: Nick <95832227+trumpeteraser@users.noreply.github.com> Date: Sun, 28 Apr 2024 17:03:00 -0400 Subject: [PATCH] Update Step_11.md Lines 17 & 26: attribute "body" is deprecated. Updated to "response_body" --- workbook/Step_11.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workbook/Step_11.md b/workbook/Step_11.md index df5c4b9..fa26a99 100644 --- a/workbook/Step_11.md +++ b/workbook/Step_11.md @@ -14,7 +14,7 @@ resource "aws_security_group_rule" "sg-ssh" { from_port = 22 to_port = 22 protocol = "tcp" - cidr_blocks = ["${chomp(data.http.myip.body)}/32"] + cidr_blocks = ["${chomp(data.http.myip.response_body)}/32"] security_group_id = aws_security_group.work-sg.id } @@ -23,7 +23,7 @@ resource "aws_security_group_rule" "sg-rdp" { from_port = 3389 to_port = 3389 protocol = "tcp" - cidr_blocks = ["${chomp(data.http.myip.body)}/32"] + cidr_blocks = ["${chomp(data.http.myip.response_body)}/32"] security_group_id = aws_security_group.work-sg.id }