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
Natalia Strelkova
5dbc61cb8c
temporary revert to Terraform 1.3.1 to support Cloud Shell
2022-10-10 09:19:55 +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
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
1842586241
Bjbloemker-google/master ( #843 )
...
* Add ability to add KMS encryption to google_compute_instance_template
* fix code block
Co-authored-by: BJ Bloemker <bjbloemker@google.com>
Co-authored-by: bjbloemker-google <109173391+bjbloemker-google@users.noreply.github.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-09-29 09:01:15 +02:00
Julio Castillo
ac835b6d50
Update terraform version
2022-09-28 11:28:05 +02:00
Julio Castillo
7e9173d35d
Create fully recursive e2e test runner
2022-09-12 13:58:11 +02:00
Julio Castillo
a866182161
Test documentation examples in the examples/ folder
2022-09-06 17:46:09 +02:00
Simone Ruffilli
a29faa7f8c
instance_termination_action must be set for compute-vm spot instances ( #778 )
...
* Bumped providers version
* Adds ability to control instance_termination_action for SpotVMs
2022-08-20 18:37:17 +02:00
Ludovico Magnocavallo
b20ab65756
GKE hub module refactor ( #760 )
...
GKE hub module refactor
Co-authored-by: Daniel Marzini <danielmarzini@users.noreply.github.com>
Co-authored-by: Miren Esnaola <mirene@google.com>
2022-07-29 08:39:25 +02:00
Julio Castillo
07b00c34fe
Bump providers versions and pin versions for tests
2022-06-28 10:20:40 +02:00
Julio Castillo
e6135bb323
Remove preemptible VMs in favor of spot VMs
2022-05-04 18:01:07 +02:00
Simone Ruffilli
e84f90f9a2
Update variables.tf
2022-05-04 10:01:28 +02:00
Simone Ruffilli
be54fe31d7
Adds Spot VM support to compute-vm
2022-05-04 09:48:31 +02:00
Aleksandr Averbukh
189ee7ae1a
Add shielded_instance_config support for compute instance template
2022-04-23 08:45:04 +02:00
Ludovico Magnocavallo
ab646f38ed
Bump provider versions to >= 4.17.0, terraform to >= 1.1.0 ( #634 )
...
* bump provider versions to >= 4.17.0, terraform to >= 1.1.0
* bump teraform version in lint check, edit CHANGELOG
2022-04-17 13:55:40 +02:00
Ludovico Magnocavallo
0b5ed8b7ef
Add support for resource management tags and tag bindings ( #552 )
...
* organization module
* folder module
* project module
* fix project binding
* use id instead of name for references
* kms module
* compute-vm
* fix compute-vm
2022-02-20 11:14:18 +01:00
Simone Ruffilli
abb6b50a46
Add periods at the end of each description field where missing ( #478 )
2022-01-31 10:45:34 +01:00
Julio Castillo
cf423998f0
Align tftest syntax with tdoc
...
This commit changes the token separator for inline examples from a
semicolon to a space
2022-01-28 21:34:15 +01:00
Julio Castillo
31f625f149
Link vars and outputs from README
2022-01-22 14:15:16 +01:00
Simone Ruffilli
ee25965c89
Copyright bump ( #410 )
2022-01-01 15:52:31 +01:00
Ludovico Magnocavallo
2bc5f7d33c
update tfdoc ( #404 )
2021-12-30 10:56:19 +01:00
Ludovico Magnocavallo
1ac3fe4460
New tfdoc version ( #396 )
...
* update tfdoc
* rewrite check docs, refactor tfdoc replace, regenerate modules READMEs
* remove dead code from check docs
* do not fail on missing variable files in check docs
* fix typos
2021-12-21 08:51:51 +01:00
Andras Gyomrey
d2ef4c3277
Allow using gVNIC in compute-vm ( #211 )
2021-11-08 11:18:15 +00:00
Ludovico Magnocavallo
f6775aca1b
Use the same versions file everywhere, pin to tf 1.0+ provider 4.0+ ( #355 )
...
* add default versions file, remove old providers and versions
* use default versions file everywhere
* fix kms module
* re-add provider configuration for data platform step 2
* update kms module outputs sorting
* update kms documentation
* fix data solutions tests
* fix GKE workload identity attribute name
* work around firewall provider issue in datafusion example
2021-11-03 15:05:43 +01:00
Caio Tavares
6cb381334e
Added dynamic description of compute-vm ( #328 )
...
* Added dynamic description of compute-vm
* Re-ordered variables alphabetically
2021-10-16 16:23:11 +02:00
Julio Castillo
1d13e3e624
Add more validations to linter
...
- Ensure all variables and outputs are sorted
- Ensure all variables and outputs have a description
- Add data-solutions/data-platform-foundations to linter
Fix all modules to follow these new conventions.
2021-10-08 18:26:04 +02:00
Ludovico Magnocavallo
262f823464
Refactor compute-vm to remove multiple instance support ( #314 )
...
* first iteration, largely untested
* basic tests pass
* basic tests pass
* nic test
* disk tests, refactor
* fix tests
* update README
* update gcs to bq example
* fix README examples, do not create disks for template
* fix data solutions examples
* update cloud operations examples
* update networking examples, mig and ilb modules examples
* update default image to debian 11
* update README table
2021-10-04 10:46:44 +02:00
Ludovico Magnocavallo
3597769e8e
Support one group per zone in compute-vm ( #218 )
...
* support multiple groups per zone in compute-vm
* fix ilb as next hop example
2021-04-01 08:27:38 +02:00
Ludovico Magnocavallo
5149795bec
Allow using a non-suffixed name in compute-vm ( #217 )
...
* allow using a non-suffixed name in compute-vm
* update README
2021-03-31 20:01:10 +02:00
Ludovico Magnocavallo
3155bd7349
Update main.tf ( #213 )
2021-03-20 12:56:11 +01:00
Julio Castillo
1e11c670f5
Update copyright to 2021
2021-02-15 09:38:10 +01:00
Ludovico Magnocavallo
e3a03a76ff
Add support for rePD and existing disk attachment to compute VM ( #194 )
...
* initial untested support for repd in compute-vm
* fix repd reference in instance disks
* add support for snapshot source, change disk variable
* fix attach existing disk to instance
* fix examples, add documentation on disk sources
* fix attaching disk for instance templates, add examples
* fix data e2e examples
* update vars table in README
2021-02-03 08:00:08 +01:00
Ludovico Magnocavallo
0ce058e04f
Fix tests for 0.14 compatibility ( #191 )
...
* remove sensitive attribute from VPN modules key output
* fix type error in service account example
* update CI Terraform version
* update VPN modules docs
* require version in compute mig module
* require version in compute mig module for scaling_schedules
* update compute mig test, move provider version requirement in fixture
2021-01-29 14:55:50 +01:00
Ludovico Magnocavallo
7aaf24afd3
Add support for confidential compute to compute-vm module ( #179 )
...
* add support for confidential compute
* add support for confidential compute to instance template
2020-12-05 09:14:12 +01:00
Julio Castillo
eecdee63e6
Make examples in READMEs runnable and testable
2020-11-07 10:28:33 +01:00
Ludovico Magnocavallo
44f1828c33
rename iam variable in compute vm module
2020-11-05 09:10:49 +01:00
Julio Castillo
b13a10efe5
Remove iam_roles from compute-vm module
2020-10-30 00:18:10 +01:00
Julio Castillo
ab39c9e4d4
Update compute-vm variable documentation
2020-10-12 13:10:13 +02:00
Julio Castillo
2bef92da57
Fixes to `compute-vm` module
2020-10-12 12:26:00 +02:00
Julio Castillo
0b34b9fa71
Bring back firewall logging
2020-10-07 10:30:26 +02:00
Luca Prete
f2c80e17f1
[ #138 ] Update copyright headers to 2020 ( #139 )
...
Co-authored-by: Luca Prete <lucaprete@google.com>
2020-09-23 11:07:03 +02:00
Julio Castillo
5ae489f50d
Add alias IP support in `compute-vm` ( #127 )
...
* Add alias IP support in `compute-vm`
* Fix tests
* add end to end tests for data solutions examples and fix example errors
* update changelog
* add missing boilerplate
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2020-08-29 10:12:30 +02:00
Ludovico Magnocavallo
f62b9362a2
ILB for appliances example ( #122 )
...
* rename infrastructure folder to networking
* example WIP: VPCs
* move ip forwarding to its own variable in compute-vm module
* add per-instance metadata support to compute-vm module
* ipip tunnels on linux savepoint
* simple multinic gateways example
* remove stale files
* resolve conflicts
* update diagram
* rename folder
* use a template for gw cloud config, rename some resources and files
* Update README.md
* Update README.md
* add basic plan tests for all networking e2e examples
* fix test for foundations/environments e2e example
* fix shared vpc e2 example count error in gke node service account permissions
* use module path for assets in onprem e2e example
* use project id from module in ilb e2e example
* add mising boilerplates in tests
* run examples tests in ci
* update module's README
* rename ilb example
* Update README.md
* fix rp_filter configuration
* README
* Update README.md
* Update README.md
* Update README.md
* update CHANGELOG
* update CHANGELOG
* Update README.md
2020-08-15 10:12:43 +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
Ludovico Magnocavallo
370eb67242
fix external IP reservation in compute-vm module
2020-07-10 17:04:53 +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
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
Sumeet Chaurasia
ceb725bb84
Reserved External IP-Compute VM ( #107 )
2020-07-02 11:41:42 +02:00