Skip to content

Commit

Permalink
feat: hook up new resource to the provider
Browse files Browse the repository at this point in the history
  • Loading branch information
shipperizer committed Nov 18, 2024
1 parent a1ae5e4 commit 1638f31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/provider/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() },
}
}

Expand Down

0 comments on commit 1638f31

Please sign in to comment.