https://github.com/magenta-aps/terraform-provider-configupdater
Terraform provider for config-updater
https://github.com/magenta-aps/terraform-provider-configupdater
managed-by-atlantis mirrored-repository
Last synced: 14 days ago
JSON representation
Terraform provider for config-updater
- Host: GitHub
- URL: https://github.com/magenta-aps/terraform-provider-configupdater
- Owner: magenta-aps
- License: mpl-2.0
- Created: 2022-12-15T15:02:03.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T18:36:31.000Z (over 2 years ago)
- Last Synced: 2025-02-17T15:46:51.763Z (3 months ago)
- Topics: managed-by-atlantis, mirrored-repository
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-configupdater
Terraform provider for
[config-updater](https://labs.docs.magenta.dk/config-updater.html).## Usage
```
terraform {
required_providers {
configupdater = {
version = "change-this"
source = "magenta-aps/configupdater"
}
}
}provider "configupdater" {
# basic auth
username = "admin"
password = "password1"
}resource "configupdater_secret" "my-server-name" {
file_path = "mailgun/postmaster__magenta.dk.enc.yaml"
secret = {
asecret = "hunter2"
another = "2hunter"
}
}
```## Development
You will need `go`, `terraform` and `make`.
1. Start `config-updater` in `salt-automation/config-updater`
2. `make` -- this will build the provider and init terraform (see `main.tf`)
3. `terraform apply` (`terraform destroy` is also useful)## License
Mozilla Public License Version 2.0, see LICENSE.