# terraform ## importing cloudflare records * get record ID from Cloudflare API: ``` curl https://api.cloudflare.com/client/v4/zones//dns_records?per_page=50&page=1 \ -H "X-Auth-Key:" \ -H "X-Auth-Email:" \ -H "Content-Type:application/json" \ | jq . ``` * create the resource declaration in the terraform manifest. * import the resource: `terraform import cloudflare_record. /` * import resources created with `for_each`: ``` terraform import github_issue_label.issue_label[\"skip-verify-changelog\"] terraform-module-proxmox-container:skip-verify-changelog ```