cloud-foundation-fabric/modules/apigee-x-instance
Ludovico Magnocavallo e8056577ce
Refactor GKE nodepool and blueprints (#875)
* first shot, untested

* example tests working

* module tests

* work on gke blueprints

* multitenant fleet doc examples

* fix gke hub doc examples

* blueprint tests

* move master range to vpc config

* fast stage 3 gke test

* tfdoc

* bump provider versions

* and bump provider again to latest
2022-10-12 12:59:36 +02:00
..
README.md Test documentation examples in the examples/ folder 2022-09-06 17:46:09 +02:00
main.tf Add `consumer_accept_list` to `apigee-x-instance` 2022-06-27 10:01:31 +02:00
outputs.tf
variables.tf apigee-x-instance.ip_range cannot take Support CIDR (#727) 2022-08-11 09:55:39 +02:00
versions.tf Refactor GKE nodepool and blueprints (#875) 2022-10-12 12:59:36 +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             = "./fabric/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              = "./fabric/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.