Fawzi
ebf93a66ad
add new test to README
2023-04-11 23:38:16 +10:00
Fawzi
4722efea40
bump provider versions
2023-04-11 22:18:31 +10:00
Fawzi
3c4254fc1f
update firewall_policy_enforcement_order variable
2023-04-11 22:08:41 +10:00
Fawzi
db3c48736c
add firewall enforcement variable to VPC
2023-04-10 01:28:12 +10:00
Ludovico Magnocavallo
865ef463bb
Support new fields in bigquery module, bump provider versions, unpin local provider ( #1306 )
...
* add support for new attributes to bigquery module
* bump provider versions
2023-04-05 14:22:52 +00:00
Ludovico Magnocavallo
8a8b7ea35f
Add support for `iam_additive` and simplify factory interface in net VPC module ( #1259 )
...
* initial implementation, no tests
* change interface, align tests
* add examples ToC
* fix variable type, test module-level variable
2023-03-17 10:12:34 +00:00
Ludovico Magnocavallo
79a6e9b191
pin local provider ( #1256 )
2023-03-16 10:59:06 +00:00
Ludovico Magnocavallo
6ba0f8b0ba
allow overriding name in net-vpc subnet factory ( #1239 )
2023-03-11 09:30:42 +01:00
Ludovico Magnocavallo
8fc9549c58
add support for proxy and psc subnets to module factory ( #1211 )
2023-03-05 17:08:43 +01:00
Ludovico Magnocavallo
3a2d6e1b46
Fix secondary ranges in net-vpc readme ( #1198 )
...
Fixes #1197
2023-03-01 08:08:07 +01:00
Dan Farmer
52eb83758f
Fix compute-vm:CloudKMS test for provider>=4.54.0
...
* TF provider >= 4.54.0 now returns `rsa_encrypted_key` for
`google_compute_disk.disks["attached-disk"]` (see
hashicorp/terraform-provider-google#4448 )
* Add this field to expected model to fix test assertion failure
* Update required TF provider to 4.55.0 (latest) since the assertion
will now fail with <4.54.0, which do not return `rsa_encrypted_key`
* Updated the whole repo on advice from @ludoo
2023-02-28 15:10:22 +00:00
Julio Castillo
3085922cea
Fix tests
2023-02-20 12:19:36 +01:00
James D'Alfonso
15487078d4
add missing iam properties to factory_subnets
2023-02-13 10:00:50 +01:00
Julio Castillo
08f2540872
Bump provider version
2023-02-07 15:59:29 +01:00
Wiktor Niesiobędzki
1a657b31d3
Bump beta provider to 4.48
...
This is the first version that supports `gateway_api_config` block
2023-01-29 15:50:24 +01:00
Julio Castillo
f014ee5794
Fix linting
2023-01-19 18:35:00 +01:00
Julio Castillo
a12089ef8c
Move VPC factory and route tests to examples.
2023-01-19 17:47:14 +01:00
Julio Castillo
12f07ebeac
Extend net-vpc README with more tested examples
2023-01-19 17:47:14 +01:00
Julio Castillo
fd19e4a923
add inventories net-vpc examples
2023-01-19 17:47:14 +01:00
Julio Castillo
410b7f5ba3
Fix typo in net-vpc DNS policies
2023-01-19 17:47:14 +01:00
Israel Herraiz
8718fedcab
Fix service account prefix after provider version bump
2022-12-23 00:45:37 +01:00
Israel Herraiz
7df527e1ef
Bump versions EVERYWHERE
2022-12-23 00:06:42 +01:00
Julio Castillo
e700a27079
Enforce terraform fmt in examples
2022-12-18 14:00:19 +01:00
Julio Castillo
513fdfe91a
Make directive for supporting files in examples more explicit
2022-12-18 14:00:19 +01:00
Julio Castillo
2cd74823b1
Generate files based on readme contents
2022-11-18 17:48:52 +01:00
Julio Castillo
7be3288cc7
Add tests for factory examples
2022-11-18 17:48:52 +01:00
Ludovico Magnocavallo
29cde275f0
fix backwards compatibility for vpc subnet descriptions ( #926 )
2022-10-28 08:13:04 +02:00
Julio Castillo
1a3bb25917
Update provider version (needed for dns logging support).
2022-10-25 12:15:02 +02:00
Ludovico Magnocavallo
41c416b55e
make mtu default explicit in variable description
2022-10-14 11:13:48 +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
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
Julio Castillo
ac835b6d50
Update terraform version
2022-09-28 11:28:05 +02:00
Julio Castillo
269894e92b
Update all internal links examples -> blueprints
2022-09-09 16:39:01 +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
Ludovico Magnocavallo
1abfdacd56
Avoid setting empty IAM binding in subnet factory ( #731 )
...
* avoid setting empty IAM binding in subnet factory
* fix tests
2022-07-11 21:11:52 +02:00
Julio Castillo
07b00c34fe
Bump providers versions and pin versions for tests
2022-06-28 10:20:40 +02:00
Ludovico Magnocavallo
22d0506f4d
fix condition in subnet factory flow logs ( #654 )
2022-05-18 10:33:56 +02:00
Ludovico Magnocavallo
e3ea387f0f
fix subnet schema ( #651 )
2022-05-09 11:53:57 +02:00
Ludovico Magnocavallo
31d87e722a
fix secondary range in yaml example
...
fixes #650
2022-05-09 11:23:54 +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
Aleksandr Averbukh
62a299a6f5
Deprecate subnets_l7ilb variable, add support for proxy_only and psc subnets.
2022-04-13 16:38:47 +02:00
Aleksandr Averbukh
6ab121a836
Add support for Private Service Connect and Reginal Managed Proxy subnets for net-vpc module
2022-04-12 12:57:33 +02:00
Ludovico Magnocavallo
b0fcc94b1d
fix duplicate locals in net-vpc ( #587 )
2022-03-17 17:16:31 +01:00
Ludovico Magnocavallo
9a05aed0e8
fix psa peering routes, split files ( #586 )
2022-03-17 16:39:37 +01:00
Ludovico Magnocavallo
fef3ed8c93
Fix missing service networking identity in project, PSA ( #585 )
...
* test
* test
* test
* fix
* tfdoc
* fix tests
* fix tests
2022-03-17 14:29:28 +01:00
Ludovico Magnocavallo
976eb9fe48
shorten PSA name
2022-03-17 11:41:36 +01:00
Ludovico Magnocavallo
a22cf80b60
Fix PSA ( #584 )
...
* Fix PSA
* fix typo
* fix vpn/peering diff
* output filename on failed checksum test
2022-03-17 11:09:02 +01:00
Luca Prete
7c3d9beced
[ #576 ] net-vpc - Add the ability to export/import custom routes throu… ( #577 )
2022-03-11 14:40:44 +01:00
Ludovico Magnocavallo
c91802f501
Change psa type in net-vpc, fix psa in fast net stages ( #545 )
...
* change psn type in net-vpc, fix psa in fast net stages
* fix doc examples
* psn ---> psa
2022-02-15 09:24:27 +01:00
Julio Castillo
a22dff8938
Update net-vpc module to use beta provider for shared vpc resources.
2022-02-05 16:50:03 +01:00
Julio Castillo
37f37f939d
Fix stage2 readme
2022-02-03 19:22:32 +01:00
Julio Castillo
346914d315
Add delegated grants for stage 3 service accounts
2022-02-03 19:22:32 +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
Julio Castillo
2728c4aac1
Fix all internal links
2022-01-11 11:53:19 +01:00
Julio Castillo
b2fe01c4fb
Fix vpc subnet factory for yamls with different shapes.
2022-01-11 11:16: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
Ludovico Magnocavallo
3758c8f3b0
Improve PSN support in net-vpc module ( #384 )
...
* improve PSN support
* fix variable order
* fix example test
* fix cloudsql example
2021-12-09 17:26:37 +01:00
Ludovico Magnocavallo
fcc8741cd2
refactor locals ( #382 )
2021-12-07 19:26:24 +01:00
Simone Ruffilli
a0f15931a5
Removed dead code
2021-12-07 10:08:41 +01:00
Simone Ruffilli
8a2ad25a45
Updated README.md. Added tests.
2021-12-07 09:35:24 +01:00
Simone Ruffilli
04cf75d446
Gracefully handle a null secondary_ip_range
2021-12-06 17:48:12 +01:00
Simone Ruffilli
dfe1bad689
Adds support for IAM per-subnet IAM bindings via factory
2021-12-06 17:32:15 +01:00
Simone Ruffilli
a2d5f6bfa7
Code cleanup
2021-12-06 16:46:46 +01:00
Simone Ruffilli
ca03a8aea7
Update README.md
2021-12-06 16:44:33 +01:00
Simone Ruffilli
90718bf134
net-vpc module: added subnet mini-factory
2021-12-06 16:41:08 +01: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
Ludovico Magnocavallo
bf5e1e5b4a
add l7ilb subnets to net-vpc module
2021-10-18 09:52:28 +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
Julio Castillo
77c888e302
Always output project_id from net-vpc
2021-10-06 18:21:04 +02:00
sruffilli
7b01f3dc08
Updated README.md for net-vpc module ( #299 )
...
* Updated README.md for net-vpc module
Added a recommendation to avoid setting up shared vpcs using the module for prod usage.
* Update README.md
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2021-08-25 16:54:05 +02:00
Julio Castillo
cb7c65135e
Update CI processes ( #296 )
...
- Upgrade to latest terraform version (1.0.4)
- Remove tflint from linting pipeline (was not doing anything)
- Add terraform fmt check to linting pipeline
- Pass all code through terraform fmt
2021-08-12 17:30:53 +02:00
sruffilli
654e171b32
Update resource name of google_dns_policy on net-vpc
2021-05-12 16:40:56 +02:00
sruffilli
36d253f1d3
DNS Policies in net-vpc module ( #238 )
2021-05-12 15:02:27 +02:00
Julio Castillo
047ce9551e
Include VPC name in PSC reserved address name
2021-04-21 17:17:25 +02:00
Julio Castillo
140378f2f5
Add support for private service connect
2021-04-21 13:55:00 +02:00
Luca Prete
aebb9dc1fe
[ #219 ] Specify VPC module key output format in docs ( #220 )
...
* [#219 ] Specify VPC module key output format in docs
* Update README.md
Co-authored-by: Ludovico Magnocavallo <ludo@qix.it>
2021-04-01 15:23:57 +02:00
Julio Castillo
1e11c670f5
Update copyright to 2021
2021-02-15 09:38:10 +01:00
Ludovico Magnocavallo
2aa72c91f5
add provider constraint for net-vpc, fixes #185
2021-01-15 19:01:28 +01:00
Ludovico Magnocavallo
f611e99e46
add mtu ( #170 )
2020-11-19 16:48:08 +01:00
Julio Castillo
eecdee63e6
Make examples in READMEs runnable and testable
2020-11-07 10:28:33 +01:00
Ludovico Magnocavallo
f9e4a1d614
bump required tf version in modules using conditions
2020-11-06 08:43:06 +01:00
Ludovico Magnocavallo
8267252031
rename iam variable in net vpc module
2020-11-05 08:49:29 +01:00
Julio Castillo
7bd31ccf52
Added some basic variable validation
2020-11-03 08:12:11 +01:00
Julio Castillo
c75230adf3
Remove iam_roles from net-vpc
2020-10-30 19:19:40 +01:00
Julio Castillo
db330fe063
Add support for single-sided peerings.
2020-10-12 16:16:24 +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
21aee6f0aa
Reference VPC name from module variable
2020-08-31 14:54:05 +02:00
Julio Castillo
067f072c26
Make VPC creation optional in `net-vpc` module
2020-08-31 14:09:28 +02:00
Ludovico Magnocavallo
ae2e4dc3ad
interpolate vpc name in routes
2020-06-12 12:07:28 +02:00
Ludovico Magnocavallo
cf79c65d3b
Set instance zone in net vpc route to avoid recreation ( #90 )
2020-06-07 18:06:15 +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
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