PaloAltoNetworks / terraform-provider-panos

Terraform Panos provider
https://www.terraform.io/docs/providers/panos/
Mozilla Public License 2.0
87 stars 71 forks source link

panos_panorama_gcp_account #246

Open salsop opened 3 years ago

salsop commented 3 years ago

Describe the bug

Creeating a GCP Account in Terraform I get and error:

resource "panos_panorama_gcp_account" "panorama" { credential_file = "tmp/credentials.json" name = var.gcp_project_id project_id = var.gcp_project_id }

Error: Could not find schema node for xpath /config/devices/entry[@name='localhost.localdomain']/plugins/gcp/setup/service-act-credentials

Expected behavior

Should create the GCP Account in the plugin

Current behavior

Get Error:

Error: Could not find schema node for xpath /config/devices/entry[@name='localhost.localdomain']/plugins/gcp/setup/service-act-credentials

Possible solution

Steps to reproduce

Panorama v10.0.0 with GCP Plugin v2.0.0

Screenshots

n/a

Context

I can't complete automation of GCP Autoscale into Panorama

Your Environment

Panorama v10.0.0 with GCP Plugin v2.0.0 Terraform v0.13.4

shinmog commented 3 years ago

The problem is that the PAN-OS team completely changed the GCP plugin. The current GCP resources are for the 1.0 GCP plugin, but the 2.0 GCP plugin is completely different.

I'm not entirely sure if it's possible to install the 1.0 plugin still, but if you can still install the 1.0 GCP plugin, then the resources will still work.

I'll be getting to this in two or so releases.