https://github.com/gexec/gexec-infra
Infra for the Gexec project
https://github.com/gexec/gexec-infra
gexec infra infrastructure provisioning terraform
Last synced: about 1 month ago
JSON representation
Infra for the Gexec project
- Host: GitHub
- URL: https://github.com/gexec/gexec-infra
- Owner: gexec
- License: apache-2.0
- Created: 2025-02-03T10:18:23.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-04-03T19:55:24.000Z (about 1 month ago)
- Last Synced: 2025-04-03T20:34:56.140Z (about 1 month ago)
- Topics: gexec, infra, infrastructure, provisioning, terraform
- Language: HTML
- Homepage: https://gexec.eu
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Gexec: Infra
[](https://github.com/gexec/gexec-infra/actions/workflows/general.yml) [](https://app.codacy.com/gh/gexec/gexec-infra/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [](https://discord.gg/Yda8rD4ZkJ)
This repository defines the infrastructure used by this project, including setup
of subdomains and object storage buckets and what else is needed.## Usage
We are using [Terraform][terraform] to provision all related parts. Every change
have to be submitted via pull requests, after merging the pull request the
changes are getting applied automatically by our CI system. It is possible to
execute everything from a workstation, but it's encouraged to keep it in the
hands of our CI system.### Variables
To get access to the secrets you got to install the 1Password CLI and export the
environment variable `OP_SERVICE_ACCOUNT_TOKEN` which you can find in our shared
store, after that you can simply execute the commands below.```console
cat << EOF >| .envrc
use flake . --impureexport CLOUDFLARE_EMAIL=$(op read op://Gexec/Cloudflare/username)
export CLOUDFLARE_API_KEY=$(op read op://Gexec/Cloudflare/token)export AWS_ACCESS_KEY_ID=$(op read op://Gexec/Terraform/username)
export AWS_SECRET_ACCESS_KEY=$(op read op://Gexec/Terraform/password)
EOFdirenv allow
```### Deployment
```console
bin/terraform init
bin/terraform plan
bin/terraform apply
```## Security
If you find a security issue please contact
[[email protected]](mailto:[email protected]) first.## Contributing
Fork -> Patch -> Push -> Pull Request
## Authors
- [Thomas Boerger](https://github.com/tboerger)
## License
Apache-2.0
## Copyright
```console
Copyright (c) 2025 Thomas Boerger
```[terraform]: https://www.terraform.io/