cloud-foundation-fabric/modules
apichick 378960cfc6 Removed unnecessary try statements 2023-10-22 17:50:57 +02:00
..
__docs Add IAM variables template to ADR 2023-09-17 10:50:03 +02:00
__experimental versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
api-gateway versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
apigee Removed unnecessary try statements 2023-10-22 17:50:57 +02:00
artifact-registry versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
bigquery-dataset versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
bigtable-instance versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
billing-account versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
binauthz versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
cloud-config-container versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
cloud-function-v1 versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
cloud-function-v2 versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
cloud-identity-group versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
cloud-run versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
cloudsql-instance versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
compute-mig versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
compute-vm versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
container-registry versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
data-catalog-policy-tag versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
datafusion versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
dataplex versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
dataplex-datascan versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
dataproc versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
dns versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
dns-response-policy versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
endpoints versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
folder versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
gcs versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
gcve-private-cloud versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
gke-cluster-autopilot versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
gke-cluster-standard versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
gke-hub versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
gke-nodepool versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
iam-service-account versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
kms versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
logging-bucket versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
ncc-spoke-ra versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-address versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-cloudnat versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-firewall-policy versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-ipsec-over-interconnect versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-lb-app-ext versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-lb-app-int versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-lb-ext net-lb-ext: add support for multiple forwarding rules (IPs) and dual-stack (IPv4/IPv6) 2023-10-21 18:19:18 +02:00
net-lb-int versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-lb-proxy-int versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-swp versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-vlan-attachment versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-vpc versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-vpc-firewall versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-vpc-peering versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-vpn-dynamic versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-vpn-ha versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
net-vpn-static versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
organization versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
project versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
projects-data-source versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
pubsub versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
secret-manager versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
service-directory versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
source-repository versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
vpc-sc versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +02:00
README.md versions.tf maintenance + copyright notice bump (#1782) 2023-10-20 18:17:47 +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