Skip to content

Commit

Permalink
cloudflare_teams_list: add IP list type
Browse files Browse the repository at this point in the history
The dashboard allows creating Gateway lists of the "IP" type, but the
schema here rejects attempts to define resources using it.

Bug: K8S-4829
  • Loading branch information
terinjokes committed Apr 28, 2022
1 parent 155e8af commit 3e51676
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/1587.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/cloudflare_teams_list: add IP list type
```
2 changes: 1 addition & 1 deletion cloudflare/schema_cloudflare_teams_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func resourceCloudflareTeamsListSchema() map[string]*schema.Schema {
"type": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringInSlice([]string{"SERIAL", "URL", "DOMAIN", "EMAIL"}, false),
ValidateFunc: validation.StringInSlice([]string{"SERIAL", "URL", "DOMAIN", "EMAIL", "IP"}, false),
},
"description": {
Type: schema.TypeString,
Expand Down

0 comments on commit 3e51676

Please sign in to comment.