Skip to content

Commit 7570066

Browse files
committed
adding vpc
1 parent 1aa342e commit 7570066

File tree

3 files changed

+50
-11
lines changed

3 files changed

+50
-11
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
data "aws_vpc" "account_vpc" {
3+
tags = {
4+
Component = "acct"
5+
}
6+
}
7+
8+
# data "aws_subnets" "account_vpc_private_subnets" {
9+
# filter {
10+
# name = "vpc-id"
11+
# values = [data.aws_vpc.account_vpc.id]
12+
# }
13+
14+
# tags = {
15+
# Tier = "Private"
16+
# }
17+
# }
18+
19+
# data "aws_security_group" "account_vpc_sg_allow_sftp_egress" {
20+
# vpc_id = data.aws_vpc.account_vpc.id
21+
22+
# tags = {
23+
# Name = "${data.aws_vpc.account_vpc.tags["Project"]}-${data.aws_vpc.account_vpc.tags["Environment"]}-acct-vpc-sftp-egress"
24+
# }
25+
# }
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
data "aws_vpc" "account_vpc" {
3+
tags = {
4+
Component = "acct"
5+
}
6+
}
7+
8+
# data "aws_subnets" "account_vpc_private_subnets" {
9+
# filter {
10+
# name = "vpc-id"
11+
# values = [data.aws_vpc.account_vpc.id]
12+
# }
13+
14+
# tags = {
15+
# Tier = "Private"
16+
# }
17+
# }
18+
19+
# data "aws_security_group" "account_vpc_sg_allow_sftp_egress" {
20+
# vpc_id = data.aws_vpc.account_vpc.id
21+
22+
# tags = {
23+
# Name = "${data.aws_vpc.account_vpc.tags["Project"]}-${data.aws_vpc.account_vpc.tags["Environment"]}-acct-vpc-sftp-egress"
24+
# }
25+
# }

infrastructure/terraform/modules/backend-api/variables.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,6 @@ variable "group" {
3232
description = "The group variables are being inherited from (often synonmous with account short-name)"
3333
}
3434

35-
36-
##
37-
# tfscaffold variables specific to this component
38-
##
39-
40-
variable "module" {
41-
type = string
42-
description = "The variable encapsulating the name of this module"
43-
default = "api"
44-
}
45-
4635
##
4736
# tfscaffold variables specific to this component
4837
##

0 commit comments

Comments
 (0)