feat: repo 'hyperskill-go-flashcards' added
feat: repo 'hyperskill-go-game-of-life' added
feat: repo 'aws-organizations-policies' added
OpenTofu based management of my git repositories at Sourcehut with mirrors at Codeberg, Gitlab and GitHub.
To interact with AWS (S3 Backend and KMS encryption) and the various git forges, the following Environment variables have to be set:
AWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
GITEA_BASE_URL
GITEA_TOKEN
GITLAB_TOKEN
GITHUB_TOKEN
SRHT_TOKEN
TF_VAR_aws_region
TF_VAR_aws_account_id
TF_VAR_aws_kms_name
TF_VAR_aws_s3_bucket
TF_VAR_project
To managed already existing repositories, use
tofu import module.<modulename>.<resource>.sourcehut <resourcename>
, example:
tofu import module.tmp-opentofu-test-repo.sourcehut_repository.sourcehut tmp-opentofu-test-repo
The primary location is: git.sr.ht/~wombelix/git-repo-mgmt
Mirrors are available on Codeberg, Gitlab and GitHub.
Please don't hesitate to provide Feedback, open an Issue or create a Pull / Merge Request.
Just pick the workflow or platform you prefer and are most comfortable with.
Feedback, bug reports or patches to my sr.ht list ~wombelix/inbox@lists.sr.ht or via Email and Instant Messaging are also always welcome.
Unless otherwise stated: MIT
All files contain license information either as
header comment
or corresponding .license
file.
REUSE from the FSFE implemented to verify license and copyright compliance.