From 63865b5fbd4873a25c884ab487e6ec8c3dd2be27 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 22 Oct 2024 21:11:49 +0800 Subject: [PATCH] fix ResourceType --- internal/deployer/tencent-cos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/deployer/tencent-cos.go b/internal/deployer/tencent-cos.go index cac7143d..1d943b59 100644 --- a/internal/deployer/tencent-cos.go +++ b/internal/deployer/tencent-cos.go @@ -97,7 +97,7 @@ func (d *TencentCOSDeployer) deploy(certId string) error { request.Region = common.StringPtr(getDeployString(d.option.DeployConfig, "region")) request.CertificateId = common.StringPtr(certId) - request.ResourceType = common.StringPtr("c") + request.ResourceType = common.StringPtr("cos") request.Status = common.Int64Ptr(1) domain := getDeployString(d.option.DeployConfig, "domain")