Skip to content

cloudflare_zero_trust_gateway_certificate unable to manage resource (cant mark as active/inactive) #5879

@pcanham

Description

@pcanham

Confirmation

  • This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
  • I have searched the issue tracker and my issue isn't already found.
  • I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version

You can create/generate a certificate but unable to change the deployment status of the certificate (this functionality use to exist in v4)

Affected resource(s)

cloudflare_zero_trust_gateway_certificate

Terraform configuration files

working v4 resource 

resource "cloudflare_zero_trust_gateway_certificate" "main" {
  account_id           = var.cloudflare_account_id
  activate             = true
  gateway_managed      = true
  validity_period_days = 1826
}


only options in v5

resource "cloudflare_zero_trust_gateway_certificate" "main" {
  account_id           = var.cloudflare_account_id
  validity_period_days = 1826
}

Link to debug output

Panic output

No response

Expected output

abilty to manage certificate, mark it as active or inactive. I would assume that resource cloudflare_zero_trust_gateway_settings would control whether its deployment status is marked as 'in-use'

Actual output

None

Steps to reproduce

  1. create certificate
  2. try and mark cert as active

Additional factoids

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.version/5Categorizes issue or PR as related to version 5 of the provider.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions