Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 1232bc2

Browse files
authored
BATIAI-347: Swapping cms security sg for a pl (#5)
1 parent d4c6a19 commit 1232bc2

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

main.tf

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,6 @@ data "aws_ec2_managed_prefix_list" "cmscloud_shared_services_pl" {
7474
name = "cmscloud-shared-services"
7575
}
7676

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-
}
77+
data "aws_ec2_managed_prefix_list" "cmscloud_security_tools" {
78+
name = "cmscloud-security-tools"
8679
}

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ output "cmscloud_shared_services_pl" {
5252
value = data.aws_ec2_managed_prefix_list.cmscloud_shared_services_pl.id
5353
}
5454

55-
output "cmscloud_security_tools_sg" {
56-
value = data.aws_security_group.cms_security_tools.id
55+
output "cmscloud_security_tools_pl" {
56+
value = data.aws_ec2_managed_prefix_list.cmscloud_security_tools.id
5757
}

0 commit comments

Comments
 (0)