From 2f174298258692cb0645fa076bbeaae1921a8a82 Mon Sep 17 00:00:00 2001 From: hellertang Date: Fri, 12 Aug 2022 14:29:48 +0800 Subject: [PATCH] fix workload doc --- website/docs/r/tem_workload.html.markdown | 31 ++++++++--------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/website/docs/r/tem_workload.html.markdown b/website/docs/r/tem_workload.html.markdown index c1ff956769..334eb4522a 100644 --- a/website/docs/r/tem_workload.html.markdown +++ b/website/docs/r/tem_workload.html.markdown @@ -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 @@ -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 @@ -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