Commit Graph

3876 Commits

Author SHA1 Message Date
Anton KOVACH 5cf60cbcf4
Fix Terraform formatting and add module_prefix attribute to modules_config (#1162)
* Fix Terraform formatting and add module/ prefix to path in 0-cicd-github repository population

fix the formatting of Terraform files and adds the module/ prefix to the module path in 0-cicd-github under repository population. Without proper formatting and module path, generated repositories may show formatting mismatches and examples in the README.md file may not run as expected.
The changes include updating the replace function with a new regular expression pattern to correctly apply the git source for modules and updating the each.value.file attribute to include the module/ prefix in the Terraform file path. This ensures that the examples in the README.md file work as intended and that the generated repositories follow best practices for Terraform code.

* revert modules/ prefix change

* Add module_prefix to modules_config

- Add module_prefix to modules_config
- Add example to Readme.md
- use module_prefix variable to specify the path

* fix tfdoc
2023-02-19 18:01:38 +01:00
Aleksandr Averbukh 0d0a2b4f81
Merge pull request #1163 from GoogleCloudPlatform/projects-ds-new-version
Projects-data-source module new version
2023-02-19 15:44:28 +01:00
Aleksandr Averbukh f16511b8da Fix typo in readme 2023-02-19 15:22:48 +01:00
Aleksandr Averbukh 07957ce839
Merge branch 'master' into projects-ds-new-version 2023-02-19 01:15:02 +01:00
Aleksandr Averbukh 4ad30b812b Fix tests for tf-cloud-dynamic-credentials blueprint 2023-02-19 01:14:24 +01:00
Aleksandr Averbukh 5250877946
Merge branch 'master' into projects-ds-new-version 2023-02-19 01:01:35 +01:00
Aleksandr Averbukh befc73ec12 feat: Update TFC+WIF blueprint with TFC Dynamic Credentials feature. 2023-02-19 00:51:49 +01:00
Aleksandr Averbukh ff4b2fffe2 Regenerate docs 2023-02-18 22:11:44 +01:00
Aleksandr Averbukh 8174890331 Sort variables 2023-02-18 22:04:40 +01:00
Aleksandr Averbukh 1c302c7ab3 TF formatting 2023-02-18 21:48:05 +01:00
Aleksandr Averbukh d970db0c79 Merge branch 'master' into projects-ds-new-version 2023-02-18 21:38:53 +01:00
Aleksandr Averbukh a497aef707 feat: new version of projects-data-source based on AssetInventory ds 2023-02-18 21:36:51 +01:00
Julio Diez bc6b89778c Update README 2023-02-17 20:01:49 +01:00
Julio Diez 559c44fce6 Access from another project, with VPC SC 2023-02-17 19:58:08 +01:00
Julio Diez de47f6077b Simplify some naming 2023-02-17 17:53:11 +01:00
Julio Diez c28039eaff Remove field, PGA is enabled by default 2023-02-17 17:41:29 +01:00
Julio Diez a77d7ea111 Add another GCP project to access CR from 2023-02-17 16:55:11 +01:00
Julio Diez 5e8b8d0290 Use case 2 image 2023-02-17 13:41:53 +01:00
Julio Diez 5b6ade4429 Keep test VM in main project even with onprem project 2023-02-17 13:35:53 +01:00
Julio Diez d31382994e Update README 2023-02-17 13:29:50 +01:00
Julio Diez 3cf536931d Update README 2023-02-17 13:26:26 +01:00
Julio Diez 25f243aa3d Update README to adapt to naming in projects 2023-02-17 13:22:20 +01:00
Julio Diez 46c041f59f Change naming from 'host' project to 'main' to avoid confusion 2023-02-17 13:15:58 +01:00
lcaggio 7c9841def9
Merge pull request #1161 from aymanfarhat/enhancement/dpf-df-doc
Additional documentation for the Data Platform Dataflow pipeline example
2023-02-16 20:09:52 +01:00
Ayman Farhat eac2065ae2 Update on docs wording 2023-02-16 17:04:05 +01:00
Ayman Farhat fcdadf521d Fix spelling mistake 2023-02-16 15:48:12 +01:00
Ayman Farhat a853dc4fe2 update Data Platform blueprint README with more example Dataflow commands 2023-02-16 15:45:20 +01:00
Wiktor Niesiobędzki e64e8db20d Allow additive IAM grants by robots name
Regreatablly member name will be known after apply, hence changes in the
tests
2023-02-16 14:39:21 +01:00
Julio Diez b5e51180e6 Add second use case description in README 2023-02-15 21:22:33 +01:00
Julio Diez a98248e32b Update README to reflect only private access is allowed 2023-02-15 20:53:58 +01:00
Julio Diez 9a46d0f2e6 Restrict traffic to internal sources 2023-02-15 20:45:10 +01:00
Julio Diez 30821ac58e Add first use case description in README 2023-02-15 20:44:22 +01:00
Julio Diez 15c8f92f46 Delete project resources without deleting the projects 2023-02-15 20:33:45 +01:00
Julio Diez 636a4cc01c Access CR from "onprem" environment 2023-02-15 13:37:16 +01:00
Ludovico Magnocavallo 36a7347744
FAST stage docs cleanup (#1145)
* top-level and stage 0

* stage 1

* net peering

* networking

* networking

* security

* gke, dp

* checks
2023-02-15 05:42:14 +00:00
Chema Polo e8334857ff
Update main.tf (#1158)
replaced .secondary_pod_range by var.pod_range.secondary_pod_range that is the object which contins create, cidr an name attributes.
2023-02-15 06:28:47 +01:00
Julio Diez d0934903aa Use a more curl friendly image 2023-02-14 12:57:43 +01:00
Julio Castillo 742b5bab62 Fix tfvars sample for fast bootstrap stage 2023-02-14 11:29:19 +02:00
lcaggio 13f2859e2f
Merge pull request #1156 from GoogleCloudPlatform/lcaggio/bq-max_time_travel_hours
Add 'max_time_travel_hours ' support on BQ module
2023-02-14 09:10:11 +01:00
lcaggio 7bbeac805e Add 'max_time_travel_hours ' on BQ module 2023-02-14 08:43:15 +01:00
lcaggio 603bb562d7
Merge pull request #1154 from GoogleCloudPlatform/lcaggio/workaround-9164
Workaround to mitigate provider issue 9164
2023-02-14 06:37:18 +01:00
Julio Diez 28f4c3170e Initial README 2023-02-13 21:57:54 +01:00
Julio Diez 92a57becd8 Accessing Cloud Run privately, first use case 2023-02-13 21:54:03 +01:00
Luca Prete 52468e6d0e net-ilb: add example about ref existing MIG example (#1151) 2023-02-13 21:47:33 +01:00
Ludovico Magnocavallo 57f43f0f1e Update README.md 2023-02-13 21:47:33 +01:00
Wiktor Niesiobędzki 3f0271480b Add documentation about JIT-ed service accounts 2023-02-13 21:47:33 +01:00
lcaggio ebc4bc51a5 Workaround to mitigate issue 9164 2023-02-13 15:25:24 +01:00
Julio Diez 48ffc9420f
Merge pull request #11 from GoogleCloudPlatform/master
Sync fork
2023-02-13 11:37:42 +01:00
James D'Alfonso 15487078d4 add missing iam properties to factory_subnets 2023-02-13 10:00:50 +01:00
Luca Prete 3a0a1e2f6d
net-ilb: add example about ref existing MIG example (#1151) 2023-02-11 17:45:16 +01:00