Skip to content

Commit fe93bbe

Browse files
committed
data/data/aws/vpc: Drop 'current' from aws_region
It's the default. The old parameter was deprecated before hashicorp/terraform-provider-aws@1cc81c92 (docs/data-source/aws_region: Remove now deprecated current argument, 2018-02-09, v1.9.0), and we're pinning 1.39.0 since ac5aeed (data/aws: bump aws provider, 2018-11-01, openshift#594). Changing this avoids: $ openshift-install --log-level=debug create cluster ... - Downloading plugin for provider "aws" (1.39.0)... ... Warning: module.vpc.data.aws_region.current: "current": [DEPRECATED] Defaults to current provider region if no other filtering is enabled ...
1 parent 31567af commit fe93bbe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

data/data/aws/vpc/common.tf

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Canonical internal state definitions for this module.
22
# read only: only locals and data source definitions allowed. No resources or module blocks in this file
3-
data "aws_region" "current" {
4-
current = true
5-
}
3+
data "aws_region" "current" {}
64

75
// Fetch a list of available AZs
86
data "aws_availability_zones" "azs" {}

0 commit comments

Comments
 (0)