cloud-foundation-fabric/modules
Tone 2831af09fa
feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207)
* feat(gke-cluster-standard): Add optionnal `CiliumClusterWideNetworkPolicy`

Add `CiliumClusterWideNetworkPolicy` option on cluster.

Ref:
 - https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#enable_cilium_clusterwide_network_policy
 - https://cloud.google.com/kubernetes-engine/docs/how-to/configure-cilium-network-policy

* feat(gke-cluster-standard): Update Google provider to manage new feature

* feat(gke-cluster-standard): Move `cilium_clusterwide_network_policy` to `enable_features` field

* fix(scheduled-asset-inventory-export-bq): Set `dataset_id` with underscores

* fix(bigquery-dataset): Set `dataset_id` with underscores
2024-04-09 17:08:36 +02:00
..
__docs Updating cloud-run-v2 terraform and some typos (#2201) 2024-04-07 09:49:07 +00:00
__experimental_deprecated feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
binauthz feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-config-container feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-function-v1 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-function-v2 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-identity-group feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-run feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloud-run-v2 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
cloudsql-instance feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
compute-mig feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
compute-vm feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
dns feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
dns-response-policy feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
endpoints feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
folder feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
gcs feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
gcve-private-cloud feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
gke-cluster-autopilot feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
gke-cluster-standard feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02: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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
kms feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
logging-bucket feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
ncc-spoke-ra feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-lb-app-ext-regional feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-lb-app-int feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-lb-app-int-cross-region feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-lb-ext feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-lb-int feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-lb-proxy-int feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-swp feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-vlan-attachment feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +02:00
net-vpc feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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 feat(gke-cluster-standard): Add optional `CiliumClusterWideNetworkPolicy` (#2207) 2024-04-09 17:08:36 +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