Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 11 additions & 20 deletions website/docs/r/tem_workload.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,19 @@ Provides a resource to create a tem workload

```hcl
resource "tencentcloud_tem_workload" "workload" {
application_id = "app-3j29aa2p"
environment_id = "en-853mggjm"
deploy_version = "hello-world"
deploy_mode = "IMAGE"
img_repo = "tem_demo/tem_demo"
init_pod_num = 1
cpu_spec = 1
memory_spec = 1
security_group_ids = [""]
env_conf {
key = "key"
value = "value"
type = "default"
config = "config-name"
secret = "secret-name"

}
application_id = "app-3j29aa2p"
environment_id = "en-853mggjm"
deploy_version = "hello-world"
deploy_mode = "IMAGE"
img_repo = "tem_demo/tem_demo"
init_pod_num = 1
cpu_spec = 1
memory_spec = 1
liveness {
type = "HttpGet"
protocol = "HTTP"
path = "/"
port = 80
port = 8080
initial_delay_seconds = 0
timeout_seconds = 1
period_seconds = 10
Expand All @@ -46,7 +37,7 @@ resource "tencentcloud_tem_workload" "workload" {
type = "HttpGet"
protocol = "HTTP"
path = "/"
port = 80
port = 8000
initial_delay_seconds = 0
timeout_seconds = 1
period_seconds = 10
Expand All @@ -56,7 +47,7 @@ resource "tencentcloud_tem_workload" "workload" {
type = "HttpGet"
protocol = "HTTP"
path = "/"
port = 80
port = 36000
initial_delay_seconds = 0
timeout_seconds = 1
period_seconds = 10
Expand Down