<?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 Adding managed device in Panorama via terraform panos provider in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/adding-managed-device-in-panorama-via-terraform-panos-provider/m-p/401609#M2644</link>
    <description>&lt;P&gt;Using the panos terraform provider, I'm able to grab the serial, and then add it to the resource which adds it to a device group, however, it errors out because it is unable to find the serial. If I add the serial as a managed device in panorama, and run the same tf again, then it works. But there is nowhere I can find on how to do this in tf...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;resource &lt;/SPAN&gt;&lt;SPAN&gt;"panos_panorama_device_group_entry" &lt;/SPAN&gt;&lt;SPAN&gt;"add_to_dg" &lt;/SPAN&gt;{&lt;BR /&gt;    &lt;SPAN&gt;provider &lt;/SPAN&gt;= &lt;SPAN&gt;panos&lt;/SPAN&gt;.co_pano&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;device_group &lt;/SPAN&gt;= var.&lt;SPAN&gt;device_group&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    serial &lt;/SPAN&gt;= data.&lt;SPAN&gt;panos_system_info&lt;/SPAN&gt;.&lt;SPAN&gt;config_panvm&lt;/SPAN&gt;.&lt;SPAN&gt;info&lt;/SPAN&gt;.&lt;SPAN&gt;serial&lt;BR /&gt;&lt;/SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;It creates the correct resource in the output:&lt;BR /&gt;&lt;BR /&gt;# panos_panorama_device_group_entry.add_to_dg will be created&lt;BR /&gt;+ resource "panos_panorama_device_group_entry" "add_to_dg" {&lt;BR /&gt;+ device_group = "VPN-UE1"&lt;BR /&gt;+ id = (known after apply)&lt;BR /&gt;+ serial = "123456789"&lt;BR /&gt;&lt;BR /&gt;I don't want to create a device group, I just want to add to it, and that's why this was recommended over panos_panorama_device_group&lt;BR /&gt;&lt;BR /&gt;Anyone doing this through TF at all, or would I need to do this through the (rest)API?&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Apr 2021 21:59:26 GMT</pubDate>
    <dc:creator>lstahl</dc:creator>
    <dc:date>2021-04-23T21:59:26Z</dc:date>
    <item>
      <title>Adding managed device in Panorama via terraform panos provider</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/adding-managed-device-in-panorama-via-terraform-panos-provider/m-p/401609#M2644</link>
      <description>&lt;P&gt;Using the panos terraform provider, I'm able to grab the serial, and then add it to the resource which adds it to a device group, however, it errors out because it is unable to find the serial. If I add the serial as a managed device in panorama, and run the same tf again, then it works. But there is nowhere I can find on how to do this in tf...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;resource &lt;/SPAN&gt;&lt;SPAN&gt;"panos_panorama_device_group_entry" &lt;/SPAN&gt;&lt;SPAN&gt;"add_to_dg" &lt;/SPAN&gt;{&lt;BR /&gt;    &lt;SPAN&gt;provider &lt;/SPAN&gt;= &lt;SPAN&gt;panos&lt;/SPAN&gt;.co_pano&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;device_group &lt;/SPAN&gt;= var.&lt;SPAN&gt;device_group&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    serial &lt;/SPAN&gt;= data.&lt;SPAN&gt;panos_system_info&lt;/SPAN&gt;.&lt;SPAN&gt;config_panvm&lt;/SPAN&gt;.&lt;SPAN&gt;info&lt;/SPAN&gt;.&lt;SPAN&gt;serial&lt;BR /&gt;&lt;/SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;It creates the correct resource in the output:&lt;BR /&gt;&lt;BR /&gt;# panos_panorama_device_group_entry.add_to_dg will be created&lt;BR /&gt;+ resource "panos_panorama_device_group_entry" "add_to_dg" {&lt;BR /&gt;+ device_group = "VPN-UE1"&lt;BR /&gt;+ id = (known after apply)&lt;BR /&gt;+ serial = "123456789"&lt;BR /&gt;&lt;BR /&gt;I don't want to create a device group, I just want to add to it, and that's why this was recommended over panos_panorama_device_group&lt;BR /&gt;&lt;BR /&gt;Anyone doing this through TF at all, or would I need to do this through the (rest)API?&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Apr 2021 21:59:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/adding-managed-device-in-panorama-via-terraform-panos-provider/m-p/401609#M2644</guid>
      <dc:creator>lstahl</dc:creator>
      <dc:date>2021-04-23T21:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding managed device in Panorama via terraform panos provider</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/adding-managed-device-in-panorama-via-terraform-panos-provider/m-p/405247#M2654</link>
      <description>&lt;P&gt;Adding a serial number as a managed device in Panorama is currently missing from the Terraform provider.&amp;nbsp; I don't think there's a github issue open for this right now...?&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 15:46:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/adding-managed-device-in-panorama-via-terraform-panos-provider/m-p/405247#M2654</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2021-05-06T15:46:22Z</dc:date>
    </item>
  </channel>
</rss>

