Commit Graph

832 Commits

Author SHA1 Message Date
Julio Castillo
8b664fc5e3 Simplify test spec structure 2022-12-06 15:50:39 +01:00
Julio Castillo
be0e807435 Bring back tests key in test yaml spec 2022-12-06 00:06:29 +01:00
Julio Castillo
589f7a5c2f Simplify yaml test spec 2022-12-06 00:06:29 +01:00
Julio Castillo
f5461056cf Fix boilerplate 2022-12-06 00:06:29 +01:00
Julio Castillo
b4d3aa2055 Migrate organizations tests 2022-12-06 00:06:29 +01:00
Julio Castillo
188ad23035 Add tests for subnet factory 2022-12-06 00:06:29 +01:00
Julio Castillo
553ca3fcdf Allow defining tests via yaml
(yes, more yaml)
2022-12-06 00:06:29 +01:00
Julio Castillo
8631d698cb Reorder fixture parameters 2022-12-06 00:06:29 +01:00
Julio Castillo
354ab110f8 Simplify path handling 2022-12-06 00:06:29 +01:00
Julio Castillo
61d5758f06 New test example for a module 2022-12-06 00:06:29 +01:00
Julio Castillo
8c43b72dd4 Remove stale xmark from parellel testing attempt 2022-12-06 00:06:29 +01:00
g-greatdevaks
1e72599986 Add test fixture for Apigee PAYG Env Node Config
Added test fixture for Apigee PAYG Environment
Node Config.

Changes committed:
- modified:   `tests/modules/apigee/fixture/test.env_only.tfvars`
2022-11-29 22:41:14 +05:30
g-greatdevaks
3037a4f519 FIX APIGEE PAYG ENVIRONMENT NODE CONFIG
Fixed the Node Configuration for Apigee PAYG
specific Environments.

Removed current_aggregate_node_count as it
is a read-only field and cannot be taken
as an input for the Apigee Environment Terraform
resource.

Changes committed:
modified:   blueprints/cloud-operations/apigee/README.md
modified:   blueprints/cloud-operations/apigee/variables.tf
modified:   modules/apigee/README.md
modified:   modules/apigee/main.tf
modified:   modules/apigee/variables.tf
modified:   tests/blueprints/cloud_operations/apigee/fixture/variables.tf
modified:   tests/modules/apigee/fixture/variables.tf
2022-11-29 17:02:24 +05:30
Miren Esnaola
8d827b692c Added endpoint attachments to Apigee module 2022-11-28 17:27:00 +01:00
Daniel Strebel
158df4c873 fix(apigee): Apigee instance doc examples 2022-11-28 09:55:51 +01:00
Julio Castillo
b2510ea4cf Fix org policies factories 2022-11-18 17:48:52 +01:00
Luca Prete
4124ef41fc Add network tags support to the organization module (#979) 2022-11-18 15:56:28 +01:00
apichick
dcfc4a18be Merge branch 'master' into apigee 2022-11-17 16:58:00 +01:00
Julio Castillo
ed84bcb631 Merge cloud function v1 and v2 tests 2022-11-17 10:32:56 +01:00
Julio Castillo
bb8c62c6ec Merge branch 'master' into apigee 2022-11-17 00:47:05 +01:00
Miren Esnaola
3501d20785 Apigee module and blueprint 2022-11-16 19:49:26 +01:00
Wiktor Niesiobędzki
5b0b1af2f6 Fix tests refering to wrong IAM resource 2022-11-16 16:44:01 +01:00
Ludovico Magnocavallo
5f710f21dc Add support for serverless NEGs to ILB L7 module (#983)
* refactor neg variable for serverless

* cloudrun negs

* cloudrun negs

* serverless neg test

* re-enable forwarding rule output
2022-11-16 14:14:05 +01:00
Ludovico Magnocavallo
40a37e9328 Refactor net-ilb-l7 module for Terraform 1.3 (#974)
* wip

* wip

* minimal example test

* wip

* instance group example

* neg examples

* example tests

* tfdoc

* readme

* tested

* example

* default urlmap value, remove stale variable

* tests
2022-11-14 14:39:00 +01:00
Julio Castillo
c83a7de076 Remove as_logging_destination 2022-11-12 19:24:41 +01:00
Julio Castillo
c7fe6da12e Update READMEs 2022-11-11 19:28:02 +01:00
Julio Castillo
486d398c7d Update logging sink to tf1.3 in resman modules 2022-11-11 19:22:05 +01:00
Julio Castillo
61e047d95a Update folder and project org policy tests 2022-11-11 17:49:18 +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
Aleksandr Averbukh
aae6ab132c Add tests for org policy custom constraints 2022-11-08 18:13:49 +01:00
Ludo
0d55de6ca9 switch to tfvars based tests 2022-11-06 08:44:13 +01:00
Ludo
6e4d8a46a1 remove redundant extra_files parameter in tfvars tests 2022-11-06 08:39:53 +01:00
Wiktor Niesiobędzki
0d80ad3f29 cloud-functions v2 - fix reference to bucket_name (#951)
* Fix reference to bucket when no bucket_config is provided

* Copy tests to check v2 cloud-functions
2022-11-06 08:32:38 +01:00
Ludovico Magnocavallo
d655833c0c Add a pytest fixture to convert tfvars to yaml (#950)
* wip

* conftest and tests

* backport cross-module implementation test
2022-11-04 18:37:23 +01:00
Ludovico Magnocavallo
fae5654e33 Refactor VPC firewall module for Terraform 1.3 (#949)
* module and module tests/examples

* align blueprints and fast

* fix null ranges

* make ports optional

* tfdoc

* make rules optional defaulting to all protocols

* review comments

* last round of comments

* invert precedence of template variables

* add option to disable all default rules

* add option to disable all default rules

* split egress/ingress

* tests

* fix tests
2022-11-04 13:56:07 +01:00
Julio Castillo
d91a0835f7 Remove organization-policy module (now included in the resman modules) 2022-11-03 12:35:50 +01:00
Julio Castillo
5211466816 Bring back deleted assert 2022-11-03 12:18:37 +01:00
Julio Castillo
3e18575fad Add factory support for new org policies 2022-11-03 11:41:53 +01:00
Julio Castillo
8564fbcb93 Bump tftest and improve dns tests 2022-11-02 18:22:36 +01:00
Ludovico Magnocavallo
0563260678 Refactor ILB module for Terraform 1.3 (#941)
* wip

* wip

* wip

* backport health check to compute-mig

* align blueprints and fast

* fix blueprints

* tfdoc
2022-11-02 18:05:20 +01:00
Julio Castillo
38e761c3a8 Add test that ensures the implementation of org policies is consistent 2022-11-02 10:41:38 +01:00
Ludovico Magnocavallo
a30c186f1f Refactor compute-mig module for Terraform 1.3 (#931)
* wip: autoscaler

* wip: fix autoscaler

* wip: health check

* wip: untested

* wip: tests and examples missing

* wip: examples

* wip: consumers

* blueprint tests

* fast
2022-11-01 09:38:59 +01:00
Julio Castillo
5b9b6b7739 Remove debugging libraries 2022-10-28 18:10:28 +02:00
Julio Castillo
f44f4a74dc Fix module tests 2022-10-28 17:49:44 +02:00
Julio Castillo
798fd6cc54 Merge branch 'master' into kmucha555/f_apigee_env_deployment 2022-10-27 21:46:31 +02:00
Krzysztof Mucha
74b17703cd Add support for deployment type and api proxy type for Apigee organization 2022-10-27 21:04:50 +02:00
Ludovico Magnocavallo
e20de3b86a fix service account create (#923) 2022-10-27 15:12:04 +00:00
apichick
d9ccf04221 Added managed_prometheus to features (#906)
* Added managed_prometheus monitoring_config

* fix module

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
2022-10-25 21:18:50 +00:00
Julio Castillo
19db273963 Add tests for dns routing policies 2022-10-25 15:35:29 +02:00
Giovanni Baratta
ca1dc3659a Add auto_delete and instance_redistribution_type to compute-vm and compute-mig modules. (#890)
* Add auto_delete parameter to compute-vm module

* Add instance_redistribution_type in compute-mig module
2022-10-16 21:19:46 +02:00