terraform-provider-panos icon indicating copy to clipboard operation
terraform-provider-panos copied to clipboard

panos_panorama_gcp_account

Open salsop opened this issue 4 years ago • 1 comments

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

  • provider registry.terraform.io/hashicorp/google v3.44.0
  • provider registry.terraform.io/hashicorp/local v2.0.0
  • provider registry.terraform.io/paloaltonetworks/panos v1.6.3

salsop avatar Oct 29 '20 17:10 salsop

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.

shinmog avatar Oct 29 '20 17:10 shinmog