Commit Graph

347 Commits

Author SHA1 Message Date
Ludovico Magnocavallo f42b0f06e4
add billing IAM for billing group (#730) 2022-07-11 08:26:13 +02:00
Simone Ruffilli 0d9fac316a
FAST: Resman: Update billing.tf (#721)
* FAST: Resman: Update billing.tf

Add billing.costsManager to the PF SAs to allow it to create billing alerts.

* fix linting

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-07-06 16:10:14 +03:00
Michael Gfeller ea7827d1ad FAST - added missing format argument in branch-pf-dev-sa-cicd
In the module branch-pf-dev-sa-cicd, the calls to the "format" function were missing the argument var.automation.federated_identity_pool.
2022-07-05 11:44:33 +02:00
Ludovico Magnocavallo 8585852ae6
fix #714 (#715) 2022-07-05 09:46:53 +02:00
Ludovico Magnocavallo a3ea8bed8b wip 2022-07-05 10:07:50 +03:00
Ludovico Magnocavallo 9a3128e716 wip 2022-06-30 20:20:14 +02:00
Ludovico Magnocavallo 7b5ced7e15 stage 01 2022-06-30 18:22:57 +02:00
Ludovico Magnocavallo 7786dd3d90
Merge branch 'master' into fast/gke2 2022-06-30 11:30:52 +02:00
Ludovico Magnocavallo d6a81fb662 wip 2022-06-30 11:00:57 +02:00
Ludovico Magnocavallo ee7a615a58 Merge remote-tracking branch 'origin/master' into fast/gke2 2022-06-29 17:06:55 +02:00
Michael Gfeller c66bb0e1c3 Merge branch 'master' of https://github.com/GoogleCloudPlatform/cloud-foundation-fabric into mgfeller/fast-readme-tfvars-auto 2022-06-29 15:29:43 +02:00
Ludovico Magnocavallo 66c4fffd76
FAST: configuration switches for features (#703)
* example implementation of top-level switches

* data platform as a fast feature

* decouple teams and project factory

* teams disable fixes

* optional pf

* networking stage

* remove var from stage 2s, security
2022-06-28 17:33:37 +02:00
Julio Castillo 2da28e5954
Update CLEANUP.md 2022-06-28 11:28:57 +02:00
Michael Gfeller 34650ae621 FAST - updated some READMEs about usage of *.auto.tfvars files
Updated information about using the auto generated tfvars files in the "Variable configuration" section for some stages.
Mainly about using globals.auto.tfvars.json instead of copying terraform.tfvars from bootstrap stage.
2022-06-28 11:27:21 +02:00
Julio Castillo 07b00c34fe Bump providers versions and pin versions for tests 2022-06-28 10:20:40 +02:00
Michael Gfeller df9bdc2fb0
FAST - trigger GitHub workflow also on PR synchronize event (#702)
Add synchronize to the pull_request trigger so that the workflow is also run when the source branch is updated.
2022-06-27 10:13:41 +02:00
Ludovico Magnocavallo dfb447a2c4
Merge branch 'master' into fast/gke2 2022-06-23 13:50:28 +02:00
Ludovico Magnocavallo ed4b301a17 align subnets between vpn and peering network stages 2022-06-23 09:05:20 +02:00
Ludovico Magnocavallo fb1d31551f fix tfdoc 2022-06-23 08:55:28 +02:00
Ludovico Magnocavallo 744417f22f fix boilerplate 2022-06-23 08:52:36 +02:00
Ludovico Magnocavallo 666d8a469c
Merge branch 'master' into fast/gke2 2022-06-23 08:34:09 +02:00
Ludovico Magnocavallo f9775f61c9
Merge branch 'master' into lcaggio/data-p-200622 2022-06-23 08:11:47 +02:00
Ludovico Magnocavallo c59ce76e97
Add repository_owner to GitHub identity attributes (#699)
* add repository_owner to GitHub identity attributes

* fix errors on null identity provider custom settings
2022-06-23 08:06:25 +02:00
Lorenzo Caggioni b10d091a98 Fix README 2022-06-23 07:16:59 +02:00
Lorenzo Caggioni ceb611bb81 Remove custom role and rely on conditions. 2022-06-23 07:04:35 +02:00
lcaggio 5c653638bc
Merge branch 'master' into lcaggio/data-p-200622 2022-06-22 16:13:28 +02:00
Taneli Leppä c3fdc62ff2 Allow creating repositories in Gitlab via Terraform. 2022-06-21 15:12:03 +02:00
lcaggio d9ad654281
Merge branch 'master' into lcaggio/fix-readme-20220620 2022-06-21 07:54:42 +02:00
Alexander Meissner 9691577638
Fast/group creation gif (#676)
* Updated Readme with Group creation GIF

Added visual representation of checklist group creation.

* Update README.md

Added v1 version of group creation GIF.

* localize gif

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-06-21 07:19:52 +02:00
Lorenzo Caggioni 2ce4b002f1 Rename role 2022-06-20 22:23:18 +02:00
Lorenzo Caggioni 7625773dea Fix tests 2022-06-20 22:05:22 +02:00
Lorenzo Caggioni 0b6f98db78 Add output logic 2022-06-20 17:48:39 +02:00
Lorenzo Caggioni 6edc80e282 Update READMEs 2022-06-20 17:27:28 +02:00
Lorenzo Caggioni c464a3c8cc Improve KMS: add custom role to handle keys 2022-06-20 17:13:25 +02:00
Lorenzo Caggioni a1c61f089d Add location support 2022-06-20 15:21:03 +02:00
Lorenzo Caggioni d4eef71887 Fix links 2022-06-20 09:52:46 +02:00
Lorenzo Caggioni 26d8f0cf65 Fix stage-02 tfvars links 2022-06-20 09:11:09 +02:00
temiloluwa ademuwagun 4492b0cff7 corrected the wrong name reference 2022-06-17 10:36:19 +00:00
Antonio Lopez aaa2bf2aca
Merge branch 'master' into master 2022-06-17 09:57:58 +02:00
Ludovico Magnocavallo a09eb39a96 disable provider data source when not needed, explicitly depend on CI/CD SAs 2022-06-16 23:11:08 +02:00
Ludovico Magnocavallo a35ed1ca0f allow using cicd service accounts in build triggers 2022-06-16 22:16:43 +02:00
Ludovico Magnocavallo da17d57863 fix tfdoc 2022-06-16 21:59:44 +02:00
Ludovico Magnocavallo 2b61efb722 add project number to sgae 1 values 2022-06-16 21:57:09 +02:00
Ludovico Magnocavallo c87c645bf0 add missing try to stage 1 outputs 2022-06-16 21:56:48 +02:00
Ludovico Magnocavallo f163bad220 add automation project number to stage 0 outputs 2022-06-16 21:56:18 +02:00
agusramirez@google.com e3d91e84e4 sourcerepo and cloudbuild at 01-resman 2022-06-15 21:34:26 -05:00
agusramirez@google.com 2eb996d33d sourcerepo and cloudbuild at 01-resman 2022-06-15 19:12:11 -05:00
ajlopezn c91ec944f9 solved another link issue 2022-06-10 18:34:00 +02:00
Antonio Lopez 1a2bdcf6b7
Merge branch 'GoogleCloudPlatform:master' into master 2022-06-10 18:23:16 +02:00
ajlopezn 822e4b987a solved links issue 2022-06-10 18:21:44 +02:00
ajlopezn 4658e5faa7 added variables required to be modified before applying again 2022-06-10 17:29:04 +02:00
ajlopezn 8da7fbd351 cleanup reference in readme 2022-06-10 17:16:11 +02:00
ajlopezn a37af01203 fichero movido a fast/stages 2022-06-10 16:57:40 +02:00
ajlopezn 1dbd13fc4b fichero movido a fast/stages 2022-06-10 16:47:24 +02:00
Antonio Lopez a1a5011cd1
Update CLEANUP.md
link to gcloud beta compute shared-vpc associated-projects remove doc
2022-06-10 16:41:10 +02:00
Antonio Lopez 77f3048a8c
Update CLEANUP.md
include comments in PR
2022-06-10 16:34:46 +02:00
Antonio Lopez a262ed3941
Update CLEANUP.md 2022-06-10 16:20:29 +02:00
Antonio Lopez 21cfb69797
Update CLEANUP.md
delete spaces in headers
2022-06-10 16:03:10 +02:00
Julio Castillo 29ce5f666d Simplify log_sink local 2022-06-10 12:25:26 +02:00
Julio Castillo 0bf1880431 Fix FAST audit logs when using pubsub as destination
This commit also splits each organization-level logging sink of type
`logging` to a separate logging bucket.
2022-06-10 12:25:26 +02:00
Ludovico Magnocavallo f75c0021a1
fix #673 (#674) 2022-06-10 10:51:26 +02:00
Ludovico Magnocavallo bb3f55fe9e
Fix Gitlab WIF attributes (#671) 2022-06-09 08:31:50 +02:00
Julio Castillo f9b808b4bc Fix permissions and update NVA and peering net stages for gke 2022-06-08 11:42:04 +02:00
Daniel Marzini 259afec97d Leave MCS and MCI disabled 2022-06-08 11:42:04 +02:00
Julio Castillo 110d94067d Squashing relevant changes from fast-dev-gke-marzi
Co-authored-by: Daniel Marzini <dmarzi@google.com>
2022-06-08 11:42:04 +02:00
Julio Castillo d28dfc40b0 Enable GKE hub apis 2022-06-08 11:42:04 +02:00
Julio Castillo 66f87903a8 Enable GKE resource metering 2022-06-08 11:42:04 +02:00
Julio Castillo 9fabfafc63 Update gke stage to use contract setup 2022-06-08 11:42:02 +02:00
Julio Castillo a4c0b22f4e Move GKE example to dev 2022-06-08 11:41:52 +02:00
Julio Castillo 46af8fa72e Use new project-level robot bindings 2022-06-08 11:41:52 +02:00
Daniel Marzini 5ff2286378 clusters creation improvement (#509)
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
2022-06-08 11:41:52 +02:00
Julio Castillo 740288ea94 Remove old test project 2022-06-08 11:41:52 +02:00
Julio Castillo 801a5ed42d Add xpn admin to gke SAs on gke folders 2022-06-08 11:41:52 +02:00
Julio Castillo f3f9a4a88c GKE multitenant
Co-authored-by: Daniel Marzini <dmarzi@google.com>
2022-06-08 11:41:50 +02:00
Ludovico Magnocavallo 44ae2671b0
CI/CD support for Source Repository and Cloud Build (#669)
* add id to outputs

* initial cloud build implementation for stage 0

* comments

* stage 0

* stage 1, untested

* add support for IAM and CB triggers to source repository module

* refactor stage 0 to use sourcerepo module

* refactor stage 1 to use sourcerepo module

* file descriptions

* fix gitlab pipeline
2022-06-08 11:34:08 +02:00
Antonio Lopez 78becc22fa
Merge branch 'GoogleCloudPlatform:master' into master 2022-06-07 10:22:55 +02:00
Ludovico Magnocavallo 8040a4538c
clarify some admin bindings via comments (#663) 2022-06-05 19:48:26 +02:00
javiergp fa321fc67c
Update README.md (#667)
* Update README.md

Fixed VPC SC example

* Update README.md
2022-06-05 19:43:14 +02:00
Antonio Lopez 02f8986a1e
Update CLEANUP.md 2022-06-03 13:38:05 +02:00
Antonio Lopez 2ace596ca8
Update CLEANUP.md 2022-06-03 13:22:49 +02:00
Antonio Lopez 5701348d3d
Update CLEANUP.md 2022-06-03 13:21:30 +02:00
Antonio Lopez d7fd11b5fd
Update CLEANUP.md 2022-06-03 13:15:18 +02:00
Antonio Lopez 8d4ea4ec67
Update CLEANUP.md 2022-06-03 13:06:46 +02:00
Antonio Lopez 443a9b9538
Create CLEANUP.md
instructions to clean up FAST deployment
2022-06-03 13:02:42 +02:00
frits-v 9feb938bed
Update README.md (#653) 2022-05-12 08:01:18 +02:00
Ludovico Magnocavallo e3ea387f0f
fix subnet schema (#651) 2022-05-09 11:53:57 +02:00
Simone Ruffilli e9d06ba469 FAST: switch to SpotVM for NVAs 2022-05-04 09:59:47 +02:00
Ludovico Magnocavallo 1d7b442642
FAST - Refactor VPN tunnels (#644)
* tested

* tfdoc
2022-05-04 08:11:17 +02:00
Lorenzo Caggioni e487f8d731 Update naming convention 2022-04-21 23:53:16 +02:00
Alexander Meissner acd6719602
Adjusted Error Message of Supported Types 2022-04-19 11:10:21 +02:00
Alexander Meissner 7b30aa2c12
Added "gitlab" type to 01-resman Stage 2022-04-19 11:09:33 +02:00
Ludovico Magnocavallo 53fde432c4
Merge branch 'master' into alexmeissner/gitlab-template 2022-04-15 09:10:49 +02:00
Ludovico Magnocavallo 73a9136dc6
disable some org policies (#631) 2022-04-15 08:10:42 +02:00
Ludovico Magnocavallo 3b6de2531d tfdoc 2022-04-15 02:20:39 +02:00
Ludovico Magnocavallo 473178010a don't error out when no repositories are set 2022-04-15 02:19:46 +02:00
Alexander Meissner 74a919d203
Update variables.tf
Fixed formatting
2022-04-14 18:34:17 +02:00
alexmeissner 6df4fc1cff Added Gitlab CI Template
- Added Gitlab CI Template
- Changed Identify Provider settings
- Fixed incorrect outputs
- Enabled Gitlab
2022-04-14 18:23:22 +02:00
Aleksandr Averbukh 2e207eb3a5
Merge branch 'master' into psc_and_rlbproxy_subnets 2022-04-13 17:21:00 +02:00
Aleksandr Averbukh 73db258a38 Use new variable subnets_proxy_only instead of subnets_l7ilb for fast 2022-04-13 17:05:13 +02:00
Ludovico Magnocavallo eec0fd2fdf
FAST: allow changing tag names from variables in resman (#628) 2022-04-13 10:22:33 +02:00