Skip to content

Commit

Permalink
Merge pull request #4933 from jlu-cloudflare/fix-custom-s2s-integration
Browse files Browse the repository at this point in the history
fix validate function for s2s posture integrations
  • Loading branch information
jacobbednarz authored Jan 24, 2025
2 parents ec0e1ca + 20a390a commit 30e694c
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 30e694c

Please # to comment.