Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 31, 2021
1 parent ff86722 commit 694e0b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions peer/data.self.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ data "aws_region" "self_current" {

data "aws_vpc" "self_vpc" {
provider = aws.self
id = var.self_vpc_id
id = var.vpc_id
}

data "aws_route_tables" "default_self_route_tables" {
provider = aws.self
vpc_id = var.self_vpc_id
vpc_id = var.vpc_id
filter {
name = "tag:Name"
values = ["*-private-*"]
Expand Down
12 changes: 11 additions & 1 deletion peer/requirements.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
# this throws a warning in 0.12
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
# configuration_aliases = [aws.self, aws.peer]
}
}
}

### only in 0.13+
##terraform {
## required_providers {
## aws = {
## source = "hashicorp/aws"
## configuration_aliases = [aws.self, aws.peer]
## }
## }
##}

0 comments on commit 694e0b8

Please sign in to comment.