Commit Graph

410 Commits

Author SHA1 Message Date
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
Ludovico Magnocavallo 3c60af506f
Update CHANGELOG.md 2020-06-22 17:18:01 +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 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 9d7f5570e0
Update CHANGELOG.md 2020-06-11 15:58:44 +02:00
Lorenzo Caggioni d029ee8e3a - Rename example to `cmek-via-centralized-kms`
- updated CHANGELOG and READMEs
2020-06-10 15:22:43 +02:00
Ludovico Magnocavallo 0a742b50fe
Update CHANGELOG.md 2020-06-10 07:56:41 +02:00
Lorenzo Caggioni 1484118049 update top-level README
update modules/README
update CHANGELOG
2020-06-09 16:25:05 +02:00
Ludovico Magnocavallo 62836cb7a4
Update CHANGELOG.md 2020-06-07 18:08:00 +02:00
Ludovico Magnocavallo 7f49615c1d
Update CHANGELOG.md 2020-06-05 22:00:19 +02:00
Ludovico Magnocavallo 24e9e0c280
Update CHANGELOG.md 2020-06-05 21:25:18 +02:00
Ludovico Magnocavallo 268132efe4
Update CHANGELOG.md 2020-06-03 09:43:30 +02:00
Ludovico Magnocavallo 24118c0f5b
Update CHANGELOG.md 2020-06-03 09:42:24 +02:00
Ludovico Magnocavallo 66bb75ff77
Update CHANGELOG.md 2020-06-03 08:44:38 +02:00
Ludovico Magnocavallo cd70dcc238
Update CHANGELOG.md 2020-06-01 12:14:02 +02:00
Ludovico Magnocavallo 947cdc0aaa
Update CHANGELOG.md 2020-06-01 11:43:43 +02:00
Ludovico Magnocavallo 682764a911
Update CHANGELOG.md 2020-06-01 09:37:07 +02:00
Ludovico Magnocavallo 0996414773
Update CHANGELOG.md 2020-06-01 09:36:07 +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
Ludovico Magnocavallo 1a6bb8dad3
Update CHANGELOG.md 2020-06-01 07:58:24 +02:00
Ludovico Magnocavallo 037c14ef09
Update CHANGELOG.md 2020-05-30 08:59:08 +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
Julio Castillo e1ad77c6d9
Add Artifact Registry module (#81) 2020-05-26 12:03:15 +02:00
Julio Castillo 0f291fbde3
Add Container Registry module (#80) 2020-05-26 07:18:33 +02:00
Ludovico Magnocavallo 8934d6de25
Update CHANGELOG.md 2020-05-22 12:31:29 +02:00
Ludovico Magnocavallo a486827671
Update CHANGELOG.md 2020-05-22 12:31:12 +02:00
Ludovico Magnocavallo 453f4e52b0
Update CHANGELOG.md 2020-05-20 16:21:41 +02:00
Julio Castillo 5c23418bb4
Mention source-repository in CHANGELOG 2020-05-14 21:41:20 +02:00
Ludovico Magnocavallo 65d6b7f1c3
Update CHANGELOG.md 2020-05-13 15:56:26 +02:00
Ludovico Magnocavallo e7f92be88c
Update CHANGELOG.md 2020-05-13 15:56:15 +02:00
Ludovico Magnocavallo 008d0a9aab
Update CHANGELOG.md 2020-05-13 15:54:06 +02:00
Julio Castillo 2dcd86df82
Mention gke-cluster changes in CHANGELOG 2020-05-12 19:26:52 +02:00
Ludovico Magnocavallo fdea316893
Update CHANGELOG.md 2020-05-11 17:52:06 +02:00
Ludovico Magnocavallo 78b0d6a9e7
Update CHANGELOG.md 2020-05-10 17:08:27 +02:00
Ludovico Magnocavallo 62918b74aa
Update CHANGELOG.md 2020-05-10 09:34:34 +02:00
Ludovico Magnocavallo b54618c931
Update CHANGELOG.md 2020-05-04 08:27:53 +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 a9d6bd1f1c
Update CHANGELOG.md 2020-05-02 11:53:11 +02:00
Ludovico Magnocavallo 50f19bb25f
new Secret Manager module (#65) 2020-05-02 09:27:55 +02:00
Ludovico Magnocavallo 733530a393
update changelog for v1.4.0 2020-05-01 09:07:43 +02:00
Ludovico Magnocavallo 99d9e81e89
Update CHANGELOG.md 2020-04-30 19:34:58 +02:00
Ludovico Magnocavallo 52a8c4d0bb
Update CHANGELOG.md 2020-04-30 19:31:26 +02:00
Ludovico Magnocavallo bf137148b3
Update CHANGELOG.md 2020-04-30 17:09:58 +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 af5850ef2b rename workload config variable in gke nodepool and change default 2020-04-27 08:08:31 +02:00
Ludovico Magnocavallo 0f68507b4c
Update CHANGELOG.md 2020-04-23 09:54:39 +02:00
Ludovico Magnocavallo 724950fe2a
Update CHANGELOG.md 2020-04-23 07:11:51 +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 7ad03ea620
Update CHANGELOG.md 2020-04-08 14:56:12 +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 2106c18dc5
Fix diff links in changelog 2020-04-06 20:42:25 +02:00
Julio Castillo 0d9da6d225
Fix changelog link 2020-04-06 20:41:19 +02:00
Julio Castillo cd6225b110
Update CHANGELOG.md 2020-04-06 20:39:01 +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