Skip to content

Commit a29ea4e

Browse files
committed
feat: support group
1 parent a41580f commit a29ea4e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

tencentcloud/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2983,6 +2983,7 @@ func Provider() *schema.Provider {
29832983
"tencentcloud_api_gateway_api_app": resourceTencentCloudAPIGatewayAPIApp(),
29842984
"tencentcloud_tse_instance": resourceTencentCloudTseInstance(),
29852985
"tencentcloud_tse_cngw_gateway": resourceTencentCloudTseCngwGateway(),
2986+
"tencentcloud_tse_cngw_group": resourceTencentCloudTseCngwGroup(),
29862987
"tencentcloud_tse_cngw_service": resourceTencentCloudTseCngwService(),
29872988
"tencentcloud_tse_cngw_service_rate_limit": resourceTencentCloudTseCngwServiceRateLimit(),
29882989
"tencentcloud_tse_cngw_route": resourceTencentCloudTseCngwRoute(),

tencentcloud/resource_tc_tse_cngw_group.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,13 @@ package tencentcloud
4242
import (
4343
"context"
4444
"fmt"
45+
"log"
46+
"strings"
47+
4548
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
4649
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
4750
tse "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse/v20201207"
4851
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper"
49-
"log"
50-
"strings"
5152
)
5253

5354
func resourceTencentCloudTseCngwGroup() *schema.Resource {

tencentcloud/resource_tc_tse_cngw_group_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package tencentcloud
22

33
import (
4-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
54
"testing"
5+
6+
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
67
)
78

89
func TestAccTencentCloudTseCngwGroupResource_basic(t *testing.T) {

0 commit comments

Comments
 (0)