/terraform-scaleway-secrets

Manage Scaleway Secrets with Terraform.

Primary LanguageHCLMozilla Public License 2.0MPL-2.0

Terraform / Scaleway

Purpose

This repository is used to manage secrets on scaleway using terraform. ~> Important: Beware that secret's values won't be displayed on plan/apply, netherless it will be stored in the state file. For more information, see Sensitive Data in State.

Usage

module "my_service" {
  source  = "scaleway-terraform-modules/secrets/scaleway"
  version = "0.0.1"

  # insert required variables here
}

Requirements

Name Version
terraform >= 0.13
scaleway >= 2.16.2

Resources

Name Type
scaleway_secret.this resource
scaleway_secret_version.this resource

Inputs

Name Description Type Default Required
data Data payload of the secret version. Must be no larger than 64KiB. string n/a yes
name (Required) Name of the secret. string n/a yes
description Description of the secret. string null no
project_id ID of the project containing the secret. Ressource will be created in the project set at the provider level if null. string null no
region Region in which the resource exists. Ressource will be created in the region set at the provider level if null. any null no
tags Tags associated with the secret. list(string) [] no

Outputs

Name Description
secret_id ID of the Secret
secret_status Status of the Secret.
secret_version Number of versions for this Secret.
version_creation_date Date and time of Secret version's creation (RFC 3339 format).
version_data Data payload (base64 encoded) of the Secret version.
version_id ID of the Secret version.
version_revision Revision for this Secret Version.
version_status Status of this Secret Version.
version_update_date Date and time of Secret version's last update (RFC 3339 format).

Authors

Module is maintained with help from the community.

License

Mozilla Public License 2.0 Licensed. See LICENSE for full details.