Skip to content

Commit

Permalink
Update fixture for failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thirukumaran Vaseeharan committed Oct 18, 2022
1 parent 66e45b4 commit ad3154c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions examples/mig/autoscaler/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ variable "min_replicas" {


variable "autoscaling_cpu" {
description = "Autoscaling, cpu utilization policy block as single element array. https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#cpu_utilization"
type = list(map(number))
description = "Autoscaling, cpu utilization policy block as single element array. https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_autoscaler#cpu_utilization"
type = list(object({
target = number
predictive_method = string
}))
}

3 changes: 2 additions & 1 deletion test/fixtures/mig/autoscaler/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ module "mig_autoscaler" {

autoscaling_cpu = [
{
target = 0.6
target = 0.6,
predictive_method = null,
},
]
}
Expand Down

0 comments on commit ad3154c

Please sign in to comment.