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>
This commit is contained in:
lcaggio
2021-03-18 13:04:37 +01:00
committed by GitHub
parent 6300f67ba1
commit de5a9d747a
4 changed files with 34 additions and 9 deletions

View File

@@ -61,7 +61,7 @@ def test_autoscaler(plan_runner):
assert autoscaler['type'] == 'google_compute_autoscaler'
assert autoscaler['values']['autoscaling_policy'] == [{
'cooldown_period': 60,
'cpu_utilization': [{'target': 65}],
'cpu_utilization': [{'predictive_method': 'NONE', 'target': 65}],
'load_balancing_utilization': [],
'max_replicas': 3,
'metric': [],