This repository was archived by the owner on Sep 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ data "aws_vpc" "batcave_vpc" {
88# private subnets
99data "aws_subnets" "private" {
1010 filter {
11- name = " tag:Name"
11+ name = " tag:Name"
1212 values = [
1313 " ${ var . project } -*-${ var . env } -private-*"
1414 ]
@@ -18,7 +18,7 @@ data "aws_subnets" "private" {
1818# public subnets
1919data "aws_subnets" "public" {
2020 filter {
21- name = " tag:Name"
21+ name = " tag:Name"
2222 values = [
2323 " ${ var . project } -*-${ var . env } -public-*"
2424 ]
@@ -28,7 +28,7 @@ data "aws_subnets" "public" {
2828# container subnets
2929data "aws_subnets" "container" {
3030 filter {
31- name = " tag:Name"
31+ name = " tag:Name"
3232 values = [
3333 " ${ var . project } -*-${ var . env } -unroutable-*"
3434 ]
@@ -38,7 +38,7 @@ data "aws_subnets" "container" {
3838# transport subnets
3939data "aws_subnets" "transport" {
4040 filter {
41- name = " tag:Name"
41+ name = " tag:Name"
4242 values = [
4343 " ${ var . project } -*-${ var . env } -transport-*"
4444 ]
@@ -72,4 +72,15 @@ data "aws_ec2_managed_prefix_list" "vpn_prefix_list" {
7272
7373data "aws_ec2_managed_prefix_list" "cmscloud_shared_services_pl" {
7474 name = " cmscloud-shared-services"
75- }
75+ }
76+
77+ data "aws_security_group" "cms_security_tools" {
78+ # Allow trendmicro to push updates, among other things (probably)
79+ vpc_id = data. aws_vpc . batcave_vpc . id
80+ filter {
81+ name = " tag:Name"
82+ values = [
83+ " cmscloud-security-tools"
84+ ]
85+ }
86+ }
Original file line number Diff line number Diff line change @@ -51,3 +51,7 @@ output "cmscloud_vpn_pl" {
5151output "cmscloud_shared_services_pl" {
5252 value = data. aws_ec2_managed_prefix_list . cmscloud_shared_services_pl . id
5353}
54+
55+ output "cmscloud_security_tools_sg" {
56+ value = data. aws_security_group . cms_security_tools . id
57+ }
You can’t perform that action at this time.
0 commit comments