Commit Graph

749 Commits

Author SHA1 Message Date
Ludovico Magnocavallo a008b1a561
Update README.md 2020-08-08 11:04:53 +02:00
Ludovico Magnocavallo 482f4464f8 depend feed id from IAM roles in pubsub module 2020-07-30 18:11:42 +02:00
chinmaydorlikar e6867b3486
Added google-beta provider for dataset-access resource and formatted the file (#118)
Co-authored-by: Chinmay Dorlikar <chinmay_dorlikar_ex@kdrp.com>
2020-07-28 18:28:59 +02:00
Ludovico Magnocavallo 9197093cb9
Update README.md 2020-07-24 15:06:11 +02:00
Ludovico Magnocavallo 3cad63285f
Add support for vpc connector and ingress settings to cloud-function (#116)
* add support for ingress/egress/vpc connector to cloud function

* refactor vpc connector support

* refactor ingress settings support

* fix vpc connector value

* fix vpc connector value
2020-07-24 08:55:58 +02:00
Ludovico Magnocavallo fc99ade009
Add support for logging in net-cloudnat (#115)
* add logging support to net-cloudnat

* use default for logging filter
2020-07-23 09:29:24 +02:00
Ludovico Magnocavallo dce2fca740
Support multiple zones in compute-vm module (#114)
* support multiple zones in compute-vm module

* update compute-vm variables in end-to-end examples

* update README examples
2020-07-18 06:39:14 +02:00
Julio Castillo 036b9ea950
Obey var.iam_billing_config.grant (#113)
* Update main.tf

* Update main.tf
2020-07-15 13:18:42 +02:00
Ludovico Magnocavallo 370eb67242 fix external IP reservation in compute-vm module 2020-07-10 17:04:53 +02:00
lcaggio ea72d4a884
Merge branch 'master' into vpc-sc 2020-07-10 07:29:21 +02:00
Lorenzo Caggioni 7cf3990d27 - Fixes based on PR comments
- Movig module under Security
 - Formatting TF files
2020-07-10 07:22:57 +02:00
Ludovico Magnocavallo 67d03fd07c
support Shared VPC in project module (#112) 2020-07-09 15:15:14 +02:00
Julio Castillo 569e52e12a
Add Shielded VM config option to compute-vm (#111)
* Add shielded config option to compute-vm

* Update CHANGELOG
2020-07-09 08:09:47 +02:00
Ludovico Magnocavallo 4beedc5ba8
Update README.md 2020-07-08 21:39:50 +02:00
lcaggio e07d45d407
Merge branch 'master' into vpc-sc 2020-07-07 11:00:09 +02:00
Lorenzo Caggioni 9073703a25 Update READMEs and CHANGELOG 2020-07-07 10:56:11 +02:00
Lorenzo Caggioni 31ac6ee094 Remove Project level VPC-SC handling. The configuration option is too
limited (for example: no dry_run mode supported).
2020-07-07 10:49:06 +02:00
Lorenzo Caggioni 39d2d90bcd Move VPC-SC to a separate module. 2020-07-07 10:23:26 +02:00
Lorenzo Caggioni 0d7f35b0ae Fix variable name based on PR feedback 2020-07-06 21:58:40 +02:00
Lorenzo Caggioni 43e4ffc95d Support Access Levels - Perimeters mapping 2020-07-06 18:35:42 +02:00
Ludovico Magnocavallo 9f547266e9 really fix external address reservation in compute-vm module 2020-07-06 18:32:41 +02:00
Ludovico Magnocavallo 6af350341f fix external address reservation in compute-vm module 2020-07-06 18:28:57 +02:00
Lorenzo Caggioni 3e2706be10 Add basic Access Level support 2020-07-06 18:12:25 +02:00
Lorenzo Caggioni 96808b89ff Add dry run mode support 2020-07-06 16:53:02 +02:00
Lorenzo Caggioni 35571096ca Update READMEs 2020-07-06 15:30:29 +02:00
Lorenzo Caggioni 07b3b5f4d0 Remove create/no_create logic. I will add it in a future PR. 2020-07-06 15:28:23 +02:00
Lorenzo Caggioni ccc4e0076a Merge branch 'vpc-sc' of https://github.com/terraform-google-modules/cloud-foundation-fabric into vpc-sc 2020-07-06 14:37:13 +02:00
Lorenzo Caggioni c414ca5505 Fixes based on PR comments:
- fix typos
 - use for_each
 - fix code layout
2020-07-06 14:30:25 +02:00
Ludovico Magnocavallo 29b34c0a2d
Update README.md 2020-07-04 10:07:45 +02:00
Ludovico Magnocavallo b4affad49d
Update README.md 2020-07-04 10:06:34 +02:00
Ludovico Magnocavallo f045d4334c
Update README.md 2020-07-04 10:04:53 +02:00
lcaggio 7acdfdc53b
Merge branch 'master' into vpc-sc 2020-07-02 19:07:17 +02:00
Lorenzo Caggioni bef0f77e67 Add Project level support for VPC-SC 2020-07-02 19:01:36 +02:00
Lorenzo Caggioni b0bb441df5 Add VPC-SC perimeters support 2020-07-02 18:12:34 +02:00
Sumeet Chaurasia ceb725bb84
Reserved External IP-Compute VM (#107) 2020-07-02 11:41:42 +02:00
Ludovico Magnocavallo 5fa4ea5518 regenerate variables/outputs tables in modules 2020-07-02 08:29:38 +02:00
vanessabodard-voi 5af022a3ee
refactor IAM additive bindings variables (#103)
* Invert the list for role/member mapping so that member is the key

* Add iam_additive_bindings to replace iam_additive_members and iam_additive_roles, change test suite accordingly

* attribute 'mode' added as it would error without

* Update Readme to reflect the new variable iam_additive_bindings

* test branch access

* iam_additive_bindings to replace iam_additive roles and iam_additive_members

* update foundation samples to new additive bindings format

* set bq dataset options in foundation environments to allow destroying

* trap exceptions raised during destroy in project module

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2020-07-02 08:28:26 +02:00
Lorenzo Caggioni 8b252fc261 Fix 2020-06-30 18:05:37 +02:00
lcaggio 22f3451573
Merge branch 'master' into gcs-to-bq 2020-06-30 16:58:57 +02:00
Ludovico Magnocavallo c4850b8391
Cloud functions module (#102)
* wip

* cloud function module

* wip

* cloud function module

* update top-level READMEs and CHANGELOG

* update top-level READMEs and CHANGELOG

* remove duplicate boilerplate in variables

* implement suggestions in PR review
2020-06-29 08:05:44 +02:00
Ludovico Magnocavallo 21758f399d
Update README.md 2020-06-28 12:11:54 +02:00
Ludovico Magnocavallo d3fe52ef3a fix minimum required version of google-beta provider in dns module 2020-06-28 11:19:15 +02:00
Lorenzo Caggioni 9a4ec24093 First commit.
TODO:
 - fix error on destroy
 - improve robot service account handling
2020-06-26 21:45:41 +02:00
Ludovico Magnocavallo ec765857cb
Make project creation optional in project module (#99)
* make project creation optional in project module

* add variable to optionally configure project activation

* add explicit dependency on custom roles to additive bindings

* make parent variable optional

* add test for null parent

* fix custom roles output
2020-06-25 10:04:57 +02:00
lcaggio c5fc3798c6
Merge branch 'master' into endpoints 2020-06-24 18:19:03 +02:00
Lorenzo Caggioni 72c2b9a54a Fix Variable description 2020-06-24 18:13:45 +02:00
Lorenzo Caggioni c1eb78c746 Fix Example 2020-06-24 18:12:10 +02:00
Lorenzo Caggioni 9c85f9e647 Delete old folder 2020-06-24 18:08:09 +02:00
Lorenzo Caggioni 825a159990 Correct typos
Rename module to be consistent with the real name of the GCP service
Add link to the module on READMEs
2020-06-24 17:59:57 +02:00
Lorenzo Caggioni 6356ce628c Fixes based on comments on the PR 2020-06-24 15:52:30 +02:00
Lorenzo Caggioni 30da293c0a Fix Readme 2020-06-24 10:31:10 +02:00
Lorenzo Caggioni c4bbba4fbf Fixes 2020-06-23 18:22:54 +02:00
Lorenzo Caggioni 908371ab91 Module to handle Cloud Endpoints 2020-06-23 18:12:10 +02:00
Ludovico Magnocavallo 9f3500bff3 IAM bindings in compute-vm need to depend on the instance resource 2020-06-22 16:16:19 +02:00
Ludovico Magnocavallo e2a9e3d415
Update README.md 2020-06-19 11:16:22 +02:00
Ludovico Magnocavallo 6524563747
Add optional unmanaged instance groups to net-ilb (#98)
* add optional unmanaged instance groups to net-ilb

* depend health check creation on the health_check variable

* add example for self-managed group

* update changelog
2020-06-19 09:49:37 +02:00
Aleksandr Averbukh ddc2f9c20d
dns_keys output added to the dns module (#97)
* dns_keys output added to the dns module, so DNSSEC attributes like DS entry will be outputed if DNSSEC configuration is provided

* Fix confition for dns_keys data source
2020-06-17 11:43:46 +02:00
Ludovico Magnocavallo 7a100d08d4
Move top-level docker images folder to the onprem module (#96)
* move docker folder to the onprme module

* update CHANGELOG
2020-06-17 05:41:13 +02:00
Ludovico Magnocavallo ae2e4dc3ad interpolate vpc name in routes 2020-06-12 12:07:28 +02:00
Ludovico Magnocavallo c1c96cac7f interpolate gateway name in route name for static vpn 2020-06-11 15:51:25 +02:00
Ludovico Magnocavallo 25d3b2ebdd
add iam support to compute-vm module (#95) 2020-06-10 07:55:18 +02:00
Ludovico Magnocavallo 61bf03d143
Update README.md 2020-06-09 17:21:07 +02:00
Lorenzo Caggioni 1484118049 update top-level README
update modules/README
update CHANGELOG
2020-06-09 16:25:05 +02:00
Lorenzo Caggioni 2f97d246f6 Fix README 2020-06-09 16:03:10 +02:00
Lorenzo Caggioni 8d75a278a6 Fixes 2020-06-09 15:55:22 +02:00
Lorenzo Caggioni 9706d2c386 Add BigTable module 2020-06-09 02:40:26 +02:00
Julio Castillo 2e597e2c58
Add Network Endpoint Group module (#91)
* Add Network Endpoint Group module

* Update CHANGELOG

* Move neg to experimental

* Revert "Update CHANGELOG"

This reverts commit 9282932f88655089e642a9e9954504f19528621e.

* Revert README changes
2020-06-08 13:43:13 +02:00
Ludovico Magnocavallo cf79c65d3b
Set instance zone in net vpc route to avoid recreation (#90) 2020-06-07 18:06:15 +02:00
lcaggio 1b450fe444
Add Cloud KMS support to GCS module (#87)
* Add support to Cloud KMS

* Fixes

* Fix tests

* Fix tests

* - change variable name to be consistent with BQ module
 - remove output, not needed
 - change string default value to null

* use locals to pre-populate kms key variable for all names

* rename kms variable, fix prefix check in locals

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2020-06-05 21:59:34 +02:00
Ludovico Magnocavallo 474fd7364f
use "all" for admin firewall rule in net-vpc-firewall module 2020-06-05 21:24:28 +02:00
Ludovico Magnocavallo 4a40497ce6
Update README.md 2020-06-05 09:51:36 +02:00
Ludovico Magnocavallo eb4c1d5d98
Update README.md 2020-06-05 09:41:58 +02:00
Julio Castillo 99642be58a
Add option to use private GCR to cos-generic-metadata (#86) 2020-06-03 09:27:10 +02:00
Ludovico Magnocavallo 4dd927d8d7
KMS module refactoring (#85)
* first rewrite, untested

* validation fixes

* fix errors, rename variables, improve README, tested

* minimal kms module test

* README tweaks
2020-06-03 08:43:10 +02:00
Ludovico Magnocavallo af95bb3110
Update cloud-config.yaml 2020-06-02 10:14:03 +02:00
Julio Castillo c91769628b
Merge pull request #83 from terraform-google-modules/ludo-service-accounts-changes
Refactor service account module outputs
2020-06-01 11:30:57 +02:00
Ludovico Magnocavallo 778362cf95
Better service account outputs in project module (#82)
* rationalize project module product service accounts output

* fix typos in shared vpc example service accounts

* add extra robot service accounts

* update CHANGELOG
2020-06-01 09:32:47 +02:00
T.V.VIGNESH 6b0b147e7e
Added PD CSI Driver Addon support (#84)
* Added PD CSI Driver Addon support

Google supports CSI Driver for PD (https://cloud.google.com/kubernetes-engine/docs/how-to/gce-pd-csi-driver) which is also supported by TF Google Beta Provider (https://www.terraform.io/docs/providers/google/r/container_cluster.html#gce_persistent_disk_csi_driver_config).

Added the same support to this module.

* Added PD CSI Config to variables

The PD CSI config has been added to variables to support PD CSI Driver (https://www.terraform.io/docs/providers/google/r/container_cluster.html#gce_persistent_disk_csi_driver_config)
2020-06-01 07:57:14 +02:00
Ludovico Magnocavallo aaa80bb49b refactor service account module outputs 2020-05-31 09:39:03 +02:00
lcaggio 7f40aba4cd
Support Cloud KMS on Compute-VM module + Fixes (#79)
* * Add support to KMS disk encryption (boot and attached)
 * Fix Instance Group Example

* Fix

* * Fix image boot disk
 * Add example with disk encryption

* Fix Title

* Improve logic

* Fix Readme
Fix viariable description

* Update README.md

* update README variables/outputs table

* add change to CHANGELOG

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2020-05-30 08:57:21 +02:00
Ludovico Magnocavallo 476c41d333
Update README.md 2020-05-29 08:25:51 +02:00
Ludovico Magnocavallo 133623dee9
Update README.md 2020-05-29 08:08:09 +02:00
Ludovico Magnocavallo e2004d0c0d
Update README.md 2020-05-29 08:07:08 +02:00
Julio Castillo 840607d837
Fix another typo in GCS README 2020-05-26 12:11:27 +02:00
Julio Castillo f8cbfe9fbf
Update README.md 2020-05-26 12:10:02 +02:00
Julio Castillo e1ad77c6d9
Add Artifact Registry module (#81) 2020-05-26 12:03:15 +02:00
Ludovico Magnocavallo de6b4515c2
Update README.md 2020-05-26 07:21:52 +02:00
Julio Castillo 0f291fbde3
Add Container Registry module (#80) 2020-05-26 07:18:33 +02:00
Julio Castillo 4bf3a81463
Fix typo in folder README 2020-05-25 11:35:18 +02:00
Chris Taylor b75e6becf0
Correct the name used to reference the folders module (#78) 2020-05-22 19:47:50 +02:00
lcaggio 461662ad1d
First commit for Data Fusion module (#77)
* First commit for Data Fusion module

* Fix comments and improve ip_allocation logic.

* Add example

* generate variables and outputs table, fix example headings

* update year in boilerplates

* rename firewall variable, remove region from resource names

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2020-05-22 12:30:24 +02:00
Julio Castillo 2946d28727
Source repository module (#76)
* Source repository module

* Fix typos
2020-05-14 20:48:29 +02:00
Ludovico Magnocavallo b3cdca67de
Update README.md 2020-05-13 15:55:26 +02:00
Roberto Jung Drebes 39b827d0e3
Merge pull request #75 from terraform-google-modules/ludo-service-directory
New service directory module and sd zone type in DNS module
2020-05-13 13:58:59 +02:00
Ludovico Magnocavallo 4cf87d993a
Update README.md 2020-05-13 10:54:22 +02:00
Ludovico Magnocavallo 411795ecf3
Update README.md 2020-05-13 10:53:43 +02:00
Ludovico Magnocavallo cd3730393f
Update README.md 2020-05-13 07:54:46 +02:00
Ludovico Magnocavallo 835915c4e3
Update README.md 2020-05-13 07:54:03 +02:00
Ludovico Magnocavallo e85173e440 add DNS example to service directory 2020-05-12 20:26:34 +02:00
Julio Castillo 63f1f3e066 Add cluster CA certificate as output for gke-cluster 2020-05-12 19:17:46 +02:00
Ludovico Magnocavallo 88b124ddc8 first service-directory module implementation 2020-05-12 18:52:03 +02:00
Julio Castillo de9825310c Fix another gke-cluster dynamic block typo 2020-05-12 18:46:50 +02:00
Roberto Jung Drebes 324890073b
adds project_id to external gateway (#74) 2020-05-12 18:13:06 +02:00
Ludovico Magnocavallo da97405e31 add support for service directory zones to dns module 2020-05-12 13:35:13 +02:00
Ludovico Magnocavallo bd73e1ade9
New pubsub module (#73)
* pubsub module, untested

* fixed a few errors
2020-05-11 17:51:00 +02:00
Ludovico Magnocavallo f1924914af
Use flat source insted of submodule in envoy cos module (#72)
* use fabric format for in/out table in cos-generic-metadata module's README

* switch to flat modulespace in envoy cos module
2020-05-11 16:54:32 +02:00
Ludovico Magnocavallo 6415940c76 use shared instance files in nginx cos module 2020-05-10 16:02:22 +02:00
Ludovico Magnocavallo f655a9bb67 fix boilerplate in new envoy module 2020-05-10 13:02:12 +02:00
Roberto Jung Drebes 27afe13235
Envoy with Traffic Director cloud-config (#70) 2020-05-10 13:00:18 +02:00
Ludovico Magnocavallo e3d756c5ee add TODO to gcs module 2020-05-10 11:58:55 +02:00
Ludovico Magnocavallo b3df6598d4 switch project service from resourceviews to container in examples 2020-05-07 21:36:37 +02:00
Julio Castillo 718f5ceeac Fix gke-nodepool advanced options 2020-05-07 20:28:37 +02:00
Ludovico Magnocavallo fa29a8e26f
Fix health checks in net-ilb and compute-mig modules (#69)
* fix health checks in ilb module

* fix health check in compute-mig and add basic tests
2020-05-07 07:37:15 +02:00
Eric Hole a51c8be101
Adds clarification to gke-cluster module for node_config (#68) 2020-05-07 06:48:04 +02:00
Roberto Jung Drebes 14ec791556
subnets with the same name in different regions (#67)
* support for subnets with the same name in different regions

* fix net-vpc tests
2020-05-04 08:25:53 +02:00
Ludovico Magnocavallo 711f113cf0 add support for environment vars in experimental cf module 2020-05-04 07:48:37 +02:00
Ludovico Magnocavallo e3a1a8da4b change access variables in bigquery-dataset to support dyamic values 2020-05-03 15:10:36 +02:00
Ludovico Magnocavallo b684718353
Update README.md 2020-05-03 11:46:04 +02:00
Ludovico Magnocavallo da579eb056
Update README.md 2020-05-03 11:43:11 +02:00
Ludovico Magnocavallo c7bffbbac1
New `bigquery-dataset` module (#66)
* new bigquery-dataset module

* update README

* update top-level READMEs

* update CHANGELOG
2020-05-02 17:33:48 +02:00
Ludovico Magnocavallo 15d859d370 add TODO to bigquery module README 2020-05-02 10:25:41 +02:00
Ludovico Magnocavallo 0812046fc9 fix bigquery module access block 2020-05-02 10:16:34 +02:00
Ludovico Magnocavallo 2065ef49cc use a map for secret versions in secret-manager module 2020-05-02 09:34:53 +02:00
Ludovico Magnocavallo c2661f330e
Update README.md 2020-05-02 09:29:04 +02:00
Ludovico Magnocavallo 50f19bb25f
new Secret Manager module (#65) 2020-05-02 09:27:55 +02:00
Ludovico Magnocavallo 3d1d7a59a9
Update README.md 2020-05-01 09:12:31 +02:00
Ludovico Magnocavallo 98f6b30197
Allow specifying subnet name in net-vpc module (#64)
* add name attribute to net-vpc subnet variable

* update vpc variables in infra examples

* fix old project output used in shared vpc infra example
2020-04-30 19:29:39 +02:00
Ludovico Magnocavallo be3c461cf9
MIG and ILB modules (#61)
* preliminary net-ilb module, untested

* outputs

* fix basic mistakes, add initial test

* test variable defaults on all resources

* README stub

* net-ilb module fixes and example

* compute-vm module fixes

* fix test

* remove mig from compute vm module

* split out mig from compute-vm (untested)

* split out mig from compute-vm (untested)

* fix mig versions

* small fixes and examples for mig module

* Update README.md

* Update README.md

* switch mig to using a single  variable for both region and zone
2020-04-30 17:08:18 +02:00
Ludovico Magnocavallo 5088ed61ff make the vpn ha module more resilient on destroy 2020-04-28 19:43:42 +02:00
Ludovico Magnocavallo 560fb3ac3c Revert "add to GKE cluster module"
This reverts commit df0b4c532a.
2020-04-27 09:19:23 +02:00
Ludovico Magnocavallo df0b4c532a add to GKE cluster module 2020-04-27 09:16:45 +02:00
Ludovico Magnocavallo bce602f7f7 update gke nodepool README 2020-04-27 09:12:53 +02:00
Ludovico Magnocavallo af5850ef2b rename workload config variable in gke nodepool and change default 2020-04-27 08:08:31 +02:00
Ludovico Magnocavallo ab41d2d3f8 fix compute-vm instance group manager and add usage example 2020-04-25 12:04:47 +02:00
Ludovico Magnocavallo d0c1da87a1 update GKE cluster module README 2020-04-25 07:27:29 +02:00
Ludovico Magnocavallo 587f6113b2
Add peering route configuration support for private clusters (#60)
* add peering routes and node DNS cache support to GKE modules

* fix peering config count

* catch and fix vpc self link in peering resource
2020-04-23 09:54:04 +02:00
Ludovico Magnocavallo 45a8bd841f fix Cloud NAT module internal router name lookup 2020-04-22 15:47:33 +02:00
Ludovico Magnocavallo 152c172b55 fix DNS module internal zone lookup 2020-04-22 15:43:48 +02:00
Ludovico Magnocavallo b9ba5add73
Update README.md 2020-04-10 11:38:59 +02:00
Ludovico Magnocavallo a280dd880d
Add support for org policies to folder and project modules (#58)
* modules/folders: add support for org policies

* update README

* update cloud config modules READMEs

* modules/project: add org policies
2020-04-08 14:54:49 +02:00
Julio Castillo 2e2d5f27c6
Update organization/versions.tf copyright 2020-04-08 10:23:23 +02:00
Ludovico Magnocavallo b673ed40fb
Update README.md 2020-04-08 08:41:39 +02:00
Ludovico Magnocavallo 8f89aeafe8
Update README.md 2020-04-08 08:40:00 +02:00
Ludovico Magnocavallo 74e0035f4a
Organization module (#57)
* modules/org: first shot

* modules/org: README

* update changelog
2020-04-07 18:47:07 +02:00
Julio Castillo c7e4d023f4 Move client and whitelist to top level variables 2020-04-06 20:32:12 +02:00
Julio Castillo 4850748055 Remove references to CoreDNS from Squid module 2020-04-06 20:13:21 +02:00
Julio Castillo c6b14860f8 Add squid container to cloud-config module 2020-04-06 20:08:12 +02:00
Ludovico Magnocavallo 409407ae7d
Refactor the onprem module (#55)
* move onprem to cos-container

* compute-vm: fix external addresses output

* folders-unit: update README

* update onprem module, add new fields to cos-container test instance

* coredns: process corefile as a template

* onprem: fixes

* modules/cos-container: rename to cloud-config-container infra/onprem: remove test output

* Update README.md

* update CHANGELOG for v1.1.0

* fix cloud config modules tests

* Update main.tf

* add container nginx module
2020-04-06 16:27:13 +02:00
Ludovico Magnocavallo c486bfc66f
Merge development branch (#44)
* VPN-HA module initial commit

* Added readme for net-vpn-ha module

* Update readme, add simple description

* Merge new modules list and environments foundation example (#30)

* gke-cluster

* net-vpc module and tests

* add TODO to net-vpc module

* add minimal README files with input/output variables to gke and net-vpc modules

* BigQuery Module (#24)

* Bigquery Module

* Added README file

* Added type hints

* gke-cluster

* net-vpc module and tests

* add TODO to net-vpc module

* add minimal README files with input/output variables to gke and net-vpc modules

* BigQuery Module (#24)

* Bigquery Module

* Added README file

* Added type hints

* GCS module

* net vpc module: improve secondary range outputs

* net vpc module: add serve project registration

* project module

* move bigquery module to not-ready folder

* folders module

* rename project module's iam variables

* slight tweak to folder module outputs

* gcs module

* simplify net-vpc module variables

* fix module tests configurations, fix net-vpc module tests

* add pydoc utility

* add/update module READMEs

* add/update module READMEs

* add/update module READMEs

* improve variable type summary generation in tfdoc

* tfdoc: add support for replacing doc in README.md files

* improve module READMEs

* net-vpc-firewall module

* add support for sensitive output attribute in tfdoc

* remove empty function from tfdoc

* render variable type as code in tfdoc

* update module READMEs

* net address module

* net cloudnat module

* remove redundant variable from net-cloudnat module

* vpc module: add support for peering, use network name as subnet name prefix

* net-vpn-static module

* net-vpn-static module README

* net-vpn-static module README

* tfdoc: fix error on undeclared variable type

* dns module

* set version for all modules

* kms module (untested)

* change kms key self links output to map, fix gcs and kms iam variable descriptions

* fix kms module

* update kms module readme

* simplify local iam pairs in modules

* service accounts module (unfinished)

* work on service accounts module

* project module: add gcr service account

* project module: update outputs in README

* first working version of the iam service accounts module

* iam service accounts module: extra checks in locals

* modules/net-cloudnat: reorder variables

* modules/net-vpn-dynamic: initial import (untested)

* modules/net-vpn-dynamic: first working version

* modules/net-vpn-dynamic: add outputs for auto-created router

* modules/net-vpn-dynamic: update README

* modules/net-[vpn,cloudnat]: clean up variable,s remove prefix

* modules/net-vpn-dynamic: add advertisement configuration to tunnel bgp peer, refactor variables

* tfdoc: add tooltips for variable types and defaults

* modules: update README variables and outputs

* tfdoc: improve variable default rendering

* modules: update README variables and outputs

* modules/net-vpc: minimal output refactoring

* modules/vm-cos: initial import, base resources working, no outputs

* modules/vm-cos: add variable descriptions

* tfdoc: fix parsing in type and default blocks

* modules/vm-cos: fix README

* tfdoc: fix parsing in type and default blocks

* modules/vm-cos: fix README

* modules/compute-vm: initial working import (not fully tested)

* modules/vm-cos: move to not-ready

* tfdoc: fix variable defaults formatting

* modules: update README files with tfdoc fixes

* modules: add initial examples

* gke-nodepool: initial import, untested

* gke nodepool: add README, fix location variable, set node count default to 1

* gke cluster: fix private cluster variables

* gke nodepool: fix README title

* gke cluster: add output for cluster location

* gke nodepool: add missing variables for project id and cluster name, remove default from location variable, fix gke version assignment

* gke nodepool: update README

* net-cloudnat: fix router name when creating default router

* fix variables used for address and router optional creation

* vpn dynamic: fix README

* modules/net-vpn-dynamic: fix router name output

* modules/compute-vm: remove unused variable

* modules/compute-vm-cos-coredns: initial import

* Update foundations modules versions (#26)

* update foundations modules versions

* update Terraform version to v0.12.19 in CI test configuration

* backport tfdoc from Ludo's branch (#27)

* Update docs using tfdoc format (#28)

* update README files

* set all types on variables

* foundations/environments: move log filter to a variable, use org for xpn by default

* foundations/environments: do not use liens by default

* modules/ntp-vpc: better shared_vpc_host variable description

* modules/logging-sinks: initial version

* modules/logging-sinks: streamline options in sinks variable

* modules/compute-vm-cos-coredns: add support for additional files

* modules/folders: rename from 'folder'

* modules/logging-sinks: fix circular dependencies and improve variables

* modules/project: remove extra variable

* modules/bigquery: new module with dataset support only

* foundations/environments: refactor using local modules

* modules/bigquery: better variables, README description and example

* modules: fix a few READMEs

Co-authored-by: Julio Castillo <juliocc@gmail.com>

* modules/net-vpc: README description and examples

* modules/net-vpc: tweak README description and examples

* modules/net-vpc: tweak README description and examples

* modules/net-vpc-firewall: change tag-based rule default ranges, improve README examples and description

* modules/compute-vm: README changes

* modules/compute-vm: use an object for the service account variable, update README

* modules/compute-vm: update README variables table

* modules/compute-vm: add TODO list to README

* modules/compute-vm: add TODO list to README

* modules/compute-vm: add outputs for service account

* modules/net-cloudnat: README

* modules/net-cloudnat: README

* modules/net-cloudnat: add router_create variable

* modules/compute-vm: simplify service account variables

* modules/net-vpn-dynamic: fix README example, use local secret for both empty string and null

* modules/net-vpn-dynamic: improve README example

* modules/gke-cluster: minimal README tweaks

* modules/kms: fix ephemeral keys resource name

* modules/iam-service-accounts: add storage roles

* modules/gke-nodepool: fix node default scopes

* New project variable to prevent deletion of default network (#32)

* New project variable to prevent deletion of default network

This is a workaround to fix
terraform-google-modules/cloud-foundation-fabric#31 while the GCP
terraform provider is fixed

* Add TODOs to remove workarounds in the project module

* Fix Cloud Build files

* modules/gke-nodepool: add monitoring scope to defaults

* modules/iam-service-accounts: add support for IAM bindings onthe service accounts

* playground module in sandbox, remove not ready modules

* Fix ci configurations in development branch (#33)

* try fixing ci confgurations

* add exclusion match to ci boilerplate check

* add skip boilerplate comment to compute-vm-cos-coredns template fragment

* modules/gke-cluster: fix boilerplate in outputs

* Simplify tests, re-enable CI

* add instance group support to compute-vm, start tests refactoring

* modules/compute-vm: group fixes, tests

* modules/compute-vm: minimal test beautification

* simplify top-level pytest fixture

* modules/dns: tests and minor tweaks

* fix missing boilerplate in tests

* re-add requirements file to tests folder

* re-enable tests in ci build configuration

* Folder module tests and fixes (#38)

* folder tests wip

* modules/folders: tests and tweaks

* update folders and compute-vm README files

* modules/gcs: tests and minor tweaks

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Added docker image for strongSwan

* Add support for routes and tests to net-vpc module (#39)

* modules/net-vpc: add routes (untested)

* initial tests

* modules/net-vpc: add test for flow logs

* modules/net-vpc: split tests into two separate files

* modules/net-vpc: routes test

* modules/net-vpc: test routes

* Add support for Terraform plugin cache in ci test build file (#40)

* add Terraform plugin caching to test ci build configuration

* fix mkdir in test build configuration

* trigger test check

* Refactor dynamic vpn configuration for on-prem-in-a-box module

* Fix dynamic vpn for onprem-in-a-box module

* Migrate Shared VPC example to local modules (#41)

* wip

* wip

* validated, untested

* modules/compute-vm: make service account email in locals resilient to destroy

* modules/project: make project id output depend on iam roles

* fixes

* shared-vpc tweaks

* update diagram

* update README input output tables

* modules/compute-vm: add service account IAM email output

* move GKE service account roles at the project level, add GCE service account roles

* update diagram and README

* modules/project: add extra output for IAM-dependent project id

* update modules READMEs

* minor tweaks

* modules/compute-vm: fix service account output

* remove static address from NAT

* fix container service agent binding dependency

* rename shared vpc

* Update README.md

* Update README.md

* Add static vpn gw to on-prem-in-a-box module

* Refactor hub and spoke to use new modules (#42)

* modules/compute-vm: saner defaults for service account scopes

* hub and spoke refactor, docs still missing

* complete hub and spoke

* Update README.md

* Add toolbox docker container, fix gw routing to the internet

* Add DNS Hybrid connectivity parameters

* Fix onprem dns zone for the static vpn configuration

* Added readme.md for on-prem module

* Add new line at the end of the files

* Add boilerplate for cloudbuild config files

* fix boilerplate in strongswan shell script

* Update README.md

* include missing file to fix merge conflict

* remove missing file to fix merge conflict

* include missing file to fix merge conflict (again)

* remove content from spurious file used to avoid merge conflicts

* Add net-vpc-peering module

* Initial commit for hub-and-spoke-peering infrastructure example

* Fix typos in infrastructure/ READMEs

* remove stale file

* use larger resolution version of hub and spoke diagram

* Update README.md

* Update hub-and-spoke-peerings example to use internal modules

* Add initial project tests (#46)

* modules/project: make prefix optional

* initial project module tests

* modules/project: use null for unset parent

* modules/dns: backport PR6 from the CFT dns module

* Add testing resources including on-prem-in-a-box to hub-and-spoke-peerings example

* Fix firewall rules to allow connectivity, switch to custom route advertisement for onprem -> spokes connectivity

* Move locals out of main.tf

* remove ssh tag from compute-vm variable default

* Add ssh tag to the test vms

* Update README.md

* Update README.md

* Update README.md

* Hub and spoke peering changes (#48)

* rename hub-and-spoke-vpn

* add ssh tag to shared-vpc-gke instance

* rename and rework hub and spoke peering

* fix test requirements

* align hub and spoke peering with module contents

* diagram

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* minimal fixes to onprem examples variable files

* onprem example stub, missing DNS zones and private.googleapis records onprem

* add missing boilerplate

* Update README.md

* Update README.md

* infra/onprem: add test instance and minimal outputs

* add DNS modules and resource

* infra/onprem: diagram and initial README

* minor changes to onprem module and example (#49)

* update toolbox image

* infra/onprem: add zone for private access, add metadata domain to onprem dns

* infra/onprem: onnprem service account, add testing procedure in README

* Update README.md

* infra/onprem: remove extra variable

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* infra/onprem: rename forwarder address variable

* Update README:

Added explicit --tunnel-through-iap for gcloud compute ssh commands

* Update top-level and section READMEs (#50)

* top-level README WIP

* rewrite top-level README

* change top-level README title

* remove initial quote in top-level README

* Update README.md

* Update README.md

* Update README.md

* foundations README

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add experimental scheduled cloud function module

* scheduled cloud function module: allow disabling schedule

* business-units foundation example (#52)

* Added folder-units module.

* Business units example update (WIP)

* Update all BU modules to internal ones

* Refactoring business-units example, add billing and org IAM handling

* update projects tests for new iam additive naming

* update project README for new iam additive naming

* streamline bu example and module (#53)

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>

* align net-vpn-ha interface with the other vpn modules

* update module README files

* Update README.md

* Update README.md

* Create CHANGELOG.md

* Refactor COS module to be generic (#51)

* Create generic COS module and update CoreDNS module to use it

* Update compute-vm-cos README

* Fix COS README

* Update COS example

* Skip boilerplate check for COS file template

* Make COS module more generic and provide preset configurations

* Update COS module documentation

* tfdoc: add support for multiple variables files

* compute-vm: split boot disk in separate variable file for cos module support

* Streamline cos modules (#54)

* tfdoc: fix bug in last commit

* compute-vm: add support for user-data

* compute-vm: restore noncos variable split

* remove compute-vm-cos-coredns

* compute-vm: revert to original state

* cos-container/coredns

* fix variables mess

* cos/coredns fixes

* cos/mysql

* remove stale compute-vm-cos module

* add test instance to cos modules

* tfdoc: add support for multiple output files

* cos: add initial READMEs

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add test apply fixture

* cos-coredns: tested

* Update README.md

* Fix typo

* cos-coredns: refactor README

* Update README.md

* test yaml validity in cos modules tests

* cos mysql tests

* cos mysql: refactor and test (disk tests missing)

* onprem: fix Coredns

* cos mysql: additional disk working

* cos modules: fix instance disks for no instance

* update some modules READMEs

* update some modules READMEs

* Update README.md

* Update README.md

* add simple tests for foundations/environments

* change default for org id in foundations/environments to avoid errors when none is specified

* fix null/empty organization id in foundations/environments

* fix errors when destroying on empty state in foundations/environments

* fundations/bu: fix errors when destroying with empty state

* modules/gcs: make outputs resilient on destroy with empty state

* modules/folders: make outputs resilient on destroy with empty state

* switch organization_id variable to long form in foundations/bu and modules/folders-unit

* Update README.md

* infra/shared-vpc: remove duplicate tag attribute from bastion

Co-authored-by: Aleksandr Averbukh <averbukh@google.com>
Co-authored-by: Julio Castillo <juliocc@gmail.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2020-04-03 14:06:48 +02:00