-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from cisagov/improvement/vpc-endpoints
Add VPC endpoints
- Loading branch information
Showing
15 changed files
with
646 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Allow ingress via HTTPS from the desktop gateway security group | ||
resource "aws_security_group_rule" "ingress_from_desktop_gw_to_cloudwatch_via_https" { | ||
provider = aws.provisionassessment | ||
|
||
security_group_id = aws_security_group.cloudwatch.id | ||
type = "ingress" | ||
protocol = "tcp" | ||
source_security_group_id = aws_security_group.desktop_gateway.id | ||
from_port = 443 | ||
to_port = 443 | ||
} | ||
|
||
# Allow ingress via HTTPS from the operations security group | ||
resource "aws_security_group_rule" "ingress_from_operations_to_cloudwatch_via_https" { | ||
provider = aws.provisionassessment | ||
|
||
security_group_id = aws_security_group.cloudwatch.id | ||
type = "ingress" | ||
protocol = "tcp" | ||
source_security_group_id = aws_security_group.operations.id | ||
from_port = 443 | ||
to_port = 443 | ||
} | ||
|
||
# Allow ingress via HTTPS from the PenTest Portal security group | ||
resource "aws_security_group_rule" "ingress_from_pentestportal_to_cloudwatch_via_https" { | ||
provider = aws.provisionassessment | ||
|
||
security_group_id = aws_security_group.cloudwatch.id | ||
type = "ingress" | ||
protocol = "tcp" | ||
source_security_group_id = aws_security_group.pentestportal.id | ||
from_port = 443 | ||
to_port = 443 | ||
} | ||
|
||
# Allow ingress via HTTPS from the Debian Desktop security group | ||
resource "aws_security_group_rule" "ingress_from_debiandesktop_to_cloudwatch_via_https" { | ||
provider = aws.provisionassessment | ||
|
||
security_group_id = aws_security_group.cloudwatch.id | ||
type = "ingress" | ||
protocol = "tcp" | ||
source_security_group_id = aws_security_group.debiandesktop.id | ||
from_port = 443 | ||
to_port = 443 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.