diff --git a/.changelog/3243.txt b/.changelog/3243.txt new file mode 100644 index 0000000000..4f780225e6 --- /dev/null +++ b/.changelog/3243.txt @@ -0,0 +1,3 @@ +```release-note:new-resource +tencentcloud_teo_security_ip_group +``` \ No newline at end of file diff --git a/tencentcloud/provider.md b/tencentcloud/provider.md index 1f7a0298cd..a7dcf07613 100644 --- a/tencentcloud/provider.md +++ b/tencentcloud/provider.md @@ -1491,6 +1491,7 @@ tencentcloud_teo_function_rule_priority tencentcloud_teo_function_runtime_environment tencentcloud_teo_l7_acc_rule tencentcloud_teo_l7_acc_setting +tencentcloud_teo_security_ip_group TencentCloud ServiceMesh(TCM) Data Source diff --git a/website/docs/r/teo_security_ip_group.html.markdown b/website/docs/r/teo_security_ip_group.html.markdown new file mode 100644 index 0000000000..f9b9f9f262 --- /dev/null +++ b/website/docs/r/teo_security_ip_group.html.markdown @@ -0,0 +1,57 @@ +--- +subcategory: "TencentCloud EdgeOne(TEO)" +layout: "tencentcloud" +page_title: "TencentCloud: tencentcloud_teo_security_ip_group" +sidebar_current: "docs-tencentcloud-resource-teo_security_ip_group" +description: |- + Provides a resource to create a teo teo_security_ip_group +--- + +# tencentcloud_teo_security_ip_group + +Provides a resource to create a teo teo_security_ip_group + +## Example Usage + +```hcl +resource "tencentcloud_teo_security_ip_group" "teo_security_ip_group" { + zone_id = "zone-2qtuhspy7cr6" + ip_group { + content = [ + "10.1.1.1", + "10.1.1.2", + "10.1.1.3", + ] + name = "bbbbb" + } +} +``` + +## Argument Reference + +The following arguments are supported: + +* `ip_group` - (Required, List) IP group information, replace all when modifying. +* `zone_id` - (Required, String) Site ID. + +The `ip_group` object supports the following: + +* `content` - (Required, Set) IP group content. Only supports IP and IP mask. +* `name` - (Required, String) Group name. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `id` - ID of the resource. + + + +## Import + +teo teo_security_ip_group can be imported using the id, e.g. + +``` +terraform import tencentcloud_teo_security_ip_group.teo_security_ip_group zone_id#group_id +``` + diff --git a/website/tencentcloud.erb b/website/tencentcloud.erb index 61010036c6..888bf4a68c 100644 --- a/website/tencentcloud.erb +++ b/website/tencentcloud.erb @@ -5273,6 +5273,9 @@
  • tencentcloud_teo_rule_engine
  • +
  • + tencentcloud_teo_security_ip_group +
  • tencentcloud_teo_zone