Merge pull request #1600 from LiuVII/LiuVII/cloud-run-fix
fix(cloud-run): move cpu boost annotation to revision
This commit is contained in:
commit
cb3ff80745
|
@ -34,9 +34,6 @@ locals {
|
|||
var.ingress_settings == null ? {} : {
|
||||
"run.googleapis.com/ingress" = var.ingress_settings
|
||||
},
|
||||
var.startup_cpu_boost ? {
|
||||
"run.googleapis.com/startup-cpu-boost" = "true"
|
||||
} : {}
|
||||
)
|
||||
_iam_run_invoker_members = concat(
|
||||
lookup(var.iam, "roles/run.invoker", []),
|
||||
|
@ -75,6 +72,9 @@ locals {
|
|||
var.gen2_execution_environment ? {
|
||||
"run.googleapis.com/execution-environment" = "gen2"
|
||||
} : {},
|
||||
var.startup_cpu_boost ? {
|
||||
"run.googleapis.com/startup-cpu-boost" = "true"
|
||||
} : {},
|
||||
)
|
||||
revision_name = (
|
||||
try(var.revision_name, null) == null
|
||||
|
|
Loading…
Reference in New Issue