- Deployed PostgreSQL 18.4 + Gitea 1.22.6 via Docker Compose - Configured Nginx reverse proxy with Let's Encrypt SSL - Created Ansible playbooks for full automation (site.yml) - Database credentials in AWS Secrets Manager - Production deployment at https://gitea.poll-streams.com
33 lines
506 B
HCL
33 lines
506 B
HCL
terraform {
|
|
required_version = ">= 1.15.0"
|
|
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "= 6.49.0"
|
|
}
|
|
tls = {
|
|
source = "hashicorp/tls"
|
|
version = "= 4.3.0"
|
|
}
|
|
local = {
|
|
source = "hashicorp/local"
|
|
version = "= 2.9.0"
|
|
}
|
|
random = {
|
|
source = "hashicorp/random"
|
|
version = "= 3.9.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "aws" {
|
|
region = var.aws_region
|
|
|
|
default_tags {
|
|
tags = {
|
|
Project = "qvest-task"
|
|
}
|
|
}
|
|
}
|