For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex XDR

(Optional) Validate your network and proxy values

For custom outposts with custom networking (BYON) deployed with Terraform: optionally review the network and proxy values in the Terraform bundle before you deploy.

Before you run Terraform, you can review the network and proxy values in the template_params.tfvars file of the bundle that the wizard generates. The values must match what you entered in the Create Outpost wizard. Checking them first helps you catch mistakes before Terraform creates any resources.

Note: This topic applies only to custom outposts where Outpost networking is set to Custom, and you deploy with Terraform. If you chose Default or Egress routing off, skip this topic.

Step 1. Check the network block

The byon_config block contains the network that you entered on the Regional Settings page. The shape of the block differs for each CSP. Confirm that the IDs are the ones you entered in the wizard.

AWS

Each top-level key is a region. Each region has a VPC ID and one or more Availability Zone subnets. Each region must have at least one subnet.

byon_config = {
  "us-east-1" = {
    ec2_vpc_id = "vpc-0abc123def456789a"
    zones = {
      "us-east-1a" = { ec2_subnet_id = "subnet-0abc123def456789a" }
      "us-east-1b" = { ec2_subnet_id = "subnet-0def456789abcdef0" }
    }
  }
}
Azure

Each top-level key is an Azure location. The value contains the ARM resource IDs of the virtual network and the subnet for that region. The set of locations must be the same as the outpost's enabled locations.

byon_config = {
  "eastus" = {
    virtual_network_id = "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/virtualNetworks/<vnet>"
    subnet_id          = "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/virtualNetworks/<vnet>/subnets/<subnet>"
  }
}
GCP

The block contains one VPC self-link, from the Compute VPC ID field, and a map of subnetworks by region, from the Compute Subnetwork URI fields. The VPC must not be empty, and the map must contain at least one region.

byon_config = {
  compute_vpc_id = "projects/my-project/global/networks/my-vpc"
  subnets = {
    "us-central1" = {
      compute_subnet_id = "projects/my-project/regions/us-central1/subnetworks/my-subnet"
    }
  }
}

Step 2. Check the proxy block

The proxy_config block contains the Outbound proxy settings that you entered on the Global Settings page. If you left Outbound proxy off, the block contains only enabled = false, and you can skip this step.

If you turned on Outbound proxy, confirm that the block matches your proxy. The following examples show the shape of the block for each configuration.

Proxy with authentication, without TLS inspection:

Proxy with TLS inspection:

If you turned on SSL/TLS inspection, the ca_cert_content value is the CA certificate that you entered in the wizard, encoded in base64. You enter the certificate in the wizard in PEM format, and the bundle stores it as base64-encoded PEM, with no line breaks.

Encode a CA certificate in base64

If you need to replace the ca_cert_content value, encode your PEM certificate in base64 with the following command, and copy the output:

The output must be one line. Do not add the -----BEGIN CERTIFICATE----- header line or line breaks to the encoded value, because Terraform rejects the input at plan time.

What's next?

When the values are correct, deploy the outpost with Terraform. See Step 5. Execute the template in the CSP to deploy the outpost in Create a custom outpost.

Last updated

Was this helpful?