Skip to content
Merged
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
4 changes: 2 additions & 2 deletions tidb-cloud/terraform-use-dedicated-vpc-peering-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ For example, you can import a VPC peering that is not created by Terraform.

1. Add an import block for the new `tidbcloud_dedicated_vpc_peering` resource.

Add the following import block to your `.tf` file, replace `example` with a desired resource name, and replace `${id}` with the format of `cluster_id,vpc_peering_id`:
Add the following import block to your `.tf` file, replace `example` with a desired resource name, and replace `${vpc_peering_id}` with the actual VPC peering ID.

```
import {
to = tidbcloud_dedicated_vpc_peering.example
id = "${id}"
id = "${vpc_peering_id}"
}
```

Expand Down