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.
- Setup the scaleway provider in your tf file.
- Include this module in your tf file. Refer to documentation.
module "my_service" {
source = "scaleway-terraform-modules/secrets/scaleway"
version = "0.0.1"
# insert required variables here
}| Name | Version |
|---|---|
| terraform | >= 0.13 |
| scaleway | >= 2.16.2 |
| Name | Type |
|---|---|
| scaleway_secret.this | resource |
| scaleway_secret_version.this | resource |
| 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 |
| path | Path 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 |
| 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). |
Module is maintained with help from the community.
Mozilla Public License 2.0 Licensed. See LICENSE for full details.