cloud-foundation-fabric/modules
Roberto Jung Drebes 48fcfa8233
Merge branch 'master' into master
2022-08-24 16:23:03 +02:00
..
__experimental instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
api-gateway instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
apigee-organization instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
apigee-x-instance instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
artifact-registry instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
bigquery-dataset instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
bigtable-instance instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
billing-budget instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
binauthz instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
cloud-config-container Merge branch 'master' into master 2022-08-24 16:23:03 +02:00
cloud-function instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
cloud-identity-group instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
cloud-run typo fix (max_scale -> min_scale) 2022-08-23 15:43:07 +00:00
cloudsql-instance instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
compute-mig instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
compute-vm instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
container-registry instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
data-catalog-policy-tag instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
datafusion instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
dns instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
endpoints instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
folder instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
folders-unit instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
gcs instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
gke-cluster instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
gke-hub instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
gke-nodepool instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
iam-service-account instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
iot-core Simplify link checker and recurse into all elements with children (#599) 2022-03-28 16:54:06 +02:00
kms instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
logging-bucket instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
naming-convention instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-address instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-cloudnat instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-glb instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-ilb instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-ilb-l7 instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-interconnect-attachment-direct instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-vpc instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-vpc-firewall instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-vpc-peering instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-vpn-dynamic instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-vpn-ha instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
net-vpn-static instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
organization instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
organization-policy instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
project instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
projects-data-source instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
pubsub instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
secret-manager instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
service-directory instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
source-repository instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
vpc-sc instance_termination_action must be set for compute-vm spot instances (#778) 2022-08-20 18:37:17 +02:00
README.md Add refs to the readme files. 2022-07-06 20:05:38 +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