From 221c6c92075873c9d4fa3ea520375e5b28f7534b Mon Sep 17 00:00:00 2001 From: Olaf Gradin Date: Thu, 22 Sep 2022 06:30:27 -0400 Subject: [PATCH 1/2] Changing deprecated body output to response_body per http provider docs --- outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.tf b/outputs.tf index 8aaaa02..d7f6c92 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,4 +1,4 @@ output address { - value = data.http.ip_address.body + value = data.http.ip_address.response_body description = "External IP address" } From fb4504c4a585495ce59b0b3806aef6458318f224 Mon Sep 17 00:00:00 2001 From: Olaf Gradin Date: Mon, 10 Apr 2023 17:31:10 -0400 Subject: [PATCH 2/2] Increment dot-release versions for deprecation notices --- .pre-commit-config.yaml | 2 +- README.md | 2 +- example/main.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4817a6d..d674e7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,6 @@ repos: - id: trailing-whitespace - id: detect-private-key - repo: git://github.com/4ops/pre-commit-hooks - rev: v1.0.0 + rev: v1.1.0 hooks: - id: terraform-fmt diff --git a/README.md b/README.md index 6428586..048977a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Setup modules in `main.tf`: ```terraform module myip { source = "4ops/myip/http" - version = "1.0.0" + version = "1.1.0" } resource aws_security_group allow_ssh { diff --git a/example/main.tf b/example/main.tf index 29e0a31..2d9b55a 100644 --- a/example/main.tf +++ b/example/main.tf @@ -9,7 +9,7 @@ terraform { module myip { source = "../" # source = "4ops/myip/http" - # version = "1.0.0" + # version = "1.1.0" } resource aws_security_group allow_ssh {