Skip to content

Commit b2e5a12

Browse files
committed
fix: consolidate data source map
1 parent fda8a02 commit b2e5a12

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

internal/provider/provider.go

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ func New() *schema.Provider {
109109
"boundary_sessions": dataSourceSessions(),
110110
"boundary_targets": dataSourceTargets(),
111111
"boundary_users": dataSourceUsers(),
112+
"boundary_account": dataSourceAccount(),
113+
"boundary_auth_method": dataSourceAuthMethod(),
114+
"boundary_group": dataSourceGroup(),
115+
"boundary_scope": dataSourceScope(),
116+
"boundary_user": dataSourceUser(),
112117
},
113118
ResourcesMap: map[string]*schema.Resource{
114119
"boundary_account": resourceAccount(),
@@ -147,13 +152,6 @@ func New() *schema.Provider {
147152
"boundary_user": resourceUser(),
148153
"boundary_worker": resourceWorker(),
149154
},
150-
DataSourcesMap: map[string]*schema.Resource{
151-
"boundary_account": dataSourceAccount(),
152-
"boundary_auth_method": dataSourceAuthMethod(),
153-
"boundary_group": dataSourceGroup(),
154-
"boundary_scope": dataSourceScope(),
155-
"boundary_user": dataSourceUser(),
156-
},
157155
}
158156

159157
p.ConfigureContextFunc = providerConfigure(p)

0 commit comments

Comments
 (0)