From 399d6060cbb45dc831cacb0ca63a961911cb8b02 Mon Sep 17 00:00:00 2001 From: gitlawr Date: Sun, 13 Aug 2023 15:51:16 +0800 Subject: [PATCH] fix: update revision path --- pkg/deployer/terraform/deployer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/deployer/terraform/deployer.go b/pkg/deployer/terraform/deployer.go index 889726641..f0fab5ea6 100644 --- a/pkg/deployer/terraform/deployer.go +++ b/pkg/deployer/terraform/deployer.go @@ -90,7 +90,7 @@ type CreateJobOptions struct { // _backendAPI the API path to terraform deploy backend. // Terraform will get and update deployment states from this API. -const _backendAPI = "/v1/projects/%s/environments/%s/services/%s/service-revisions/%s/terraform-states" +const _backendAPI = "/v1/projects/%s/environments/%s/services/%s/revisions/%s/terraform-states" // _variablePrefix the prefix of the variable name. const _variablePrefix = "_seal_var_"