Skip to content

Commit

Permalink
Remove deprecated SRV name data fields
Browse files Browse the repository at this point in the history
  • Loading branch information
janik-cloudflare committed May 3, 2024
1 parent ba46db6 commit 5fb61f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
8 changes: 0 additions & 8 deletions internal/sdkv2provider/resource_cloudflare_record_migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ func resourceCloudflareRecordV1() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
},
"proto": {
Type: schema.TypeString,
Optional: true,
},
"name": {
Type: schema.TypeString,
Optional: true,
},
"priority": {
Type: schema.TypeInt,
Optional: true,
Expand Down
16 changes: 4 additions & 12 deletions internal/sdkv2provider/schema_cloudflare_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ func resourceCloudflareRecordSchema() map[string]*schema.Schema {
Type: schema.TypeString,
Optional: true,
},
"service": {
Type: schema.TypeString,
Optional: true,
},
"certificate": {
Type: schema.TypeString,
Optional: true,
Expand All @@ -103,14 +99,6 @@ func resourceCloudflareRecordSchema() map[string]*schema.Schema {
},

// SRV record properties
"proto": {
Type: schema.TypeString,
Optional: true,
},
"name": {
Type: schema.TypeString,
Optional: true,
},
"priority": {
Type: schema.TypeInt,
Optional: true,
Expand Down Expand Up @@ -195,6 +183,10 @@ func resourceCloudflareRecordSchema() map[string]*schema.Schema {
},

// NAPTR record properties
"service": {
Type: schema.TypeString,
Optional: true,
},
"order": {
Type: schema.TypeInt,
Optional: true,
Expand Down

0 comments on commit 5fb61f2

Please sign in to comment.