Commit Graph

48 Commits

Author SHA1 Message Date
Ludovico Magnocavallo 91615e0140
VPC-SC module factories (#2081)
* factory untested

* factory example test
2024-02-17 08:02:16 +01:00
Ludovico Magnocavallo c7bef582e8
add support for IAM to vpc sc module (#1846) 2023-11-08 11:27:44 +01:00
LudovicEmo c558d9b753
Vpc sc allow null for identity type (#1632)
* vpc-sc : allow null for identity_type

* cloudsql-instance : fmt

* vpc-sc: tfdoc

* modules/vpc-sc: update the test result for the identity_type field

* cloudsql-instance: remove empty line
2023-08-29 04:28:57 +02:00
LudovicEmo 32b347b104
modules/vpc-sc: add support for method_selectors/permission (#1439)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2023-06-25 06:45:37 +00:00
Ludovico Magnocavallo 884cb8b4bf
Ensure all modules have an `id` output (#1410)
* net-vpc

* a-d

* complete modules

* fix error
2023-06-02 16:07:22 +02:00
Julio Castillo f5e1717319 Migrate VPC-SC tests to examples 2023-04-17 09:17:54 +02:00
Julio Diez 0ca0b2e99b
Fix variable name 2023-02-20 14:37:33 +01:00
lcaggio 00f781bd9f First commit 2023-01-17 13:39:28 +01:00
Julio Castillo e700a27079 Enforce terraform fmt in examples 2022-12-18 14:00:19 +01:00
Ludovico Magnocavallo 67fca1036c
Fix status ingress/egress policies in vpc-sc module (#1036)
* fix status ingress/egress policies

* fix default status/spec value
2022-12-05 09:00:00 +01:00
Ludovico Magnocavallo a9c47681d8
Refactor vps-sc module for Terraform 1.3 (#963)
* wip

* example tests

* module tests

* streamline example

* fast

* tfdoc

* use collections.Counter in tests
2022-11-10 19:34:45 +01:00
Julio Castillo a866182161 Test documentation examples in the examples/ folder 2022-09-06 17:46:09 +02:00
Ludovico Magnocavallo 086e4a2b2c
add egress / ingress policy example (#768) 2022-08-04 17:00:14 +02:00
Ludovico Magnocavallo 91d7501099
Update README.md 2022-02-13 16:14:24 +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
lcaggio 8203ebdc64
VPC-SC: Fix README (#462)
* fix VPC-SC README.

* fix VPC-SC README.

* Update README.md

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-01-28 08:44:07 +01:00
Julio Castillo 31f625f149 Link vars and outputs from README 2022-01-22 14:15:16 +01:00
Ludovico Magnocavallo 79b7a6f40f disable device policy support in vpc-sc module 2022-01-04 16:22:15 +01:00
Ludovico Magnocavallo 91b40dc9c3
Interpolate access levels by key in vpc sc module (#414)
* interpolate access levels by key

* fix access level reference

* fix num resources in last README test
2022-01-04 13:02:38 +01:00
Ludovico Magnocavallo 347a4c6b69
remove lifecycle block from vpc sc perimeters (#412) 2022-01-03 15:27:00 +01:00
Ludovico Magnocavallo b9f00bf259
fix cases where bridge perimeter status resources are null (#408) 2021-12-31 16:47:39 +01:00
Ludovico Magnocavallo ea2f92cfff
Update README.md 2021-12-31 15:14:33 +01:00
Ludovico Magnocavallo 2c7dab3bb2
New vpc-sc module implementation (#406)
* first implementation

* minimal output

* split service perimeters in regular and bridge

* tests and fixes

* new vpc-sc implementation

* remove providers file used for testing

* remove provider used during development
2021-12-31 13:29:22 +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
lcaggio 38b8ea1757
Fix VPC-SC module, add example (#387) 2021-12-13 11:26:09 +01:00
Daniel Marzini a220f2ab1f Update README.md 2021-09-14 15:12:06 +02:00
Daniel Marzini 10698e1d5c Update README.md 2021-09-14 14:57:20 +02:00
Daniel Marzini 6b24acbbd4 Update README.md 2021-09-14 10:21:36 +02:00
Daniel Marzini 8ed8d917a9 Update README.md 2021-09-03 18:54:53 +02:00
Daniel Marzini 996b8d2aa6 Update README.md 2021-09-03 18:53:30 +02:00
Daniel Marzini ae2dddc192 Update README.md 2021-09-03 18:41:51 +02:00
Daniel Marzini d5fde0e6e1 adjusting code to reflect pr changes request 2021-09-03 18:35:06 +02:00
Daniel Marzini a0e6cfab67 Update README.md 2021-07-22 11:45:02 +02:00
Daniel Marzini 5b88545ca0 Update README.md 2021-07-22 10:41:11 +02:00
Daniel Marzini a604e66cf9 Update README.md 2021-07-22 10:18:18 +02:00
Daniel Marzini 0f10e820f9 Enable multiple vpc-sc perimeters over multiple modules 2021-07-22 09:19:10 +02:00
lcaggio a7d58a73cf Fix README 2021-05-17 20:41:59 +02:00
lcaggio 4ecd13225a Fix variable 2021-05-17 18:38:46 +02:00
lcaggio f306f01fbc Fix and change variable 2021-05-16 08:31:55 +02:00
lcaggio 628ab41c33 Add Support for Ingress Egress policy 2021-05-07 09:07:36 +02:00
lcaggio eee06bd5dc
Remove device_policy, it requires BeyondCorp Enterprise Premium. we will implement it in future iterations. (#215) 2021-03-29 12:17:11 +02:00
lcaggio de5a9d747a
Add VPC-SC support for Regions, device policy and access policy dependency (#210)
* Add VPC-SC support for Regions, device policy and access policy dependency.

* fix compute mig module test

* Fixes

* Fix example

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2021-03-18 13:04:37 +01:00
Ludovico Magnocavallo dda715670c
Minor vpc-sc module corrections (#167)
* Fix #158

* fix variable type
2020-11-16 18:04:12 +01:00
Julio Castillo eecdee63e6 Make examples in READMEs runnable and testable 2020-11-07 10:28:33 +01: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
Lorenzo Caggioni 7cf3990d27 - Fixes based on PR comments
- Movig module under Security
 - Formatting TF files
2020-07-10 07:22:57 +02:00
Lorenzo Caggioni 39d2d90bcd Move VPC-SC to a separate module. 2020-07-07 10:23:26 +02:00