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... resource "panos_panorama_device_group_entry" "add_to_dg" { provider = panos .co_pano device_group = var. device_group serial = data. panos_system_info . config_panvm . info . serial } It creates the correct resource in the output: # panos_panorama_device_group_entry.add_to_dg will be created + resource "panos_panorama_device_group_entry" "add_to_dg" { + device_group = "VPN-UE1" + id = (known after apply) + serial = "123456789" 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 Anyone doing this through TF at all, or would I need to do this through the (rest)API?
... View more