Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
terraform_module
/
svc_deploy_tf
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 f9318849
authored
Oct 13, 2023
by
chenxx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
>variables.tf
1 parent
d8609b6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
74 deletions
variables.tf
variables.tf
View file @
f931884
# @label "Image Name"
# @group "Basic"
variable "image" {
type = string
description = "Docker image name"
}
# @label "Ports"
# @group "Basic"
variable "ports" {
type = list(number)
description = "Service ports to expose"
default = [80]
}
# @label "Environment Variables"
# @group "Basic"
variable "env" {
type = map(string)
description = "Name and value pairs to set as the environment variables"
default = {}
}
# @group "Resources"
# @label "CPU Request"
variable "request_cpu" {
type = string
description = "CPU request. e.g. 0.5, 1, 2"
default = "0.1"
}
# @group "Resources"
# @label "Memory Request"
variable "request_memory" {
type = string
description = "Memory request. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi"
default = "128Mi"
}
# @group "Resources"
# @label "CPU Limit"
variable "limit_cpu" {
type = string
description = "CPU limit. e.g. 0.5, 1, 2"
default = ""
}
# @group "Resources"
# @label "Memory Limit"
variable "limit_memory" {
type = string
description = "Memory limit. e.g. 128Mi, 512Mi, 1Gi, 2Gi, 4Gi"
default = ""
}
# @label "Namespace"
# @group "Advanced"
variable "namespace" {
type = string
description = "Namespace to deploy. Auto-generated if empty."
default = ""
}
# @label "Deployment Name"
# @group "Advanced"
variable "name" {
type = string
description = "Name of the deployment resource. Auto-generated if empty."
default = ""
}
# @hidden
variable "seal_metadata_service_name" {
type = string
description = "Seal metadata service name."
default = ""
}
# @hidden
variable "seal_metadata_namespace_name" {
type = string
description = "Seal metadata namespace name."
default = ""
}
\ No newline at end of file
\ No newline at end of file
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