Go to file
Deepak Kumar d62012cebc
Specify `docker_repository` field for google_cloudfunctions2_function (#1987)
* fix: allow configuring `docker_repository` for cloud-function2

When docker repository is not specified by default docker repository
`projects/PROJECT_ID/locations/REGION/repositories/gcf-artifacts` is used.
In such a case, terraform plan always generates a difference for `docker_repository`
field as the module passes null value but the tfstate file has the above specified
default value. This fix allows one to prevent unnecessary infrastructure change when
using the default repository as well as any user created repository.

* doc: updated README for cloud-function-v2

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2024-01-20 09:40:26 +00:00
.github Add version check 2023-12-27 08:40:23 +01:00
assets Align documentation, move glb blueprint (#921) 2022-10-26 14:31:04 +02:00
blueprints Fix Data platform foundation (#1992) 2024-01-20 08:49:46 +01:00
fast Fix Data platform foundation (#1992) 2024-01-20 08:49:46 +01:00
modules Specify `docker_repository` field for google_cloudfunctions2_function (#1987) 2024-01-20 09:40:26 +00:00
tests Fixed README and test for dns module 2024-01-18 19:04:03 +01:00
tools Add version check to tools/lint.sh (#1955) 2023-12-30 09:09:10 +01:00
.gitignore feat: enable mtls on external application application load balancer (#1979) 2024-01-17 06:24:54 +00:00
CHANGELOG.md update changelog 2024-01-18 10:06:46 +01:00
CONTRIBUTING.md Cleanup procedure after failed destroys 2023-11-30 18:50:37 +00:00
FABRIC-AND-CFT.md Separating GKE Standard and Autopilot Modules (#1330) 2023-04-21 12:08:13 +00:00
LICENSE Initial commit 2019-05-03 17:58:36 -04:00
README.md Added Cross-region internal application load balancer module 2024-01-16 17:54:50 +01:00
REFERENCES.md Update REFERENCES.md 2023-12-22 16:23:24 +01:00
default-versions.tf compute-vm: add resource manager tags support for instance templates (#1982) 2024-01-16 17:40:15 +00:00
diagram.svg FAST multitenant bootstrap and resource management, rename org-level FAST stages (#1052) 2023-02-04 15:00:45 +01:00

README.md

Cloud Foundation Fabric

Terraform Examples and Modules for Google Cloud

This repository provides end-to-end blueprints and a suite of Terraform modules for Google Cloud, which support different use cases:

  • organization-wide landing zone blueprint used to bootstrap real-world cloud foundations
  • reference blueprints used to deep dive on network patterns or product features
  • a comprehensive source of lean modules that lend themselves well to changes

The whole repository is meant to be cloned as a single unit, and then forked into separate owned repositories to seed production usage, or used as-is and periodically updated as a complete toolkit for prototyping. You can read more on this approach in our contributing guide, and a comparison against similar toolkits here.

Organization blueprint (Fabric FAST)

Setting up a production-ready GCP organization is often a time-consuming process. Fabric FAST aims to speed up this process via two complementary goals. On the one hand, FAST provides a design of a GCP organization that includes the typical elements required by enterprise customers. Secondly, we provide a reference implementation of the FAST design using Terraform.

Modules

The suite of modules in this repository are designed for rapid composition and reuse, and to be reasonably simple and readable so that they can be forked and changed where use of third party code and sources is not allowed.

All modules share a similar interface where each module tries to stay close to the underlying provider resources, support IAM together with resource creation and modification, offer the option of creating multiple resources where it makes sense (eg not for projects), and be completely free of side-effects (eg no external commands).

The current list of modules supports most of the core foundational and networking components used to design end-to-end infrastructure, with more modules in active development for specialized compute, security, and data scenarios.

Currently available modules:

For more information and usage examples see each module's README file.

End-to-end blueprints

The blueprints in this repository are split in several main sections: networking blueprints that implement core patterns or features, data solutions blueprints that demonstrate how to integrate data services in complete scenarios, cloud operations blueprints that leverage specific products to meet specific operational needs and factories that implement resource factories for the repetitive creation of specific resources, and finally GKE, serverless, and third-party solutions design blueprints.