Pradeep Reddy
03/06/2023, 1:59 PMRB
03/06/2023, 2:08 PMDylan Page
03/06/2023, 3:29 PM################################################
# Get github IP range information for use w/ atlantis webhooks
################################################
provider "github" {}
data "github_ip_ranges" "github_cidrs" {}
# AWS doesn't support ipv6 so we have to filter them out
# <https://discuss.hashicorp.com/t/how-to-filter-out-ip4-and-ip6-subnets/22556/2>
ipv4_github_hooks = [for cidr in data.github_ip_ranges.github_cidrs.hooks : cidr if length(regexall("\\:", cidr)) == 0]
local.ipv4_github_hooks
to the ALB or the ALB's SGPradeep Reddy
03/06/2023, 4:07 PMwby
03/06/2023, 5:02 PMhooks_ipv4
attribute thatβs already ipv4 onlyDylan Page
03/06/2023, 5:08 PMwby
03/06/2023, 5:12 PMLuiz Silva
03/07/2023, 4:24 PMssh -vvv -T <http://github.com|github.com>
Then you need to allow the blocks in your SG.