Skip to content

Commit 9f7d94e

Browse files
committed
[change mongo example type]
1. change type to postpaid.
1 parent dfe3396 commit 9f7d94e

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ FEATURES:
77
* **New Data Source**: `tencentcloud_cynosdb_clusters`
88
* **New Data Source**: `tencentcloud_cynosdb_readonly_instances`.
99

10+
ENHANCEMENTS:
11+
12+
* Resource: `tencentcloud_mongodb_standby_instance` change example type to `POSTPAID`.
13+
1014
## 1.43.0 (September 18, 2020)
1115

1216
FEATURES:

examples/tencentcloud-mongodb/main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ resource "tencentcloud_mongodb_standby_instance" "mongodb" {
5656
project_id = 0
5757
father_instance_id = tencentcloud_mongodb_instance.mongodb.id
5858
father_instance_region = "ap-guangzhou"
59-
charge_type = "PREPAID"
60-
prepaid_period = 1
6159

6260
tags = {
6361
test = "test"

tencentcloud/resource_tc_audit.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import (
3131
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
3232
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
3333
audit "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit/v20190319"
34-
//sdkErrors "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors"
3534
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper"
3635
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit"
3736
)

tencentcloud/resource_tc_mongodb_standby_instance.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ resource "tencentcloud_mongodb_standby_instance" "mongodb" {
3737
project_id = 0
3838
father_instance_id = tencentcloud_mongodb_instance.mongodb.id
3939
father_instance_region = "ap-guangzhou"
40-
charge_type = "PREPAID"
41-
prepaid_period = 1
4240
4341
tags = {
4442
test = "test"

website/docs/r/mongodb_standby_instance.html.markdown

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ resource "tencentcloud_mongodb_standby_instance" "mongodb" {
4747
project_id = 0
4848
father_instance_id = tencentcloud_mongodb_instance.mongodb.id
4949
father_instance_region = "ap-guangzhou"
50-
charge_type = "PREPAID"
51-
prepaid_period = 1
5250
5351
tags = {
5452
test = "test"

0 commit comments

Comments
 (0)