Skip to content

Commit

Permalink
Make identifier required in data source
Browse files Browse the repository at this point in the history
  • Loading branch information
rathodmeetsatish committed May 1, 2023
1 parent 0d4c3a2 commit 6749c4b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func DataSourceConnectorGCPCloudCost() *schema.Resource {
},
},
}
helpers.SetMultiLevelDatasourceSchema(resource.Schema)
helpers.SetMultiLevelDatasourceSchemaIdentifierRequired(resource.Schema)

return resource
}
2 changes: 1 addition & 1 deletion internal/service/platform/connector/gcp_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func DatasourceConnectorGcp() *schema.Resource {
},
}

helpers.SetMultiLevelDatasourceSchema(resource.Schema)
helpers.SetMultiLevelDatasourceSchemaIdentifierRequired(resource.Schema)

return resource
}
2 changes: 1 addition & 1 deletion internal/service/platform/connector/git_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func DatasourceConnectorGit() *schema.Resource {
},
}

helpers.SetMultiLevelDatasourceSchema(resource.Schema)
helpers.SetMultiLevelDatasourceSchemaIdentifierRequired(resource.Schema)

return resource
}
2 changes: 1 addition & 1 deletion internal/service/platform/connector/github_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func DatasourceConnectorGithub() *schema.Resource {
},
}

helpers.SetMultiLevelDatasourceSchema(resource.Schema)
helpers.SetMultiLevelDatasourceSchemaIdentifierRequired(resource.Schema)

return resource
}
2 changes: 1 addition & 1 deletion internal/service/platform/connector/gitlab_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func DatasourceConnectorGitlab() *schema.Resource {
},
}

helpers.SetMultiLevelDatasourceSchema(resource.Schema)
helpers.SetMultiLevelDatasourceSchemaIdentifierRequired(resource.Schema)

return resource
}

0 comments on commit 6749c4b

Please sign in to comment.