Commit Graph

5457 Commits

Author SHA1 Message Date
Dean Sorie b9f20d47c8
Added missing validation values for backend services (#2351) 2024-06-09 07:15:22 +00:00
Ludovico Magnocavallo 41e583ffc9
add network tags outputs and examples to project module (#2350) 2024-06-09 07:52:15 +02:00
Alberto Geniola 67754ca58e
Fix typos in documentation (#2344)
* Fix typos in documentation

* use toc

---------

Co-authored-by: Alberto Geniola <geniola@google.com>
Co-authored-by: Ludo <ludomagno@google.com>
2024-06-07 14:32:06 +00:00
Wiktor Niesiobędzki 0160392184 use /bin/sh for pre-commit script for portability 2024-06-07 08:15:33 +02:00
Alberto Geniola 61737c48a3
Change shebang on pre-commit checks (#2343)
Co-authored-by: Alberto Geniola <geniola@google.com>
2024-06-05 19:55:08 +02:00
simonebruzzechesse 1969b02ed8
Alloydb add support for psc (#2341)
* alloydb add support for psc
* add tag binding support

Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
2024-06-05 13:39:03 +02:00
Alberto Geniola c1e0788957
Fix wrong documentation reference to tfvars (#2340) 2024-06-04 16:23:08 +02:00
Ludovico Magnocavallo 795cb4a48d
enable stateful ha in gke cluster standard module (#2339) 2024-06-04 09:51:19 +02:00
Simone Ruffilli 22494c2f68
Update README.md 2024-06-04 07:42:48 +02:00
Wiktor Niesiobędzki ea564df648
Add documentation for load balancer changes (#2336)
---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2024-06-03 06:47:48 +00:00
Simone Ruffilli 3487cb8c71
DNS policy fix (#2337) 2024-06-03 08:25:35 +02:00
Ludo fea4bda764
update changelog 2024-06-01 16:37:20 +02:00
Ludovico Magnocavallo f9a433825f
Add perimeter ids in vpc-sc module outputs, fix vpc-sc in project factory module (#2335)
* add perimeter ids in vpc-sc module outputs, fix vpc-sc in project factory module

* tfdoc
2024-05-31 20:07:59 +02:00
Ludo 26357d9b0c
update resman IAM 2024-05-31 15:31:51 +02:00
Ludovico Magnocavallo 5cae3fd266
add support for iam to builtin tags (#2334) 2024-05-31 12:57:13 +00:00
Ludovico Magnocavallo d736a06c0b
Fix resman top-level folders variable types (#2333)
* fix resman top-level folders variable types

* pass logging settings to underlying module

* fix logging settings
2024-05-31 14:45:31 +02:00
Wiktor Niesiobędzki 1cc028c64b
Fix dns policy (#2332) 2024-05-31 11:27:31 +00:00
Ludovico Magnocavallo 460af6246c
enable hierarchy in fast project factory (#2331) 2024-05-31 11:11:12 +00:00
Julio Castillo ef7083799c
Update PGA domains (#2330)
* Update PGA domains

* Fix tests
2024-05-31 10:53:50 +00:00
Wiktor Niesiobędzki 49c1d60f67
Add outstanding checks from lint.sh to pre-commit (#2327)
* versions
* validate metadata
* check names
* check links
2024-05-31 10:22:21 +00:00
Ludo 0a105c98bd
update changelog 2024-05-31 11:14:31 +02:00
Simone Ruffilli 4901b4aee8
FAST: Enable networkconnectivity when using NCC-RA in 2-b (#2329) 2024-05-31 08:22:24 +00:00
Luca Prete eb5754e475
[FAST] Rename stage 2-networking-d-separate-envs to 2-netwroking-c-separate-envs (#2328)
Co-authored-by: Luca Prete <lucaprete@google.com>
2024-05-31 09:09:31 +03:00
Wiktor Niesiobędzki f8f18734f1
Add pre-commit hook configuration (#2326)
* Pre-commit config

Run following linters on commit:
Terraform:
- terraform fmt
- terraform tflint

Python specific:
- yapf

Shell scripts
- shellcheck
- shfmt

YAML files:
- yamllint (disabled as of now)
- check-yaml

Other:
- end-of-file-fixer
- trailing-whitespace fixer

Fabric specific
- tools/tfdoc.py
- tools/check_boilerplate.py

* linting fixes

* Fix boilerplate check
2024-05-30 19:35:09 +02:00
Julio Castillo 23b256ac25
Fix restrictAllowedGenerations org policy example (#2325)
Fixes #2323
2024-05-30 12:19:24 +00:00
simonebruzzechesse 941a35ab69
Fixed e2e tests for alloydb module (#2321)
* fixed e2e tests for alloydb module
2024-05-30 11:41:15 +02:00
Wiktor Niesiobędzki d1ec3b0499
Fixes for Alloydb E2E tests (#2312)
* Fixes for Alloydb E2E tests

* too long project name in Sipmle example resulted in:
```
Error: "***-alloydb-prj" name must be 4 to 30 characters with lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point.
```

* using self_link resulted in:
```
Error: Error creating Cluster: googleapi: Error 499: malformed network path: "https://www.googleapis.com/compute/v1/projects/***/global/networks/e2e-test"
```

* Cross region replication stil fails with:
```
│ Error: Error creating cluster. Can not create secondary cluster without secondary_config field.
│
│   with module.alloydb.google_alloydb_cluster.secondary[0],
│   on /usr/local/google/home/wiktorn/git/cloud-foundation-fabric/modules/alloydb/main.tf line 199, in resource "google_alloydb_cluster" "secondary":
│  199: resource "google_alloydb_cluster" "secondary" {
```

* Fix tests

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2024-05-29 14:46:15 +00:00
Julio Diez c205a692a3
Kong Gateway on GKE offloading to Cloud Run (#2299)
* First working version including certificates and HTTPS.

It uses a mix of self-managed certificates and the CA Service.

* One CR service only behind the ILB

* Functional deployment including auto-configuration

A k8s job configures the root certificate, service and route in the admin
api to reach the CR service via Kong proxy.

* Admin API exposed internally only, and some cleanup

* Some name changes

* README

* Remove data source for the vpc and subnet

* Remove data source for Kubernetes services

* Update README

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2024-05-29 16:26:25 +02:00
fulyagonultas 0d60e39aee
resource_labels added to the node_config nodepool (#2317)
* resource_labels added to the node_config nodepool

* labels added to the gke standard module

* labels set to mandatory

* Updating variables names

* Fix nodepool label variables defaults

* Fix tests

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2024-05-29 14:56:15 +02:00
Peter Brumblay 772a555b05
Pbrumblay/clarify org policy tags (#2319)
* fix: clarify org policy tag limitations

* fix: use a more generic term to describe binding possibilities

---------

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2024-05-29 06:19:39 +00:00
Simone Ruffilli 532f1ecfc4
Merge FAST C and E network stages into a new B stage. (#2309)
Merge FAST C and E network stages into a new B stage.
2024-05-28 17:27:28 +02:00
Simone Ruffilli 9e1008dcca
FAST: Obsolete assets cleanup (#2315)
Remove obsolete assets
2024-05-28 09:35:13 +00:00
Wiktor Niesiobędzki cf31d83b15 Explicit YAPF style 2024-05-28 10:53:13 +02:00
dibaskar-google 3d668170e5
Secret manager e2etests (#2280)
secret-manager e2e tests
2024-05-28 09:28:08 +02:00
simonebruzzechesse f4f891d4f1
Gitlab Runner blueprint (#2106)
* add gitlab runner blueprint

* use secret manager to store auth token
small updates and improvements
2024-05-27 10:34:34 +02:00
Simone Ruffilli 1f15c5123f
Update README.md 2024-05-27 07:52:28 +02:00
Ludo ab45e8c1ba
update changelog 2024-05-25 14:38:55 +02:00
Ludovico Magnocavallo c80af8de66
Extend support for tag bindings to more modules (#2307)
* fix kms tag bindings

* bigquery dataset

* fix bigquery

* cloud run

* normalize variable type

* rename gcs heading

* kms example test

* fix bigquery

* fix cloud run

* cloud run v2
2024-05-25 10:42:45 +02:00
Ludo 735fd79cce
update changelog 2024-05-24 14:41:28 +02:00
Wiktor Niesiobędzki a3295ae731 Add regional PSC addresses to output 2024-05-24 12:56:28 +02:00
Wiktor Niesiobędzki 439e9a1af9 Internet NEG for net-lb-proxy-int 2024-05-24 12:56:28 +02:00
Simone Ruffilli 11050c46cf
FAST MT: Readme updates and more prefix validation (#2305)
This change documents the process of deploying FAST on a tenant-factory bootstrapped tenant.

It also fixes changes the validation logic for prefix as follows:

- 0-bootstrap: 9 chars or less
- 1-resman/1-tenant-factory: 9 chars or less if ran at org-level, else 11
- else 11

It also uniforms across all stages the variables.tf and variables-fast.tf breakdown.
2024-05-24 12:01:55 +02:00
Ludovico Magnocavallo 5068cd9170
remove default location from remaining modules (#2304) 2024-05-24 09:20:53 +02:00
Ludovico Magnocavallo dc686c3a84
Remove default location from gcs module (#2303)
* gcs module

* blueprints/apigee/bigquery-analytics

* tfdoc

* pubsub README md syntax
2024-05-24 07:02:33 +00:00
Wiktor Niesiobędzki af814505be
Add AlloyDB service for e2e tests harness (#2302) 2024-05-23 11:44:40 +02:00
Ludo c128f4c110
Merge branch 'master' of github.com:GoogleCloudPlatform/cloud-foundation-fabric 2024-05-23 09:46:32 +02:00
Ludo 3cfd312e32
update changelog 2024-05-23 09:46:26 +02:00
Simone Ruffilli 3fe754167e FAST: Clarify max prefix len for tenant factory 2024-05-23 09:43:23 +02:00
Simone Ruffilli b55e9320ca
Update README.md 2024-05-23 08:44:07 +02:00
Ludovico Magnocavallo 980011806c
fix permadiff in cloud nat module (#2301) 2024-05-23 08:38:03 +02:00