cloud-foundation-fabric/modules
Ludovico Magnocavallo ed9fd6b08d
Align documentation, move glb blueprint (#921)
* aling documentation, move glb blueprint

* modules README, sort modules

* reorder modules

* fix bp links

* fix moved blueprint test

* use a single cloud shell image in the repo
2022-10-26 14:31:04 +02:00
..
__experimental Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
api-gateway Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
apigee-organization Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
apigee-x-instance Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
artifact-registry Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
bigquery-dataset Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
bigtable-instance Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
billing-budget Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
binauthz Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
cloud-config-container SimpleNVA: updated example 2022-10-25 18:09:31 +02:00
cloud-function Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
cloud-identity-group Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
cloud-run Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
cloudsql-instance Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
compute-mig Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
compute-vm Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
container-registry Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
data-catalog-policy-tag Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
datafusion Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
dns Update README 2022-10-25 16:08:17 +02:00
endpoints Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
folder Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
gcs Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
gke-cluster Merge branch 'master' into ludo/gke-autopilot-datapath 2022-10-25 23:24:20 +02:00
gke-hub Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
gke-nodepool Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
iam-service-account Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
kms Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
logging-bucket Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-address Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-cloudnat Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-glb Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-ilb Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-ilb-l7 Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-interconnect-attachment-direct Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-vpc Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-vpc-firewall Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-vpc-peering Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-vpn-dynamic Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-vpn-ha Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
net-vpn-static Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
organization Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
organization-policy Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
project Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
projects-data-source Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
pubsub Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
secret-manager Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
service-directory Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
source-repository Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
vpc-sc Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
README.md Align documentation, move glb blueprint (#921) 2022-10-26 14:31:04 +02:00

README.md

Terraform modules suite for Google Cloud

The modules collected in this folder are designed as a suite: they are meant to be composed together, and are designed to be forked and modified where use of third party code and sources is not allowed.

Modules try to stay close to the low level provider resources they encapsulate, and they all share a similar interface that combines management of one resource or set or resources, and the corresponding IAM bindings.

Authoritative IAM bindings are primarily used (e.g. google_storage_bucket_iam_binding for GCS buckets) so that each module is authoritative for specific roles on the resources it manages, and can neutralize or reconcile IAM changes made elsewhere.

Specific modules also offer support for non-authoritative bindings (e.g. google_storage_bucket_iam_member for service accounts), to allow granular permission management on resources that they don't manage directly.

These modules are not necessarily backward compatible. Changes breaking compatibility in modules are marked by major releases (but not all major releases contain breaking changes). Please be mindful when upgrading Fabric modules in existing Terraform setups, and always try to use versioned references in module sources so you can easily revert back to a previous version. Since the introduction of the moved block in Terraform we try to use it whenever possible to make updates non-breaking, but that does not cover all changes we might need to make.

These modules are used in the examples included in this repository. If you are using any of those examples in your own Terraform configuration, make sure that you are using the same version for all the modules, and switch module sources to GitHub format using references. The recommended approach to working with Fabric modules is the following:

  • Fork the repository and own the fork. This will allow you to:

    • Evolve the existing modules.
    • Create your own modules.
    • Sync from the upstream repository to get all the updates.
  • Use GitHub sources with refs to reference the modules. See an example below:

    module "project" {
        source              = "github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/project?ref=v13.0.0"
        name                = "my-project"
        billing_account     = "123456-123456-123456"
        parent              = "organizations/123456"
    }
    

Foundational modules

Networking modules

Compute/Container

Data

Development

Security

Serverless