Implemented project resource

This commit is contained in:
Julien Dessaux 2023-06-18 17:01:35 +02:00
parent 3d60272592
commit 64ac1f44e0
Signed by: adyxax
GPG key ID: F92E51B86E07177E
3 changed files with 162 additions and 16 deletions

View file

@ -70,7 +70,9 @@ func (p *Provider) Configure(ctx context.Context, req provider.ConfigureRequest,
}
func (p *Provider) Resources(ctx context.Context) []func() resource.Resource {
return []func() resource.Resource{}
return []func() resource.Resource{
NewProjectResource,
}
}
func (p *Provider) DataSources(ctx context.Context) []func() datasource.DataSource {