Commit Graph

219 Commits

Author SHA1 Message Date
Aurélien Legrand 5841c112d4
Merge branch 'master' into maunope/static_routes 2022-10-28 14:36:17 +02:00
Maurizio Noseda Pedraglio 5b3262172d Merge branch 'maunope/static_routes' of https://github.com/maunope/cloud-foundation-fabric into maunope/static_routes 2022-10-28 14:20:13 +02:00
Maurizio Noseda Pedraglio 561e113f61 added services to monitoring project 2022-10-28 14:19:26 +02:00
Brian Jung 1148a5fd24
Update README.md 2022-10-27 13:22:42 -04:00
Brian Jung 1ca493e3d7
Update main.tf
Added a terraform and provider block - terraform relies on plugins and following best practices to allow allowing the rightmost component of a version to increment. (https://developer.hashicorp.com/terraform/language/providers/requirements#version-constraints)

Also removed comment about it being ok to use project roles of monitoring viewer and compute networkViewer. (Look at Issue #922)
2022-10-27 13:17:20 -04:00
Ludovico Magnocavallo e20de3b86a
fix service account create (#923) 2022-10-27 15:12:04 +00:00
Ayman Farhat b021d84633
Fix formatting for gcloud dataflow job launch command (#924)
This fix is to prevent errors similar to "ERROR: (gcloud.dataflow.jobs.run) unrecognized arguments: df-loading@tf-pso-workshop-test.iam.gserviceaccount.com" when copy pasting the example code. Line 8 misses a space between the statement and line break, leading to missing a space between parameters when evaluated by the gcloud command.
2022-10-27 14:07:24 +00:00
Julio Castillo 2c83b9179a
Update README.md 2022-10-27 09:18:34 +02: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
apichick d9ccf04221
Added managed_prometheus to features (#906)
* Added managed_prometheus monitoring_config

* fix module

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-25 21:18:50 +00:00
Aleksandr Averbukh fbbded31e9 Merge branch 'master' into averbuks-tfe-oidc 2022-10-25 20:54:54 +02:00
Aleksandr Averbukh 77614191bb Added more attribute mappings, updated attribute condition and IAM binding for WIF 2022-10-25 20:53:14 +02:00
Aleksandr Averbukh cadaba8cac Add missing newlines 2022-10-25 13:07:05 +02:00
Aleksandr Averbukh 991cd1324d feat: TFE OIDC with GCP WIF blueprint added. 2022-10-25 13:04:27 +02:00
maunope ec7adc4bf1
Merge branch 'master' into maunope/static_routes 2022-10-25 12:40:36 +02:00
Julio Castillo 1a3bb25917 Update provider version (needed for dns logging support). 2022-10-25 12:15:02 +02:00
Julio Castillo 192edf2b75 Remove redundant ttls 2022-10-25 12:11:07 +02:00
Aurélien Legrand 1b19587f0c
Update README.md 2022-10-25 11:50:40 +02:00
Aurélien Legrand a9ca2f664f
Merge branch 'master' into maunope/static_routes 2022-10-25 11:41:40 +02:00
Maurizio Noseda Pedraglio 946868062c updated readme 2022-10-25 11:37:14 +02:00
aurelien.legrand01@gmail.com 0ffb08d89c Adding support for PSA ranges, starting with Redis instances. 2022-10-25 11:33:58 +02:00
lcaggio 13ae26deb2
Merge branch 'master' into lcaggio/fix-pipeline 2022-10-25 09:08:30 +02:00
lcaggio ef29b3ba12 Fix template path. 2022-10-25 09:06:58 +02:00
lcaggio 7561f7db69 Remove data platform file wrongly committed. 2022-10-25 07:42:05 +02:00
lcaggio aa6cba24a3 Organize png and tpl in subfolders 2022-10-25 07:39:29 +02:00
lcaggio c61313b37c Move images and templates to subfolder. 2022-10-25 07:39:16 +02:00
lcaggio f9795a38d0 Fix DataPlatform file wrongly submitted. 2022-10-25 06:25:36 +02:00
lcaggio 35f39369c5 Merge branch 'master' into lcaggio/dp-dataaccess 2022-10-24 23:00:47 +02:00
lcaggio 9c985fbbb5 Fix regexp 2022-10-24 22:59:53 +02:00
lcaggio 529dde5a46 Fix CloudSQL blueprint 2022-10-24 22:59:35 +02:00
Maurizio Noseda Pedraglio c359c13d4a removed unneeded import 2022-10-24 13:49:31 +02:00
Maurizio Noseda Pedraglio 0a878454aa dashboard fix 2022-10-21 18:48:53 +02:00
Maurizio Noseda Pedraglio 4b1138c5bb pr comments fixed 2022-10-21 18:44:53 +02:00
Maurizio Noseda Pedraglio cebc9360f8 fixes to dashboard and statc routes category metric name 2022-10-21 17:43:00 +02:00
Julio Castillo b194b51ef3
Merge branch 'master' into maunope/static_routes 2022-10-20 23:11:44 +02:00
Julio Castillo f8208670e2 Fix variable cf_version validation 2022-10-20 19:12:57 +02:00
Julio Castillo ea9227dedf Update README 2022-10-20 19:10:46 +02:00
Julio Castillo 2d7319c4e8 Fix cron description 2022-10-20 19:10:46 +02:00
Julio Castillo 21152c3c45 Improve net dashboard variables 2022-10-20 19:10:46 +02:00
Julio Castillo a988775c14 Do not modify in parameters in format_* functions 2022-10-20 18:56:54 +02:00
Aurélien Legrand 4d067fe2cd
Network Dashboard: CFv2 and performance improvements (#896)
* Improving Cloud Function v2 support for the Networking Dashboard.

* yapf formatting.

* Improving support for CFv2 and performance for asset inventory queries

* Update README.md

added v2 parameter do readme

* cleanip up main.py and improving performance by 20% in metrics.py by reusing the same client instance

* Making a condition clearer

* Update blueprints/cloud-operations/network-dashboard/cloud-function/metrics/subnets.py

Co-authored-by: David Gleich <gleichda@google.com>

* Update after PR from Maurizio on Firewall Policies and David's comments.

Co-authored-by: maunope <44614195+maunope@users.noreply.github.com>
Co-authored-by: David Gleich <gleichda@google.com>
2022-10-19 18:59:28 +02:00
Maurizio Noseda Pedraglio 3a687fd387 Merge branch 'master' of https://github.com/GoogleCloudPlatform/cloud-foundation-fabric into maunope/static_routes 2022-10-19 17:45:03 +02:00
Maurizio Noseda Pedraglio 94831780d5 Merge branch 'maunope/network-dashboards-updates' of https://github.com/maunope/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-19 17:16:31 +02:00
Maurizio Noseda Pedraglio d2e38fb9d6 removed dependency 2022-10-19 17:15:54 +02:00
Aurélien Legrand 4d11251f17
Update README.md 2022-10-19 16:40:42 +02:00
Aurélien Legrand 23807615f4
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-19 14:56:52 +02:00
marcjwo 5ef93e2829
Marcwo/bqfactory (#884)
* adding the bq factory

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-18 17:07:15 +02:00
Luca Prete 0122f145ab
Minor fixes to PSC hybrid blueprint readmes 2022-10-17 10:40:11 +02:00
Natalia Strelkova edfbd7f1f0
Merge branch 'master' into nstrelkova-wordpress-password-fix 2022-10-16 22:02:58 +02:00
Giovanni Baratta ca1dc3659a
Add auto_delete and instance_redistribution_type to compute-vm and compute-mig modules. (#890)
* Add auto_delete parameter to compute-vm module

* Add instance_redistribution_type in compute-mig module
2022-10-16 21:19:46 +02:00
Luca Prete a8ddf5d1ba
Add PSC hybrid blueprint 2022-10-16 10:18:40 +02:00
Natalia Strelkova 4ac24b68be random password: let the cloudsql module generate it 2022-10-15 20:16:50 +00:00
Maurizio Noseda Pedraglio 2248639e8b fixed merge 2022-10-14 13:02:05 +02:00
Maurizio Noseda Pedraglio 801fe1c626 fixes to dashboard 2022-10-14 12:55:07 +02:00
Maurizio Noseda Pedraglio 658b34c9c0 Merge branch 'master' of https://github.com/GoogleCloudPlatform/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-14 12:34:48 +02:00
Maurizio Noseda Pedraglio de5bad7f19 corrected default value for static routes 2022-10-14 12:05:17 +02: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
Somnath Shukla a12da693a3
added support 2nd generation cloud function (#872)
* added support 2nd generation cloud function

* changed function_version to a simple boolean v2
removed memory_2ndGen

* will use the var.v2 to add the invoker role

* removed the list uisng compact and formated the code

* formated the code and added conditional feature

* formated the code

* added formating

* resolved the merge conflict

* Update readme

* Create local function object

* added secret_volumes
and secret_environment_variables for CF V2

Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-13 08:09:00 +02:00
lcaggio ce148d68f4 Update roles 2022-10-13 06:36:20 +02:00
Maurizio Noseda Pedraglio 1fb93e1b64 aligned timestamps for ppg data 2022-10-12 15:05:58 +02:00
Maurizio Noseda Pedraglio 61917690e5 added support for ppg static routes 2022-10-12 14:51:03 +02:00
Ludovico Magnocavallo e8056577ce
Refactor GKE nodepool and blueprints (#875)
* first shot, untested

* example tests working

* module tests

* work on gke blueprints

* multitenant fleet doc examples

* fix gke hub doc examples

* blueprint tests

* move master range to vpc config

* fast stage 3 gke test

* tfdoc

* bump provider versions

* and bump provider again to latest
2022-10-12 12:59:36 +02:00
Julio Castillo bb4aacd152
Update README.md 2022-10-11 15:25:27 +02:00
Julio Castillo 29b3d84b3f
Update README.md 2022-10-11 15:23:59 +02:00
Julio Castillo 9c2b850a0a
Update README.md 2022-10-11 15:22:46 +02:00
Julio Castillo 6abb7ae0bc
Update README.md 2022-10-11 15:21:30 +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
Maurizio Noseda Pedraglio 311d50c183 added static routes per vpc tracking 2022-10-10 22:06:57 +02:00
Maurizio Noseda Pedraglio 3608b573fd updated dashbaord and readme 2022-10-10 17:45:08 +02:00
Maurizio Noseda Pedraglio 3b259a90bb Merge branch 'maunope/network-dashboards-updates' of https://github.com/maunope/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-10 15:54:47 +02:00
Maurizio Noseda Pedraglio c52b623857 Added Firewall Policies Monitoring
Added buffering for writes (execution now 4x faster on my laptop)
Added aligned timestamps per monitored resource type
2022-10-10 15:53:14 +02:00
Maurizio Noseda Pedraglio 82f3daf917 Added Firewall Policies Monitoring, added buffered metric writes (CF now 4x faster on my laptop), switched to aligned timestamps (should avoid "sawtoothing") 2022-10-10 15:52:54 +02:00
Ludovico Magnocavallo f080794167
Merge branch 'master' into tmp_revert_to_1.3.1 2022-10-10 11:21:26 +02:00
Natalia Strelkova 5dbc61cb8c temporary revert to Terraform 1.3.1 to support Cloud Shell 2022-10-10 09:19:55 +00:00
maunope d5b42d5378
Maunope/network added firewall metrics (#856)
* support for project level VPC firewall metrics

* updated GCP networking dashboard (.json file)

Co-authored-by: Maurizio Noseda Pedraglio <mnoseda@google.com>, Aurélien Legrand <aurelien.legrand01@gmail.com>
2022-10-10 10:46:22 +02:00
Aurélien Legrand 17ee413a7e
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-10 10:12:07 +02:00
Ludovico Magnocavallo 16822e94ab
Refactor GKE module for Terraform 1.3 (#868)
* wip

* module and module tests

* doc examples

* gke-hub doc examples

* gke blueprints

* hub and spoke peering blueprint

* Rename some keys of some optional objects

* Fix readme

Co-authored-by: Julio Castillo <jccb@google.com>
2022-10-10 09:38:21 +02:00
maunope dffd5b4c3b
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-10 09:25:09 +02:00
Maurizio Noseda Pedraglio ac82a8ce7b solved pul comments and fixed grouping on firewalls utilization chart 2022-10-07 17:24:04 +02:00
Natalia Strelkova 54290fb18e
Merge branch 'master' into example-wordpress 2022-10-07 15:41:22 +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
Maurizio Noseda Pedraglio 1f3cfe8e8e fixed dashboard comments 2022-10-07 15:18:13 +02:00
Natalia Strelkova 8a8a3fd76a firewall unnecessary 2022-10-07 13:13:15 +00:00
Ludovico Magnocavallo a0171b2c49
Bump terraform required version (#864)
* bump terraform required version

* fix test

* debug test

* debug test

* disable test

* fix CI file, bump terraform action version
2022-10-07 12:51:56 +02:00
maunope 6e128eeb4d
Merge branch 'master' into maunope/network-dashboards-updates 2022-10-07 12:23:55 +02:00
Maurizio Noseda Pedraglio 2df2bbde64 Merge branch 'maunope/network-dashboards-updates' of https://github.com/maunope/cloud-foundation-fabric into maunope/network-dashboards-updates 2022-10-07 11:35:34 +02:00
Maurizio Noseda Pedraglio c0573ce596 fixed PR #856 comments 2022-10-07 11:34:00 +02:00
Ludovico Magnocavallo e66340c4db
Refactor compute-vm for Terraform 1.3 (#860)
* refactor compute-vm for Terraform 1.3

* bump Terraform version in CI tests config

* fix optional null handling (ht jccb)

* tfdoc

* update blueprints

* align fast

* align README examples
2022-10-07 10:53:53 +02:00
Ludovico Magnocavallo 00b3383d16
Merge branch 'master' into example-wordpress 2022-10-07 10:32:43 +02:00
Natalia Strelkova 2f8a03a801
style and a note on password change 2022-10-07 09:46:39 +02:00
Julio Castillo 894647ff9e Leverage new shared VPC project config defaults across the repo 2022-10-07 08:55:47 +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 bb436e47a8
Merge branch 'GoogleCloudPlatform:master' into example-wordpress 2022-10-06 11:33:19 +02:00
Natalia Strelkova b6dcde6745
Info on the VPC serverless connector 2022-10-06 11:32:27 +02:00