Ludovico Magnocavallo
40cb46e1cc
Add support for Shared VPC service IAM to project module ( #525 )
...
* project module changes
* fix examples
* add comments in module code
* re-enable nullable on svpc variables
* project factory
* Tests still failing (#526 )
* fix pf
* tfdoc
* pf test boilerplate
Co-authored-by: Simone Ruffilli <sruffilli@google.com>
2022-02-09 11:06:51 +01:00
lcaggio
042266f28c
Merge branch 'master' into fast-dev-dp
2022-02-08 09:02:48 +01:00
Ludovico Magnocavallo
c2a2b799b9
Remove older GCS to BQ example ( #523 )
...
* remove older GCS to BQ example
* remove tests
2022-02-08 07:30:03 +01:00
Lorenzo Caggioni
97b9dae7e1
Fix misconfiguration and tests.
2022-02-07 23:16:47 +01:00
Lorenzo Caggioni
072fa3d9fd
Fix test.
2022-02-07 08:25:16 +01:00
Lorenzo Caggioni
d692c57f20
Fix test module location, for real.
2022-02-05 09:30:40 +01:00
Lorenzo Caggioni
1c3f6270fb
Fix test module location.
2022-02-05 09:23:14 +01:00
Lorenzo Caggioni
30b18374fb
Replace DP example tests with the new one.
2022-02-05 09:11:03 +01:00
lcaggio
16a36b2452
Merge branch 'master' into fast-dev-dp
2022-02-04 13:55:20 +01:00
Simone Ruffilli
0cef15301b
Rename 02-networking to 02-networking-vpn ( #492 )
2022-02-04 11:03:37 +01:00
lcaggio
c5df7f260a
Merge branch 'master' into fast-dev-dp
2022-02-03 23:22:36 +01:00
Luca Prete
9d81e29be7
FAST - Add 02-networking-nva stage
2022-02-03 20:30:56 +01:00
Lorenzo Caggioni
93fdcbf335
fix tests
2022-02-03 17:52:02 +01:00
Lorenzo Caggioni
fb851a5afa
fix tests
2022-02-03 17:45:33 +01:00
Ludovico Magnocavallo
dd32f2f211
Merge branch 'master' into fast-dev-dp
2022-02-02 19:32:55 +01:00
Saurabh Shivgunde
4e86fbcd04
Add ip_range variable to apigee-x-instance module ( #485 )
...
* Add ip_range variable for apigee-x-instance module
* Add variable definition and validation for ip_range
* Update the validation rule for ip_range variable
2022-02-02 19:32:26 +01:00
lcaggio
fafbe5c1c8
Merge branch 'master' into fast-dev-dp
2022-02-02 16:58:18 +01:00
Lorenzo Caggioni
b2cb55a58f
Fix test, for real? :-)
2022-02-02 16:55:19 +01:00
Lorenzo Caggioni
a597679349
Fix test error
2022-02-02 16:41:28 +01:00
Elia
e279818b55
M4CE (v5) Examples ( #413 )
...
* M4CE (v5) Examples
* vm-migration new parent folder
* New vm-migration section
* Updated variables description
* Updated variables description
* Fixed broken link
* Updated variables description
* Fix lines spacing
* Added output variable
* Updated Variables description
* New variables layout
* fixed new line
* M4CE (v5) Examples
* vm-migration new parent folder
* New vm-migration section
* Updated variables description
* Updated variables description
* Fixed broken link
* Updated variables description
* Fix lines spacing
* Added output variable
* Updated Variables description
* New variables layout
* fixed new line
* added test
* move test on new folder
* Updated variables order and description
* Added output file
* vm-migration example tests
* Updated output description
* Updated output description
* Fixed Typo
Co-authored-by: Simone Ruffilli <sruffilli@google.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-02-02 15:21:10 +01:00
Julio Castillo
5396735bc6
Changes to gcs to bq least privilege example ( #447 )
...
* Changes to gcs to bq least privilege example
* Fix 'try' on encryption variables
* Fix roles
* Fix tests
* Use templatefile in output variables
* Remove FIXME
* Fix tests
* Changes to gcs to bq least privilege example
* Fix 'try' on encryption variables
* Fix roles
* Fix tests
* Use templatefile in output variables
* Remove FIXME
* Fix tests
* Merge branch 'jccb/gcs-to-bq-changes' of https://github.com/GoogleCloudPlatform/cloud-foundation-fabric into jccb/gcs-to-bq-changes
* fix readme and template
* fix readme
* Update FIXME.
Co-authored-by: Lorenzo Caggioni <lorenzo.caggioni@gmail.com>
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-02-02 08:32:59 +01:00
Lorenzo Caggioni
a193dcc0b4
Add test.
2022-02-01 10:41:27 +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
e2abd772f2
Update resman modules ( #475 )
...
* Make logging sinks in different resources use the same API
* Split resman modules in multiple files. Add nullables where applicable
2022-01-29 19:35:33 +01:00
Julio Castillo
56da26620a
Give meaningful names to tests derived from examples.
2022-01-28 21:34:15 +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
Luca Prete
c30d29bf9b
[ #455 ] net-glb: add support for null health_checks_config_defaults ( #456 )
2022-01-25 14:06:02 +01:00
lcaggio
a97c606253
Support service dependencies for crypto key bindings in project module ( #443 )
...
* Support services that require crypto/decrypt role on robot service accounts
* delete test and upload refactored implementation
* fix duplicate key on dependent services, add tests
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-01-22 08:32:13 +01:00
Julio Castillo
3f798d3032
Fix failing tests ( #442 )
...
* Fix failing tests
* useless try
* try using job dependencies
* retry
* revert
* disable concurrency, try general config/env
* use in-job config
* don't use home var
* individual configs
* remove multiline
* useless tests
* one more try to figure it out
* use the right home path
* multiline
* fix typo
* remove unused files, revert conftest changes
* Move plugin init to separate action
* Remove parallel tests
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-01-21 17:25:16 +01:00
Julio Castillo
43270247bf
Delete README.md
2022-01-19 19:15:33 +01:00
Ludovico Magnocavallo
e866db2c88
Merge Fabric FAST ( #435 )
...
Co-authored-by: Simone Ruffilli <sruffilli@google.com>
Co-authored-by: Julio Castillo <jccb@google.com>
2022-01-19 14:19:39 +01:00
Lorenzo Caggioni
33ce60cf00
fix tests
2022-01-14 18:39:22 +01:00
Ludovico Magnocavallo
5d7adc4bf2
Merge branch 'master' into gcs2bq-least-privileges
2022-01-14 18:04:36 +01:00
Lorenzo Caggioni
3eb1f93f4b
Move tests
2022-01-14 18:02:08 +01:00
Julio Castillo
fcd6be9733
Fix gcs_to_bq_with_dataflow tests
2022-01-14 16:53:15 +01:00
Luca Prete
4f79e12365
Rename net-xlb module to net-glb ( #433 )
2022-01-14 16:52:03 +01:00
Luca Prete
ca82d5157a
GLB - Module tests and fixes ( #431 )
...
* GLB - Module tests and fixes
* Fixing linting
* Fix ssl cert id vs self_link
* Simplify syntax
2022-01-14 16:05:10 +01:00
lcaggio
93ebf713a1
Add gcs2bq with least privileges example
2022-01-14 09:32:23 +01:00
Simone Ruffilli
baa31e82d9
Resource Factory update ( #430 )
...
* Resource Factory update
* Pleasing the linting gods
* Poking the linting gods
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-01-14 08:30:06 +01:00
Luca Prete
36651e40a0
Fix gcs_to_bq_with_dataflow test failing ( #428 )
2022-01-13 14:09:55 +01:00
Julio Castillo
f0773d4883
Simplify tests by figuring out fixture dir automatically
...
We always use the same directory for terraform fixtures, so it's quite
easy to figure out its path from a pytest fixture by inspecting the
stack. This commit implements this functionality and decreases the
amount of boilerplate needed to write a test.
(Ported from fast)
2022-01-11 11:54:13 +01:00
Julio Castillo
144e841ce4
Allow tftest fixtures to run tests in parallel
2022-01-11 11:53:19 +01:00
Julio Castillo
8df9ef9035
New folder structure
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
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
yuryninog
a3da60bc71
Merge branch 'master' into yuryninog-patch-1
2022-01-03 10:47:27 -05:00
Simone Ruffilli
ee25965c89
Copyright bump ( #410 )
2022-01-01 15:52:31 +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
Julio Castillo
f78902aee8
Update hierarchical firewall resource
...
This replaces all the `google_compute_organization_security_*`
resources with the newer `google_compute_firewall_*` resources.
2021-12-31 13:06:35 +01:00
arsenyspb
63bd79df31
Merge branch 'master' into feature/saiebq-file-exporter
2021-12-23 23:16:14 +08:00
Arseny Chernov
6717abf0e1
Add count to toggle optional modules
2021-12-23 22:07:14 +08:00
Simone Ruffilli
eeaca4023d
net-address: Added support for PSA ranges
2021-12-16 18:11:40 +01:00
Arseny Chernov
9bbae283ba
Update test_plan and README
2021-12-16 21:27:51 +08:00
Arseny Chernov
b36688ec78
Add optional BQ table as a file export config
2021-12-16 17:54:38 +08:00
Arseny Chernov
976fabdf86
Add bq_table_overwrite handling
2021-12-16 15:39:49 +08:00
Aleksandr Averbukh
9d54e5a073
Merge branch 'master' into sa-upload-crt
2021-12-15 18:22:04 +01:00
Julio Castillo
a22169dcd2
Merge branch 'master' into yuryninog-patch-1
2021-12-15 15:27:26 +01:00
Julio Castillo
36b277222d
Bump tftest version
...
Bump tftest version to 1.6.1 and ensure test runners can update
providers if needed and available.
2021-12-15 15:12:43 +01:00
Stenio Ferreira
601ebd028e
Added support for Stateful Managed Instance Groups ( #367 )
...
* First iteration updates
* All tests passing
* Updated README and var descriptions
* Updated README
* Updated example README
* Consolidated stateful vars
* consolidated stateful vars
* Updated README
* Requested changes to try
* Fixed README examples and try
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2021-12-15 14:56:53 +01:00
Julio Castillo
71a51b04f7
Merge branch 'master' into yuryninog-patch-1
2021-12-15 14:19:27 +01:00
arsenyspb
5beba11058
Add target_node and minor fixes ( #389 )
...
* Add separate BQ tables per asset type
* Add missing BQ location
* Add missing CF region
* Change Scheduler job to non-generic
* Add target_node, pass tests
* Do tfdoc.py
* Do terraform fmt
* Do terraform fmt -recursive for tests' fixtures
* Fix typo in test's variables
2021-12-15 14:07:48 +01:00
Julio Castillo
d2859a295f
Merge branch 'master' into yuryninog-patch-1
2021-12-15 11:46:46 +01:00
Aleksandr Averbukh
aab78ece8b
Merge branch 'master' into sa-upload-crt
2021-12-13 22:50:13 +01:00
averbukh
ae4d8e0611
Add basic test for onprem-sa-mgmt example
2021-12-13 22:48:18 +01:00
Ludovico Magnocavallo
174de3a087
Organization module refactor, in-module firewall policy factory for organization and folder ( #385 )
...
* move iam and logging to separate files, minimal refactoring
* update README
* fix example
* factory
* tfdoc
* boilerplate
* remove data_folder variable
* tfdoc
* fix default factory name
* add firewall policy to folder module
* add factory example
2021-12-13 08:41:02 +01:00
Yury Nino
63019316e1
Remove location from local.prefix
2021-12-12 16:15:21 -05: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
lcaggio
546385d3ee
Add support for partitioned tables on Organization sinks ( #380 )
...
* Add support for partioned tables on Organization sinks
* Update changelog
* Fix lint
* Fix lint
* Use simple bool instead of block
* fix README
* Fix Readme
* Rename variable
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2021-12-09 09:55:47 +01:00
Simone Ruffilli
28d84c120a
Tests for net-vpc-firewall module
2021-12-07 14:40:23 +01:00
Simone Ruffilli
3b79b79d92
Added license boilerplate to subnet yaml data in tests
2021-12-07 09:37:51 +01:00
Simone Ruffilli
8a2ad25a45
Updated README.md. Added tests.
2021-12-07 09:35:24 +01:00
Andras Gyomrey
d2ef4c3277
Allow using gVNIC in compute-vm ( #211 )
2021-11-08 11:18:15 +00:00
Andras Gyomrey
4d278d62e4
Default for output_file_mode
2021-11-07 13:20:00 +00:00
Andras Gyomrey
1da5bde47b
Support for consistent function bundles
2021-11-07 10:27:10 +00:00
apichick
731688a782
parent 871dd3f5c0
...
author apichick <apichick@google.com> 1635979681 +0100
committer apichick <apichick@google.com> 1635980891 +0100
parent 871dd3f5c0
author apichick <apichick@google.com> 1635979681 +0100
committer apichick <apichick@google.com> 1635980849 +0100
update vpc connector variables and added options variable to containers
Updated iam variable description
Included tests for examples in README
Fixed linting
2021-11-04 00:09:28 +01:00
apichick
7f5f5a460f
Added cloud-run module
2021-11-03 23:50:07 +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
923ba819d1
bigquery-dataset
2021-10-19 21:09:16 +02:00
caiotavaresdito
c65afde6b0
Included new variables fixture test plan
2021-10-18 11:13:53 -04:00
Simone Ruffilli
0836433e55
hierarchical-policies updated with new resources
2021-10-15 12:16:13 +02:00
Simone Ruffilli
b3838cfdb4
Fixed tab size on tests
2021-10-14 19:10:03 +02:00
sruffilli
a67ddf9bec
Update test_plan.py
2021-10-14 19:04:09 +02:00
Simone Ruffilli
89f045d3db
Boilerplates
2021-10-14 18:01:32 +02:00
Simone Ruffilli
36fb785ea9
Resource factories
2021-10-14 17:00:04 +02:00
Julio Castillo
cd4917f2f2
README and test fixes
2021-10-07 21:50:16 +02:00
Julio Castillo
1378efde6e
New module for Cloud SQL instances
2021-10-07 18:20:07 +02:00
Ludovico Magnocavallo
a45814f41c
Naming convention module ( #318 )
...
* naming convention module
* tfdoc
* lint fixture
* add optional separator, variable descriptions
* add output descriptions
* fix example tests
2021-10-05 12:21:12 +02:00
Ludovico Magnocavallo
5001eb49a4
Make dns module resilient to dynamic values ( #317 )
...
* refactor module and fix tests
* account for wildcard records
* account for empty recordset names
* align tests
* align networking end to end examples
* fix behaviour with wildcard and empty names
* Update main.tf
* fix dumb online edit :)
2021-10-04 18:59:14 +02:00
Mikołaj Stefaniak
65fd32c4c0
Introduced packer image builder example ( #313 )
2021-10-04 17:10:19 +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
javiergp
15b2736a7c
Bugfixing Data Foundations ( #310 )
...
* Bugfixing Data Foundations and impersonation support
- Fixed SA permissions
- Usage of impersonation to avoid SA private key export
- Fixed required API enablement
- Added FW rules required by dataflow
- Added provider for sa impersonation
2021-09-28 17:13:18 +02:00
Julio Castillo
50d6105bf0
Prefix 'iam' to delegated role grants example ( #307 )
...
* Prefix 'iam' to delegated role grants example
* Update CHANGELOG
2021-09-22 10:39:18 +02:00
Julio Castillo
e99514e9f1
Add tests to delegated role grants example
2021-09-21 15:42:01 +02:00
lcaggio
8a177b395f
Update changelog and fix tests.
2021-09-01 11:25:45 +02:00
Julio Castillo
1b80085c9b
Create email notification channels automatically
2021-08-13 12:02:46 +02:00
Julio Castillo
3a8a040ff3
Billing budget module
2021-08-13 12:01:00 +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
Daniel Strebel
ed6ebc0c82
pytests for apigee modules
2021-08-05 15:47:00 +02:00
Ludovico Magnocavallo
202892b344
Add support for lifecycle_rule in gcs module ( #288 ) ( #289 )
...
* Add support for lifecycle_rule in gcs module (#288 )
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
* fix docs
* rename unrelated interconnect module tests
* fix doc example test
Co-authored-by: iury <1934268+IuryAlves@users.noreply.github.com>
2021-07-30 12:07:17 +02:00
averbukh
3a83423554
Cleaning up test for decentralized fwl
2021-07-28 22:25:26 +02:00