mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-15 08:02:53 +00:00
* chore: retire the standalone lsp and multiplayer images from examples, drop lsp/Dockerfile Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * chore: drop the unbuilt DockerfileMultiplayer, document running the LSP from windmill-extra Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(examples): ecs terraform destroys cleanly and gives private instances no public ip Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(examples): give windmill-extra on ecs a WINDMILL_BASE_URL for multiplayer auth, address review Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(examples): make the ecs example upgrade cleanly from the standalone lsp/multiplayer stack Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(examples): name the extra target group by prefix so create_before_destroy can replace it Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs(examples): note the brief editor-socket gap when upgrading the ecs example Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs(examples): the debugger stays off after the ecs upgrade unless enabled Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
49 lines
1.6 KiB
Terraform
49 lines
1.6 KiB
Terraform
resource "aws_db_subnet_group" "windmill_cluster_rds_subnets" {
|
|
name = "windmill-cluster-rds-subnets"
|
|
subnet_ids = [
|
|
aws_subnet.windmill_cluster_subnet_private1.id,
|
|
aws_subnet.windmill_cluster_subnet_private2.id,
|
|
]
|
|
}
|
|
|
|
resource "aws_db_instance" "windmill_cluster_rds" {
|
|
identifier = "windmill-cluster-db"
|
|
|
|
availability_zone = "us-east-2a"
|
|
instance_class = "db.m5d.large"
|
|
allocated_storage = 100
|
|
max_allocated_storage = 1000
|
|
storage_type = "gp3"
|
|
# storage_throughput = 125
|
|
storage_encrypted = true
|
|
# iops = 3000
|
|
|
|
engine = "postgres"
|
|
engine_version = "16"
|
|
parameter_group_name = "default.postgres16"
|
|
license_model = "postgresql-license"
|
|
|
|
db_name = "windmill"
|
|
username = "postgres"
|
|
password = var.database_password
|
|
|
|
network_type = "IPV4"
|
|
port = 5432
|
|
db_subnet_group_name = aws_db_subnet_group.windmill_cluster_rds_subnets.name
|
|
vpc_security_group_ids = [aws_security_group.windmill_cluster_sg.id]
|
|
publicly_accessible = false
|
|
|
|
performance_insights_enabled = true
|
|
performance_insights_retention_period = 7
|
|
|
|
backup_retention_period = 7
|
|
skip_final_snapshot = true
|
|
deletion_protection = false
|
|
|
|
# engine_version picks the major version when the database is created; RDS then applies minor
|
|
# upgrades itself. Changing it on an existing instance would ask RDS to "upgrade" to the bare major
|
|
# version, which it rejects, so Terraform leaves it alone after creation.
|
|
lifecycle {
|
|
ignore_changes = [engine_version]
|
|
}
|
|
} |