Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
terraform_module
/
standard_webservice
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f500c9bd
authored
Nov 14, 2023
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update var
1 parent
57dce19e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
main.tf
variables.tf
main.tf
View file @
f500c9b
...
...
@@ -47,7 +47,7 @@ module "deployment" {
timeout_seconds = 3
}
# start time 4 minute
# start time 4 minute
failure_threshold * period_seconds = 4m
startup_probe = {
http_get = {
path = var.probe_http_path
...
...
variables.tf
View file @
f500c9b
...
...
@@ -9,7 +9,6 @@ variable "image" {
variable "ports" {
type = list(number)
description = "Service ports to expose"
default = [80]
}
# @label "Environment Variables"
# @options ["dev", "test", "release", "beta"]
...
...
@@ -91,6 +90,7 @@ variable "walrus_metadata_namespace_name" {
variable "probe_http_port" {
description = "(Optional)http port for probe"
type = string
default = var.ports[0]
}
# @label "probe_path"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment