Skip to content

fix(eip): [137910411] modify public ip #3153

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

Closed
wants to merge 2 commits into from
Closed
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/3153.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:deprecation
resource/tencentcloud_eips: Field 'public_ip' is deprecated.
```
1 change: 1 addition & 0 deletions tencentcloud/services/cvm/data_source_tc_eips.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func DataSourceTencentCloudEips() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Description: "The elastic ip address.",
Deprecated: "Field 'public_ip' is deprecated.",
},
"tags": {
Type: schema.TypeMap,
Expand Down
8 changes: 0 additions & 8 deletions tencentcloud/services/cvm/data_source_tc_eips.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ data "tencentcloud_eips" "example" {
}
```

Query eip instances by public ip

```hcl
data "tencentcloud_eips" "example" {
public_ip = "1.12.62.3"
}
```

Query eip instances by tags

```hcl
Expand Down
10 changes: 1 addition & 9 deletions website/docs/d/eips.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ data "tencentcloud_eips" "example" {
}
```

### Query eip instances by public ip

```hcl
data "tencentcloud_eips" "example" {
public_ip = "1.12.62.3"
}
```

### Query eip instances by tags

```hcl
Expand All @@ -59,7 +51,7 @@ The following arguments are supported:

* `eip_id` - (Optional, String) ID of the EIP to be queried.
* `eip_name` - (Optional, String) Name of the EIP to be queried.
* `public_ip` - (Optional, String) The elastic ip address.
* `public_ip` - (Optional, String, **Deprecated**) Field 'public_ip' is deprecated. The elastic ip address.
* `result_output_file` - (Optional, String) Used to save results.
* `tags` - (Optional, Map) The tags of EIP.

Expand Down
Loading