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 763bf4df
authored
Nov 09, 2023
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update
1 parent
a2284598
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
outputs.tf
variables.tf
outputs.tf
View file @
763bf4d
...
@@ -8,7 +8,7 @@ output "ports" {
...
@@ -8,7 +8,7 @@ output "ports" {
value = var.ports
value = var.ports
}
}
output "
访问入口
ingress" {
output "ingress" {
description = "访问入口ingress"
description = "访问入口ingress"
value = var.domain_name
value = var.domain_name
}
}
variables.tf
View file @
763bf4d
...
@@ -51,7 +51,7 @@ variable "limit_cpu" {
...
@@ -51,7 +51,7 @@ variable "limit_cpu" {
default = "0.5"
default = "0.5"
}
}
# @group "Resources"
# @group "Resources"
# @options ["128Mi","512Mi", "1G
",2Gi
]
# @options ["128Mi","512Mi", "1G
i","2Gi", "3Gi"
]
# @label "Memory Limit"
# @label "Memory Limit"
variable "limit_memory" {
variable "limit_memory" {
type = string
type = string
...
@@ -118,10 +118,11 @@ variable "restart_policy" {
...
@@ -118,10 +118,11 @@ variable "restart_policy" {
}
}
# @label "diamond配置环境变量参数"
# @label "diamond配置环境变量参数"
# @options ["dev", "test", "beta", "release"]
# @group "Advanced"
# @group "Advanced"
variable "args" {
variable "args" {
type = list(string)
type = list(string)
description = "
(Optional) Arguments to the entrypoint
"
description = "
属于那个环境,例子:dev,test,beta,release
"
default = ["release"]
default = ["release"]
}
}
...
@@ -134,7 +135,7 @@ variable "domain_name" {
...
@@ -134,7 +135,7 @@ variable "domain_name" {
}
}
# @label "path_type"
# @label "path_type"
#options ["ImplementationSpecific","Exact","Prefix"]
#
@
options ["ImplementationSpecific","Exact","Prefix"]
# @group "ingress"
# @group "ingress"
variable "path_type" {
variable "path_type" {
type = string
type = string
...
...
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