<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to query existing storage and network configuration (AWS)? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-query-existing-storage-and-network-configuration-aws/m-p/83496#M36944</link>
    <description>&lt;P&gt;So there's no official terraform data sources for these?&amp;nbsp; I guess maybe curl and grep or something?&amp;nbsp; Beats fumbling through tfstate.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Will give a try.&amp;nbsp; Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 21:23:58 GMT</pubDate>
    <dc:creator>ThisNoName</dc:creator>
    <dc:date>2024-08-19T21:23:58Z</dc:date>
    <item>
      <title>How to query existing storage and network configuration (AWS)?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-query-existing-storage-and-network-configuration-aws/m-p/83440#M36933</link>
      <description>&lt;P&gt;Trying to provision a simple workspace.&amp;nbsp; All the code I can find look something like the following, where credential/storage/network resources are created, then referenced.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my case, it's a separate repo and try to reuse existing configurations.&amp;nbsp; I was able to query mws_credential and find credential_id, but there are no data source for storage_configuration and mws_networks, according to databricks documentation.&lt;BR /&gt;&lt;BR /&gt;Any hints where I should look?&amp;nbsp; Undocumented data sources?&amp;nbsp; Wrapped up somewhere in other sources?&amp;nbsp; I can see both configuration_id and network_id in tfstate but that's probably a bit too much&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data "databricks_mws_credentials" "all" {
  provider = databricks.mws
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;resource "databricks_mws_workspaces" "this" {
  provider                 = databricks.mws
  credentials_id           = databricks_mws_credentials.this.credentials_id
  storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id
  network_id               = databricks_mws_networks.this.network_id
  ... ...
}

resource "databricks_mws_credentials" "this" {
  provider         = databricks.mws
  ... ...
}

resource "databricks_mws_storage_configurations" "this" {
  provider                   = databricks.mws
  ... ...
}

resource "databricks_mws_networks" "this" {
  provider           = databricks.mws
  security_group_ids = var.security_group_ids
  subnet_ids         = var.vpc_private_subnets
  vpc_id             = var.vpc_id
  ... ...
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 12:53:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-query-existing-storage-and-network-configuration-aws/m-p/83440#M36933</guid>
      <dc:creator>ThisNoName</dc:creator>
      <dc:date>2024-08-19T12:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to query existing storage and network configuration (AWS)?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-query-existing-storage-and-network-configuration-aws/m-p/83479#M36940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/114645"&gt;@ThisNoName&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on your description it looks like you're trying to get Databricks account level information for networks and storage configurations. You can easily achieve that through the &lt;A href="https://docs.databricks.com/api/account" target="_blank"&gt;Databricks account API&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the docs:&lt;/P&gt;
&lt;P&gt;- Get all network configurations:&amp;nbsp;&lt;A href="https://docs.databricks.com/api/account/networks/list" target="_blank"&gt;https://docs.databricks.com/api/account/networks/list&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Get all storage configurations:&amp;nbsp;&lt;A href="https://docs.databricks.com/api/account/storage/list" target="_self"&gt;https://docs.databricks.com/api/account/storage/list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 16:11:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-query-existing-storage-and-network-configuration-aws/m-p/83479#M36940</guid>
      <dc:creator>raphaelblg</dc:creator>
      <dc:date>2024-08-19T16:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to query existing storage and network configuration (AWS)?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-query-existing-storage-and-network-configuration-aws/m-p/83496#M36944</link>
      <description>&lt;P&gt;So there's no official terraform data sources for these?&amp;nbsp; I guess maybe curl and grep or something?&amp;nbsp; Beats fumbling through tfstate.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Will give a try.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 21:23:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-query-existing-storage-and-network-configuration-aws/m-p/83496#M36944</guid>
      <dc:creator>ThisNoName</dc:creator>
      <dc:date>2024-08-19T21:23:58Z</dc:date>
    </item>
  </channel>
</rss>

