Skip to content

Resource: proxmox_virtual_environment_acme_dns_plugin

Warning

Deprecated: Use proxmox_acme_dns_plugin instead. This resource will be removed in v1.0.

Manages an ACME plugin in a Proxmox VE cluster.

Example Usage

resource "proxmox_virtual_environment_acme_dns_plugin" "example" {
  plugin = "test"
  api    = "aws"
  data = {
    AWS_ACCESS_KEY_ID     = "EXAMPLE"
    AWS_SECRET_ACCESS_KEY = "EXAMPLE"
  }
}

Schema

Required

  • api (String) API plugin name.
  • plugin (String) ACME plugin ID name.

Optional

NOTE: Write-only arguments are supported in Terraform 1.11 and later.

  • data (Map of String) DNS plugin data.
  • data_wo (Map of String, Write-only) DNS plugin data, supplied as a write-only argument so credentials are never stored in Terraform state. Requires Terraform 1.11+. Mutually exclusive with data. Pair with data_wo_version to push rotated values.
  • data_wo_version (Number) Version counter for data_wo. Because write-only values are not stored in state, Terraform cannot detect when data_wo changes; increment this value to signal a rotation and force the new data_wo to be sent.
  • digest (String) SHA1 digest of the current configuration. Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
  • disable (Boolean) Flag to disable the config.
  • validation_delay (Number) Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records (0 - 172800).

Import

Import is supported using the following syntax:

#!/usr/bin/env sh
# ACME accounts can be imported using their name, e.g.:
terraform import proxmox_virtual_environment_acme_dns_plugin.example test