Skip to content

fix(waf): [123456789] Deprecated resource tencentcloud_waf_modify_access_period #2903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/2903.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_waf_modify_access_period: This resource has been deprecated in Terraform TencentCloud provider version 1.81.135.
```
1 change: 0 additions & 1 deletion tencentcloud/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,6 @@ Web Application Firewall(WAF)
tencentcloud_waf_cc_auto_status
tencentcloud_waf_cc_session
tencentcloud_waf_ip_access_control
tencentcloud_waf_modify_access_period

Wedata
Data Source
Expand Down
3 changes: 2 additions & 1 deletion tencentcloud/services/waf/data_source_tc_waf_waf_infos.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import (

func DataSourceTencentCloudWafWafInfos() *schema.Resource {
return &schema.Resource{
Read: dataSourceTencentCloudWafWafInfosRead,
DeprecationMessage: "This data source has been deprecated in Terraform TencentCloud provider version 1.81.135.",
Read: dataSourceTencentCloudWafWafInfosRead,
Schema: map[string]*schema.Schema{
"params": {
Required: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ import (

func ResourceTencentCloudWafModifyAccessPeriod() *schema.Resource {
return &schema.Resource{
Create: resourceTencentCloudWafModifyAccessPeriodCreate,
Read: resourceTencentCloudWafModifyAccessPeriodRead,
Delete: resourceTencentCloudWafModifyAccessPeriodDelete,
DeprecationMessage: "This resource has been deprecated in Terraform TencentCloud provider version 1.81.135.",
Create: resourceTencentCloudWafModifyAccessPeriodCreate,
Read: resourceTencentCloudWafModifyAccessPeriodRead,
Delete: resourceTencentCloudWafModifyAccessPeriodDelete,

Schema: map[string]*schema.Schema{
"period": {
Expand Down
3 changes: 0 additions & 3 deletions website/tencentcloud.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6512,9 +6512,6 @@
<li>
<a href="/docs/providers/tencentcloud/r/waf_ip_access_control.html">tencentcloud_waf_ip_access_control</a>
</li>
<li>
<a href="/docs/providers/tencentcloud/r/waf_modify_access_period.html">tencentcloud_waf_modify_access_period</a>
</li>
<li>
<a href="/docs/providers/tencentcloud/r/waf_module_status.html">tencentcloud_waf_module_status</a>
</li>
Expand Down
Loading