Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 6.94 KB

terraform.md

File metadata and controls

66 lines (52 loc) · 6.94 KB

Terraform

Infrastructure Security Lint

AWS Docker Terraform Terragrunt Ansible

Requirements

Name Version
terraform >= 1.3
aws ~> 4.31

Providers

Name Version
aws 4.33.0

Modules

Name Source Version
app ./modules/trilium-app n/a
cert ./modules/trilium-cert n/a
data ./modules/trilium-data n/a
end ./modules/trilium-end n/a
log ./modules/trilium-log n/a
provision ./modules/trilium-provision n/a
root ./modules/trilium-root n/a

Resources

Name Type
aws_secretsmanager_secret_version.main data source

Inputs

Name Description Type Default Required
app URL friendly name of this app string "trilium" no
app_name Name of this app string "Trilium Notes" no
domain Domain name to host this app string "trilium.someone.me" no
stage Stage of deployment string "production" no

Outputs

Name Description Value Sensitive
app_instance_public_ip Public IP address of the app instance <sensitive> yes
app_instance_username User name of the app instance <sensitive> yes
app_url URL for this app "https://notes.cednore.me" no
cmd_download_app_db Command to download app db file (sqlite) <sensitive> yes
cmd_restart_app_container Command to restart the app instance <sensitive> yes
cmd_ssh_to_app_instance Command to ssh into the app instance <sensitive> yes
cmd_trilium_installer Command to run to trilium installer playbook <sensitive> yes
cmd_upload_app_db Command to upload app db file (sqlite) <sensitive> yes