Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/telkomindonesia/terraq
https://github.com/telkomindonesia/terraq
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/telkomindonesia/terraq
- Owner: TelkomIndonesia
- Created: 2023-11-20T09:55:33.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-28T09:20:58.000Z (11 months ago)
- Last Synced: 2024-02-28T10:33:15.125Z (11 months ago)
- Language: HCL
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TerraQ
A simple example of using terraform to only Extract data from providers as JSON printed to stdout. This mechanism can be further utilized inside ETL work such as using [kestra](https://kestra.io/plugins/plugin-terraform/tasks/cli/io.kestra.plugin.terraform.cli.terraformcli) or used as a way to backup configuration.
## Run
For example to run the module in `/src/huaweicloud` inside the container, run:
```bash
docker run --rm \
--env-file .env \
ghcr.io/telkomindonesia/terraq huaweicloud
```### Adding module
You can mount your terraform module under `/src` directory on the container and then pass the directory name as the first argument.
```bash
docker run --rm \
--env-file .env \
-v $PWD/example:/src/example \
ghcr.io/telkomindonesia/terraq example
```