Sign in
Menu
Start free trial

Use this module

module "cgw" {
  source = "registry.compliance.tf/terraform-aws-modules/customer-gateway/aws"

  name = "test-cgw"

  customer_gateways = {
    IP1 = {
      bgp_asn    = 65112
      ip_address = "49.33.1.162"
    },
    IP2 = {
      bgp_asn    = 65112
      ip_address = "85.38.42.93"
    }
  }

  tags = {
    Test = "maybe"
  }
}

The example from the module's README, with this page's source.

Key inputs

Required inputs first, then the inputs the README example sets.

  • namestring, default ""

    Name to be used on all the resources as identifier

  • customer_gatewaysmap(map(any)), default {}

    Maps of Customer Gateway's attributes (BGP ASN and Gateway's Internet-routable external IP address)

  • tagsmap(string), default {}

    A mapping of tags to assign to all resources

All 4 inputs