diff --git a/internal/provider/helpers.go b/internal/provider/helpers.go index 1da27011..9493670b 100644 --- a/internal/provider/helpers.go +++ b/internal/provider/helpers.go @@ -16,10 +16,11 @@ import ( // // @module=juju.resource-application const ( - LogDataSourceMachine = "datasource-machine" - LogDataSourceModel = "datasource-model" - LogDataSourceOffer = "datasource-offer" - LogDataSourceSecret = "datasource-secret" + LogDataSourceMachine = "datasource-machine" + LogDataSourceModel = "datasource-model" + LogDataSourceApplication = "datasource-application" + LogDataSourceOffer = "datasource-offer" + LogDataSourceSecret = "datasource-secret" LogResourceApplication = "resource-application" LogResourceAccessModel = "resource-access-model" diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 6b0a3d56..ee64532f 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -393,6 +393,7 @@ func (p *jujuProvider) DataSources(_ context.Context) []func() datasource.DataSo func() datasource.DataSource { return NewModelDataSource() }, func() datasource.DataSource { return NewOfferDataSource() }, func() datasource.DataSource { return NewSecretDataSource() }, + func() datasource.DataSource { return NewApplicationDataSource() }, } }