PaloAltoNetworks / terraform-provider-panos

Terraform Panos provider
https://www.terraform.io/docs/providers/panos/
MIT License
89 stars 71 forks source link

Terraform init issue with Docker #318

Closed Montana closed 2 years ago

Montana commented 2 years ago

Hey PAN,

I accidentally posted this in the wrong area the first time, but was informed this was the right area!

I've ran type=version and requested the version type to show in a verbose esque manner on PAN-OS. I've been setting this up in conjunction with HashiCorp Terraform. It currently looks like this:

resource "panos_dynamic_user_group" "example" {
    name = "montanatest1"
    description = "PAN and Terraform"
    filter = "'orange'"
}

This is mainly using panos_dynamic_user_group, what I want to do is set up another machine do some flavor of a cron job and or a cron table, which I could SSH into the appliance and reboot it.

Is this feasible?

Thank you so much! Cheers, Montana Mendy

welcome-to-palo-alto-networks[bot] commented 2 years ago

:tada: Thanks for opening your first issue here! Welcome to the community!

shinmog commented 2 years ago

Little confused what you're asking.

Are you asking if there is a panos resource that reboots the NGFW / Panorama?

Montana commented 2 years ago

Hey @shinmog,

Yeah, that's exactly what I'm asking, other than the classic way of?

debug software restart process management-server

I really appreciate it.

Cheers, Montana Mendy

shinmog commented 2 years ago

So that restarts the management plane, which is different than restarting the whole box itself.

But either way, there is no resource that restarts PAN-OS or the management plane right now.

Montana commented 2 years ago

Thank you for clearing this up @shinmog,

Have a wonderful weekend.