cloud-foundation-fabric/modules
Julio Castillo dfed7cc5bd
Rename `modules/cloudsql-instance` deletion protection variables (#2135)
* Rename Cloud SQL deletion protection variables

* Fix tests
2024-03-06 10:44:54 +00:00
..
__docs Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
__experimental_deprecated Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
analytics-hub Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
api-gateway Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
apigee Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
artifact-registry Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
bigquery-dataset Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
bigtable-instance Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
billing-account Add support for billing budgets to project factory (#2112) 2024-02-27 18:13:49 +00:00
binauthz Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
cloud-config-container Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
cloud-function-v1 Add https security to cloud-functions-v1 module (#2118) 2024-02-28 21:20:56 +01:00
cloud-function-v2 Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
cloud-identity-group Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
cloud-run Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
cloud-run-v2 Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
cloudsql-instance Rename `modules/cloudsql-instance` deletion protection variables (#2135) 2024-03-06 10:44:54 +00:00
compute-mig Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
compute-vm Add support for PSC network attachments and interfaces in modules (#2125) 2024-03-04 10:12:11 +01:00
container-registry Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
data-catalog-policy-tag Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
data-catalog-tag Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
data-catalog-tag-template Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
dataform-repository Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
datafusion Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
dataplex Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
dataplex-datascan Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
dataproc Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
dns Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
dns-response-policy Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
endpoints Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
folder Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
gcs Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
gcve-private-cloud Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
gke-cluster-autopilot Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
gke-cluster-standard Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
gke-hub Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
gke-nodepool Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
iam-service-account Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
kms Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
logging-bucket Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
ncc-spoke-ra Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-address Add support for PSC network attachments and interfaces in modules (#2125) 2024-03-04 10:12:11 +01:00
net-cloudnat Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-firewall-policy fix pathexpand in firewall policy module (#2111) 2024-02-26 16:52:41 +01:00
net-ipsec-over-interconnect Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-lb-app-ext Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-lb-app-ext-regional Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-lb-app-int Define service attachment interface for lb modules and implement in internal LBs (#2122) 2024-03-02 18:36:29 +00:00
net-lb-app-int-cross-region Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-lb-ext Define service attachment interface for lb modules and implement in internal LBs (#2122) 2024-03-02 18:36:29 +00:00
net-lb-int Define service attachment interface for lb modules and implement in internal LBs (#2122) 2024-03-02 18:36:29 +00:00
net-lb-proxy-int Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-swp Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-vlan-attachment Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-vpc Remove ignore_changes as terraform-provider-google#16804 is closed 2024-03-05 08:11:06 +01:00
net-vpc-firewall Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-vpc-peering Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-vpn-dynamic Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-vpn-ha Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
net-vpn-static Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
organization add links to factories doc (#2134) 2024-03-06 08:25:43 +01:00
project add links to factories doc (#2134) 2024-03-06 08:25:43 +01:00
project-factory add support for service account IAM variables to pf (#2130) 2024-03-05 13:13:02 +01:00
projects-data-source Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
pubsub Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
secret-manager Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
service-directory Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
source-repository Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
vpc-sc Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
workstation-cluster Factories refactor (#1843) 2024-02-26 10:16:52 +00:00
README.md Factories refactor (#1843) 2024-02-26 10:16:52 +00: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&depth=1"
        name                = "my-project"
        billing_account     = "123456-123456-123456"
        parent              = "organizations/123456"
    }
    

Foundational modules

Process factories

Networking modules

Compute/Container

Data

Development

Security

Serverless