Skip to content

centriascolocation/terraform-bitbucket-ip-addresses

Repository files navigation

terraform-bitbucket-ips

This Terraform module queries the URL "https://ip-ranges.atlassian.com/" and filters the IPv4 and IPv6 ranges.

usage

github

module "bitbucket_ips" {
  source  = "github.com/centriascolocation/terraform-bitbucket-ips"

  region = "eu-central-1"
  direction = "egress"
  product = "bitbucket"
}

terraform repository

module "bitbucket_ips" {
  source  = "centriascolocation/ip-addresses/bitbucket"
  version = "1.0.0"

  region = "eu-central-1"
  direction = "egress"
  product = "bitbucket"
}

Providers

Name Version
http 3.4.1

Modules

No modules.

Inputs

Name Description Type
direction Select egress or ingress string
product Select atlassian product, default is bitbucket string
region Get a list form specific region, default 'us-east-1' string

Outputs

Name Description
ip4_ranges
ip4_ranges = tolist([
"3.69.198.0/26",
"18.184.99.128/25",
"18.184.99.224/28",
"185.166.140.0/22",
"185.166.143.0/24",
"185.166.143.240/28",
])
ip6_ranges
ip6_ranges = tolist([
"2401:1d80:3210:5::/64",
"2401:1d80:3214:3::/64",
"2401:1d80:3214:4::/64",
"2401:1d80:3214:5::/64",
"2401:1d80:3218::/64",
"2401:1d80:3218:2::/64",
"2401:1d80:3218:5::/64",
"2401:1d80:321c:3::/64",
"2401:1d80:321c:4::/64",
])
ip_all_ranges Full list of all ip addresses, this includes ipv4 and ipv6 addresses and both directions ingress and egress
ip_all_ranges = tolist([
"3.26.128.128/26",
"3.69.198.0/26",
"3.101.177.128/26",
"3.251.213.64/26",
"13.52.5.0/25",
"13.52.5.96/28",
...
"2401:1d80:3210:5::/64",
"2401:1d80:3214:3::/64",
"2401:1d80:3214:4::/64",
"2401:1d80:3214:5::/64",
"2401:1d80:3218::/64",
"2401:1d80:3218:2::/64",
"2401:1d80:3218:5::/64",
"2401:1d80:321c:3::/64",
"2401:1d80:321c:4::/64",
])
items All items from http response body.

Maintainer

Name Company Contact
Dirk Piethan Centrias Colocation GmbH dirk@centrias.de
Christian Weirich Centrias Colocation christian@centrias.de

Support

Name Company Contact
Support Centrias Colocation GmbH support@centrias.net

About

This Terraform module queries the URL "https://ip-ranges.atlassian.com/" and filters the IPv4 and IPv6 ranges.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages