cloud-foundation-fabric/modules
simonebruzzechesse b6771ae7ad
fix cloud sql PSA after module upgrade (#2226)
* fix cloud sql PSA after module upgrade
add proxy subnet for ILB
* fix cloud run service accessible from public url in case the service is privately deployed
* add deletion_policy variable in psa_configs for net-vpc module
fix destroy issue with phpIPAM blueprint
2024-04-19 12:41:02 +02:00
..
__docs Updating cloud-run-v2 terraform and some typos (#2201) 2024-04-07 09:49:07 +00:00
__experimental_deprecated Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
analytics-hub feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
api-gateway feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
apigee Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
artifact-registry feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
bigquery-dataset feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
bigtable-instance feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
billing-account Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
binauthz Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
cloud-config-container feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-function-v1 Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
cloud-function-v2 Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
cloud-identity-group feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-run Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
cloud-run-v2 Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
cloudsql-instance Allow multiple PSA service providers in net-vpc module (#2218) 2024-04-16 15:02:36 +00:00
compute-mig Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
compute-vm Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
container-registry feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
data-catalog-policy-tag feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
data-catalog-tag feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
data-catalog-tag-template feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
dataform-repository feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
datafusion feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
dataplex feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
dataplex-datascan feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
dataproc Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
dns Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
dns-response-policy Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
endpoints feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
folder Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
gcs add support for tags to GCS module (#2213) 2024-04-11 13:19:05 +00:00
gcve-private-cloud Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
gke-cluster-autopilot added missing option for exclusion scope (#2224) 2024-04-18 14:12:16 +03:00
gke-cluster-standard added missing option for exclusion scope (#2224) 2024-04-18 14:12:16 +03:00
gke-hub feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
gke-nodepool feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
iam-service-account Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
kms Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
logging-bucket Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
ncc-spoke-ra Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-address feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-cloudnat feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-firewall-policy Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-ipsec-over-interconnect feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-lb-app-ext Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-lb-app-ext-regional Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-lb-app-int Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-lb-app-int-cross-region Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-lb-ext Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-lb-int Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-lb-proxy-int Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-swp Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-vlan-attachment Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
net-vpc fix cloud sql PSA after module upgrade (#2226) 2024-04-19 12:41:02 +02:00
net-vpc-firewall feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-vpc-peering feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-vpn-dynamic feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-vpn-ha feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-vpn-static feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
organization feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
project Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
project-factory Support automation/controlling projects and resources in project factory (#2162) 2024-03-19 15:50:06 +00:00
projects-data-source feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
pubsub feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
secret-manager feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
service-directory feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
source-repository feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
vpc-sc Add tflint to pipelines (#2220) 2024-04-17 10:23:48 +02:00
workstation-cluster feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02: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