Skip to content

Commit

Permalink
fix: allow egress to Puppetmaster for all VMs (jenkins-infra#562)
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal authored Aug 8, 2024
1 parent 055dc92 commit 92e4d1e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,15 @@ resource "aws_vpc_security_group_egress_rule" "allow_https_to_internet" {
ip_protocol = "tcp"
to_port = 443
}

resource "aws_vpc_security_group_egress_rule" "allow_puppet_to_puppetmaster" {
description = "Allow Puppet protocol to the Puppet master"
security_group_id = aws_security_group.unrestricted_http.id

# Ref. https://github.com/jenkins-infra/azure/blob/main/puppet.jenkins.io.tf
# TODO: automate retrieval of this IP with updatecli
cidr_ipv4 = "20.12.27.65/32"
from_port = 8140
ip_protocol = "tcp"
to_port = 8140
}

0 comments on commit 92e4d1e

Please sign in to comment.