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

panos_certificate_import has required field that should be optional #432

Open
seh640 opened this issue Apr 3, 2024 · 0 comments
Open

panos_certificate_import has required field that should be optional #432

seh640 opened this issue Apr 3, 2024 · 0 comments
Labels

Comments

@seh640
Copy link

seh640 commented Apr 3, 2024

Describe the bug

I'm not sure if this is a bug issue or a feature request. During an cert import, the private key and passphrase values is required. We have a scenario where we are using the EDL (external dynamic list) service that requires a cert profile and just a public cert. There is no private key for this service. We cannot automate the cert import because the private key field is required.

Expected behavior

The private_key field for the pem cert block should be optional

Current behavior

It fails the pipeline run if this field doesn't have valid data for a private key or passphrase

Possible solution

Make the private_key and passphrase parameter for the pem certificate block optional

Steps to reproduce

  1. Try to import a public cert without a private key or passphrase

Screenshots

Context

This blocks me from using the panos_cerficicate_import resource because I don't have data for the required fields.

Make the private_key and passphrase parameter for the pem certificate block optional

Your Environment

terraform {
required_providers {
panos = {
source = "PaloAltoNetworks/panos"
version = "1.11.1"

terraform {
required_version = ">= 1.2"

@seh640 seh640 added the bug label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant