cloud-foundation-fabric/modules/apigee-x-instance
Alex Lo 307bda4fed
apigee-x-instance.ip_range cannot take Support CIDR (#727)
* Instance.ip_range cannot take Support CIDR

Current docs are incorrect. It is not possible to specify the Support range.

See https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.instances#Instance

> ipRange	
> string
> Optional. IP range represents the customer-provided CIDR block of length 22 that will be used for the Apigee instance creation. This optional range, if provided, should be freely available as part of larger named range the customer has allocated to the Service Networking peering. If this is not provided, Apigee will automatically request for any available /22 CIDR block from Service Networking. The customer should use this CIDR block for configuring their firewall needs to allow traffic from Apigee. Input format: "a.b.c.d/22", Output format: a.b.c.d/22, e.f.g.h/28"

* tfdoc

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-08-11 09:55:39 +02:00
..
README.md apigee-x-instance.ip_range cannot take Support CIDR (#727) 2022-08-11 09:55:39 +02:00
main.tf Add `consumer_accept_list` to `apigee-x-instance` 2022-06-27 10:01:31 +02:00
outputs.tf add service_attachment to Apigee instance outputs 2022-05-03 17:02:57 +02:00
variables.tf apigee-x-instance.ip_range cannot take Support CIDR (#727) 2022-08-11 09:55:39 +02:00
versions.tf GKE hub module refactor (#760) 2022-07-29 08:39:25 +02:00

README.md

Google Apigee X Instance Module

This module allows managing a single Apigee X instance and its environment attachments.

Examples

Apigee X Evaluation Instance

module "apigee-x-instance" {
  source             = "./modules/apigee-x-instance"
  name               = "my-us-instance"
  region             = "us-central1"
  ip_range           = "10.0.0.0/22"

  apigee_org_id      = "my-project"
  apigee_environments = [
    "eval1",
    "eval2"
  ]
}
# tftest modules=1 resources=3

Apigee X Paid Instance

module "apigee-x-instance" {
  source              = "./modules/apigee-x-instance"
  name                = "my-us-instance"
  region              = "us-central1"
  ip_range            = "10.0.0.0/22"
  disk_encryption_key = "my-disk-key"

  apigee_org_id       = "my-project"
  apigee_environments = [
    "dev1",
    "dev2",
    "test1",
    "test2"
  ]
}
# tftest modules=1 resources=5

Variables

name description type required default
apigee_org_id Apigee Organization ID. string
name Apigee instance name. string
region Compute region. string
apigee_envgroups Apigee Environment Groups. map(object({…})) {}
apigee_environments Apigee Environment Names. list(string) []
consumer_accept_list List of projects (id/number) that can privately connect to the service attachment. list(string) null
disk_encryption_key Customer Managed Encryption Key (CMEK) self link (e.g. projects/foo/locations/us/keyRings/bar/cryptoKeys/baz) used for disk and volume encryption (required for PAID Apigee Orgs only). string null
ip_range Input: Customer-provided CIDR blocks of length 22 (e.g. 10.0.0.0/22) Output: Main and Support CIDR (e.g. 10.0.0.0/22,10.1.0.0/28). string null

Outputs

name description sensitive
endpoint Internal endpoint of the Apigee instance.
id Apigee instance ID.
instance Apigee instance.
port Port number of the internal endpoint of the Apigee instance.
service_attachment Resource name of the service attachment created for this Apigee instance.