Skip to content

Commit

Permalink
add validation
Browse files Browse the repository at this point in the history
  • Loading branch information
matteopasa committed Mar 3, 2025
1 parent baba101 commit f52da58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sysdig/data_source_sysdig_secure_onboarding.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,9 @@ func dataSourceSysdigSecureCloudIngestionAssets() *schema.Resource {
Optional: true,
},
"component_type": {
Type: schema.TypeString,
Optional: true,
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringInSlice([]string{"COMPONENT_WEBHOOK_DATASOURCE"}, false),
},
"aws": {
Type: schema.TypeMap,
Expand Down

0 comments on commit f52da58

Please sign in to comment.