Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Usage references incorrect Provider Source, API Host FQDN and old version #1

Open
kaisero opened this issue Jan 15, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@kaisero
Copy link

kaisero commented Jan 15, 2024

Documentation link

https://registry.terraform.io/providers/PaloAltoNetworks/scm/latest/docs

Describe the problem

Example Usage contains incorrect FQDN for API Endpoint, provider source and old version.

provider "scm" {
  host          = "api.strata.paloaltonetworks.com"
  client_id     = "your-id@12345"
  client_secret = "secret"
  scope         = "tsg_id:12345"
}

terraform {
  required_providers {
    scm = {
      source  = "paloaltonetworks/terraform-provider-scm"
      version = "0.1.0"
    }
  }
}

Suggested fix

s/api.strata.paloaltonetworks.com/api.sase.paloaltonetworks.com/
s/paloaltonetworks\/terraform-provider-scm/paloaltonetworks\/scm/
s/0.1.0/0.1.1/

provider "scm" {
  host          = "api.sase.paloaltonetworks.com"
  client_id     = "your-id@12345"
  client_secret = "secret"
  scope         = "tsg_id:12345"
}

terraform {
  required_providers {
    scm = {
      source  = "paloaltonetworks/scm"
      version = "0.1.1"
    }
  }
}
@kaisero kaisero added the documentation Improvements or additions to documentation label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant