PaloAltoNetworks / terraform-provider-panos

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

panos_panorama_device_group unsupported argument "device_group" #228

Closed jrd57 closed 4 years ago

jrd57 commented 4 years ago

Hi everyone,

I'm new here and i didn't find the properly folder to create my bug report sorry... I would create an device group into an other device group, i used the optional argument "device_group" But when I try to apply it's write that :

Error: Unsupported argument

on provider.tf line 9, in resource "panos_panorama_device_group" "example": 9: device_group = "Datacenter_Device_Group"

An argument named "device_group" is not expected here.

my code resource "panos_panorama_device_group" "example" { name = "JORD" device_group = "Datacenter_Device_Group" serial = "XXX" }

Thank you

ewbankkit commented 4 years ago

@jrd57 It looks like this issue should be raised in the https://github.com/terraform-providers/terraform-provider-panos repository. Thanks.

jrd57 commented 4 years ago

@jrd57 It looks like this issue should be raised in the https://github.com/terraform-providers/terraform-provider-panos repository. Thanks.

i dont find resolution here

bflad commented 4 years ago

Hi @jrd57 👋 This GitHub repository is for Terraform AWS Provider resources (ones that start with aws_ in their name). As @ewbankkit mentioned, this issue should be in the Terraform Panos Provider repository: https://github.com/terraform-providers/terraform-provider-panos

I will transfer this issue to that repository.

jrd57 commented 4 years ago

Hi @ewbankkit

@jrd57 It looks like this issue should be raised in the https://github.com/terraform-providers/terraform-provider-panos repository. Thanks.

Did you know how i can use the code here :
https://github.com/terraform-providers/terraform-provider-panos/blob/master/panos/resource_panorama_device_group.go

i have install his plugin but don't know how use to create device group on an other device group hierarchy.

Thanks

shinmog commented 4 years ago

@jrd57

If you're trying to create a device group, then the param name is name (you specify the device group using device_group in other Panorama resources). Please refer to the documentation here: https://www.terraform.io/docs/providers/panos/r/panorama_device_group.html