Commit Graph

43 Commits

Author SHA1 Message Date
Ludovico Magnocavallo
c8e4179f2b Add custom routes for directpath to net-vpc module (#2966)
* add custom routes for directpath to net-vpc module

* blueprint tests

* blueprint tests

* blueprint tests

* fast tests

* tfdoc

* module examples
2025-03-19 10:22:47 +00:00
Ludovico Magnocavallo
1a4b298cc9 Project factory additions, project module reuse implementation (#2899)
* add support for buckets

* add project-level interpolation for own SAs

* docs

* project reuse changes

* fix example

* tfdoc

* update check documentation tool

* fast tests

* blueprints

* typo
2025-02-15 20:37:45 +01:00
Julio Castillo
c0bf32e797 Refactor service agent management (#2423)
* Service agents script

* Service agents update

* WIP

* Update script and terraform

* Fix tests

* Fix linter

* Update docs

* Bring back pf example inventory

* Fix tests

* Fix more tests

* Fix tests

* Use dataclasses for build_service_agents.py

* Remove unneeded field() from build_service_agents

* Re-enable CMEK depends_on in project outputs

* Update tools/requirements.txt

* Enable storage in GCS example projects

* Fix tests

* Add CMEK Service Agents dependencies for services

* Fix typos and data platform cmek

* More typos
2024-07-23 22:05:38 +02:00
Julio Castillo
3af7e257d2 Add tflint to pipelines (#2220)
* Fix terraform_deprecated_index

https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.5.0/docs/rules/terraform_deprecated_index.md

* Fix terraform_deprecated_interpolation

Reference: https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.5.0/docs/rules/terraform_deprecated_interpolation.md

* Fix more indexing

* Remove unused variable

* Enable TFLint for modules

* Add tflint config file

* Fix chdir

* Lint modules

* TFLint fixes

* TFLint

* Fixes binauthz README

* Fixes DNS response policy tests. Restores MIG outputs.

* Fixes other DNS response policy tests.

* Update tests for fast 2-e

* Moar fixed tests

---------

Co-authored-by: Simone Ruffilli <sruffilli@google.com>
2024-04-17 10:23:48 +02:00
Ludovico Magnocavallo
9414779cc2 Allow multiple PSA service providers in net-vpc module (#2218)
* allowing multiple PSA service providers in net-vpc module

* tfdoc

* tfdoc

* Add tfvars/yaml tests

* fix module and tests

* re-enable inventory

* merge fix

* Add multiple PSA test case

* fix cloudsql example

---------

Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
2024-04-16 15:02:36 +00:00
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
luigi-bitonti
98accdb3ad Added PSC support to CloudSQL Module (#1874)
* Added Feature

* Added PSC to CloudSQL module

* Added psc to read replica

* Changed variables

* Updated README

* Ran fmt

* Removed old variables

* Fix README

* Fixed blueprints

* Fix README

* Fixed output

* Added more outputs and bug fixes

* Changed variable structure

* Bug fix

* Added PSC example.
2023-11-24 15:47:45 +01:00
Francesco Spinelli
1c2f1c7b0d Sql user features (#1856)
* added user type feature

* fix readme

* fix comment

* fix blueprint cloudsql users value + minor fix

* readme fix

* variables fix

* local var fix

* fix for in local var

* fix on readme

* fix intentations var in readme

* fix blueprint user quote

---------

Co-authored-by: Francesco Spinelli <francesco.spinelli@nttdata.com>
2023-11-13 10:27:14 +01:00
Julio Castillo
dfc5023e0b Make deletion protection consistent across all modules (#1735)
* Expose deletion_protection in GKE modules

* Make deletion protection consistent across all modules

* Add deletion_protection option to blueprints

* Fix blueprints tests

* Fix types

* Update READMEs

* Fix dp readme

* Fix cmek blueprint default deletion_protection

* Fix blueprints tests
2023-10-05 17:31:07 +02:00
Ludovico Magnocavallo
819894d2ba IAM interface refactor (#1595)
* IAM modules refactor proposal

* policy

* subheading

* Update 20230816-iam-refactor.md

* log Julio's +1

* data-catalog-policy-tag

* dataproc

* dataproc

* folder

* folder

* folder

* folder

* project

* better filtering in test examples

* project

* folder

* folder

* organization

* fix variable descriptions

* kms

* net-vpc

* dataplex-datascan

* modules/iam-service-account

* modules/source-repository/

* blueprints/cloud-operations/vm-migration/

* blueprints/third-party-solutions/wordpress

* dataplex-datascan

* blueprints/cloud-operations/workload-identity-federation

* blueprints/data-solutions/cloudsql-multiregion/

* blueprints/data-solutions/composer-2

* Update 20230816-iam-refactor.md

* Update 20230816-iam-refactor.md

* capture discussion in architectural doc

* update variable names and refactor proposal

* project

* blueprints first round

* folder

* organization

* data-catalog-policy-tag

* re-enable folder inventory

* project module style fix

* dataproc

* source-repository

* source-repository tests

* dataplex-datascan

* dataplex-datascan tests

* net-vpc

* net-vpc test examples

* iam-service-account

* iam-service-account test examples

* kms

* boilerplate

* tfdoc

* fix module tests

* more blueprint fixes

* fix typo in data blueprints

* incomplete refactor of data platform foundations

* tfdoc

* data platform foundation

* refactor data platform foundation iam locals

* remove redundant example test

* shielded folder fix

* fix typo

* project factory

* project factory outputs

* tfdoc

* test workflow: less verbose tests, fix tf version

* re-enable -vv, shorter traceback, fix action version

* ignore github extension warning, re-enable action version

* fast bootstrap IAM, untested

* bootstrap stage IAM fixes

* stage 0 tests

* fast stage 1

* tenant stage 1

* minor changes to fast stage 0 and 1

* fast security stage

* fast mt stage 0

* fast mt stage 0

* fast pf
2023-08-20 09:44:20 +02:00
Julio Castillo
612d7283e8 Enforce nonempty descriptions ending in a colon 2022-11-24 18:56:01 +01:00
Sebastian Kunze
e4fc47a063 Normalize prefix handling in blueprints (#1003) 2022-11-23 11:09:00 +01:00
Ludovico Magnocavallo
ed9fd6b08d Align documentation, move glb blueprint (#921)
* aling documentation, move glb blueprint

* modules README, sort modules

* reorder modules

* fix bp links

* fix moved blueprint test

* use a single cloud shell image in the repo
2022-10-26 14:31:04 +02:00
Julio Castillo
a988775c14 Do not modify in parameters in format_* functions 2022-10-20 18:56:54 +02:00
Natalia Strelkova
4ac24b68be random password: let the cloudsql module generate it 2022-10-15 20:16:50 +00:00
Ludovico Magnocavallo
4fa1dc431d Refactor net-vpc module for Terraform 1.3 (#880)
* module tests pass

* doc examples

* refactor blueprints

* fast stages

* fix comment typo

* fix module factory test
2022-10-14 11:02:33 +02:00
Julio Castillo
bb4aacd152 Update README.md 2022-10-11 15:25:27 +02:00
Julio Castillo
d8f0f7040f Revert "Fix cloud shell links"
This reverts commit 75a6dab413.
2022-10-11 15:16:38 +02:00
Julio Castillo
75a6dab413 Fix cloud shell links 2022-10-11 14:53:15 +02:00
Natalia Strelkova
d4a5354daf fixes: docker tag command and link to Cloud Shell 2022-10-11 14:22:04 +02:00
Natalia Strelkova
eb47e03d5d formatting 2022-10-07 13:31:15 +00:00
Natalia Strelkova
8eae3525b3 existing connector - variable 2022-10-07 13:29:55 +00:00
Natalia Strelkova
8a8a3fd76a firewall unnecessary 2022-10-07 13:13:15 +00:00
Natalia Strelkova
2f8a03a801 style and a note on password change 2022-10-07 09:46:39 +02:00
Natalia Strelkova
07f89e0aa0 connector creation in a variable 2022-10-07 06:37:07 +00:00
Natalia Strelkova
e9779e30ed locals moved to main 2022-10-07 06:28:05 +00:00
Natalia Strelkova
c770abd88d files restructured, connector added separately 2022-10-06 14:25:30 +00:00
Natalia Strelkova
aa3c6abcc2 explanation on accessing the installation 2022-10-06 13:43:31 +02:00
Natalia Strelkova
b6dcde6745 Info on the VPC serverless connector 2022-10-06 11:32:27 +02:00
Natalia Strelkova
c2056602e3 principals: rights list 2022-10-06 09:25:38 +00:00
Natalia Strelkova
c72d3555a3 principals varibale description: users 2022-10-06 09:10:40 +00:00
Natalia Strelkova
0411dbbd51 ip_ranges var 2022-10-06 07:58:48 +00:00
Natalia Strelkova
b11ae47738 passwords: either specified or random 2022-10-05 14:11:10 +00:00
Natalia Strelkova
b5a5150bb8 docker image tag added 2022-10-05 14:09:48 +00:00
Natalia Strelkova
dbdaeda376 style in locals 2022-09-21 13:46:38 +00:00
Natalia Strelkova
d95f5d948b more readability 2022-09-21 13:43:28 +00:00
Natalia Strelkova
0722f7d124 variables alphabetically 2022-09-21 13:38:52 +00:00
Natalia Strelkova
4379525718 typos and style corrections 2022-09-21 13:34:16 +00:00
Natalia Strelkova
9c8969cc65 one block for code instead of three 2022-09-20 09:27:06 +00:00
Natalia Strelkova
0b5b9c57d1 comments on separate lines 2022-09-20 07:55:06 +00:00
Natalia Strelkova
c811269850 more info in the readme (org. policy and other) 2022-09-15 16:17:24 +02:00
Eva
2330d3e6f5 Merge branch 'example-wordpress' of https://github.com/skalolazka/cloud-foundation-fabric into example-wordpress
getting
2022-09-15 13:03:33 +00:00
Natalia Strelkova
fa68ed4ce1 moving Wordpress to the right folder 2022-09-15 12:17:45 +00:00