You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can check the whole definition of the Azure Batch Account data source [here](https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/azurerm/data_source_batch_account.go).
229
229
230
+
Once your data source is defined, you need to register it into data sources map in the `provider.go` file:
Developing a resource is really similar to developing a data source. Instead of having only a function to read the data from Azure, it also offers the possibility to write functions to create, update and delete the resource. Apart from that, concepts are the same:
@@ -250,6 +257,13 @@ You can find examples of tests for Azure Batch Account data source [here](https:
250
257
251
258
Please refer to the above section to learn on to run the acceptance tests on your laptop.
252
259
260
+
Once your resource is defined, you need to register it into the resources map in the `provider.go` file:
0 commit comments