Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

Commit 010469d

Browse files
committed
Fixed deprecations for current region data source
1 parent 80bcd01 commit 010469d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
# -----------------------------------------------------------------------------
2424

2525
# data.aws_region._
26-
data "aws_region" "_" {
27-
current = true
28-
}
26+
data "aws_region" "_" {}
2927

3028
# -----------------------------------------------------------------------------
3129
# Data: GitHub

modules/webhook/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ provider "github" {
2828
# -----------------------------------------------------------------------------
2929

3030
# data.aws_region._
31-
data "aws_region" "_" {
32-
current = true
33-
}
31+
data "aws_region" "_" {}
3432

3533
# -----------------------------------------------------------------------------
3634
# Data: IAM

0 commit comments

Comments
 (0)