Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TES-303 backup module #6

Merged
merged 3 commits into from
Nov 22, 2023
Merged

TES-303 backup module #6

merged 3 commits into from
Nov 22, 2023

Conversation

cristiantolev
Copy link

@cristiantolev cristiantolev commented Nov 9, 2023

Description

Added a Terraform backup modulefor Azure GraphDB.

Related Issues

https://ontotext.atlassian.net/browse/TES-303

Changes

Added backup module that includes:

    • main.tf
    • outputs.tf
    • README.MD
    • variables.tf
    • versions.tf

I have included the backup module in main.tfand the needed variables in variable.tf.

Screenshots (if applicable)

Checklist

  • I have tested these changes thoroughly.
  • My code follows the project's coding style.
  • I have added appropriate comments to my code, especially in complex areas.
  • All new and existing tests passed locally.

@viktor-ribchev viktor-ribchev changed the title Tes 303 backup module TES-303 backup module Nov 15, 2023
@viktor-ribchev viktor-ribchev marked this pull request as ready for review November 15, 2023 07:49
main.tf Fixed Show resolved Hide resolved
modules/backup/variables.tf Outdated Show resolved Hide resolved
@viktor-ribchev viktor-ribchev force-pushed the TES-303-Backup-Module branch 3 times, most recently from 901ce77 to 83f1450 Compare November 16, 2023 07:49
modules/backup/outputs.tf Outdated Show resolved Hide resolved
modules/vm/main.tf Outdated Show resolved Hide resolved
modules/vm/main.tf Outdated Show resolved Hide resolved
modules/vm/templates/entrypoint.sh.tpl Show resolved Hide resolved
modules/vm/templates/entrypoint.sh.tpl Show resolved Hide resolved
modules/configuration/main.tf Outdated Show resolved Hide resolved
modules/vm/templates/entrypoint.sh.tpl Show resolved Hide resolved
modules/vm/templates/entrypoint.sh.tpl Show resolved Hide resolved
modules/vm/templates/entrypoint.sh.tpl Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
Added storage account, container and blob
Added permissions for blob storages
Added backup module to main
…31 days

Added backup script and cron job to entrypoint.sh.tpl
Added backup schedule variables
Added custom role with minimal permissions for the backup script
Added assignable_scopes to the custom role
Added additional depends_on on azurerm_role_assignment
Fixed the graphdb-cluster-token generation
Added check for leader node when creating backups
Added tcp_keepalive_time and fs.file-max
@viktor-ribchev viktor-ribchev merged commit 6ffa7b7 into main Nov 22, 2023
2 checks passed
@viktor-ribchev viktor-ribchev deleted the TES-303-Backup-Module branch November 22, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants