Skip to content

Commit

Permalink
fix validate function for s2s posture integrations to include custom_…
Browse files Browse the repository at this point in the history
…s2s and tanium_s2s
  • Loading branch information
jlu-cloudflare committed Jan 23, 2025
1 parent fee2d58 commit 20a390a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/4933.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/cloudflare_device_posture_integration: fix bug where `custom_s2s` and `tanium_s2s` was not included in the type validation for s2s posture integrations.
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func resourceCloudflareDevicePostureIntegrationSchema() map[string]*schema.Schem
"type": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringInSlice([]string{ws1, uptycs, crowdstrike, intune, kolide, sentinelone}, false),
ValidateFunc: validation.StringInSlice([]string{ws1, uptycs, crowdstrike, intune, kolide, sentinelone, tanium, customs2s}, false),
Description: fmt.Sprintf("The device posture integration type. %s", renderAvailableDocumentationValuesStringSlice([]string{ws1, uptycs, crowdstrike, intune, kolide, sentinelone, tanium, customs2s})),
},
"identifier": {
Expand Down

0 comments on commit 20a390a

Please # to comment.