feat(P4): Nova rebrand — AWS resource migration (REQ-163)

Rename all acdl-* AWS resources → nova-* across terraform (DynamoDB,
Secrets Manager, Lambda, SNS, SG, KMS alias, ECS, ECR, IAM user/policy,
state bucket, ALB, VPC/subnet names). Lambda default table names → nova-*
(D-111). State bucket backend → nova-tfstate (-migrate-state documented).
New docs/NOVA_AWS_MIGRATION.md runbook (staged migration + rollback).
New scripts/migrate_dynamodb_data.py (scan+copy, dry-run default).
acdl-deploy- → nova-deploy- role ARN in deploy workflows. Test fixtures
updated; terraform validate + pytest + run_ci.sh PASS.

---ci---
project: acdl
phase: 4
milestone: v1.15
status: execute
---/ci---
This commit is contained in:
Jon Chery
2026-07-30 01:54:26 +00:00
parent 267df4ad0d
commit 0e6ecae26d
46 changed files with 932 additions and 258 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
"type": "aws:elbv2:loadbalancer",
"module": "alb@1.0.0",
"inputs": {
"name": "acdl-alb",
"name": "nova-alb",
"subnets": "subnet-12345",
"security_group": "sg-12345",
"region": "us-east-1"
@@ -27,7 +27,7 @@
"type": "aws:elbv2:targetgroup",
"module": "alb@1.0.0",
"inputs": {
"name": "acdl-alb",
"name": "nova-alb",
"port": 80,
"protocol": "HTTP",
"region": "us-east-1"
+4 -4
View File
@@ -1,7 +1,7 @@
locals {
# OAC defaults (adapter previously hardcoded these).
oac_name = "acdl-oac"
oac_origin_type = "s3"
oac_signing_behavior = "always"
oac_signing_protocol = "sigv4"
oac_name = "nova-oac"
oac_origin_type = "s3"
oac_signing_behavior = "always"
oac_signing_protocol = "sigv4"
}
@@ -1,7 +1,7 @@
variable "name" {
type = string
description = "ECS cluster name."
default = "acdl-cluster"
default = "nova-cluster"
}
variable "region" {
+3 -3
View File
@@ -8,15 +8,15 @@ resource "aws_ecs_task_definition" "this" {
}
resource "aws_ecs_service" "this" {
name = "acdl-microservice"
name = "nova-microservice"
cluster = var.cluster_arn
task_definition = aws_ecs_task_definition.this.arn
desired_count = var.desired_count
launch_type = var.launch_type
network_configuration {
subnets = local.subnet_list
security_groups = local.security_groups
subnets = local.subnet_list
security_groups = local.security_groups
assign_public_ip = var.launch_type == "FARGATE"
}
+1 -1
View File
@@ -1,7 +1,7 @@
variable "role_name" {
type = string
description = "The IAM role name."
default = "acdl-microservice-role"
default = "nova-microservice-role"
}
variable "assume_role_policy" {
+1 -1
View File
@@ -1,3 +1,3 @@
locals {
alias_name = "alias/acdl-ci-kms"
alias_name = "alias/nova-ci-kms"
}
+1 -1
View File
@@ -1,6 +1,6 @@
resource "aws_db_subnet_group" "this" {
count = var.subnet_ids != "" ? 1 : 0
name = "acdl-ci-rds-subnet-group"
name = "nova-ci-rds-subnet-group"
subnet_ids = split(",", var.subnet_ids)
}
+1 -1
View File
@@ -10,5 +10,5 @@ output "bucket_name" {
output "bucket_regional_domain_name" {
value = aws_s3_bucket.this.bucket_regional_domain_name
description = "The bucket regional domain name (e.g. acdl-spike-bucket.s3.us-east-1.amazonaws.com)."
description = "The bucket regional domain name (e.g. nova-spike-bucket.s3.us-east-1.amazonaws.com)."
}
+2 -2
View File
@@ -1,5 +1,5 @@
resource "aws_ecs_task_definition" "uptime" {
family = "acdl-uptime"
family = "nova-uptime"
cpu = tostring(var.cpu)
memory = tostring(var.memory)
requires_compatibilities = ["FARGATE"]
@@ -8,7 +8,7 @@ resource "aws_ecs_task_definition" "uptime" {
}
resource "aws_ecs_service" "uptime" {
name = "acdl-uptime"
name = "nova-uptime"
cluster = local.cluster_ref
task_definition = aws_ecs_task_definition.uptime.arn
desired_count = var.feature_flag_enabled ? 1 : 0
+1 -1
View File
@@ -1,7 +1,7 @@
locals {
cidr_block = var.cidr != null ? var.cidr : "10.0.0.0/16"
az_list = split(",", var.azs)
name_tag = var.name != null ? var.name : "acdl-vpc"
name_tag = var.name != null ? var.name : "nova-vpc"
# Derive subnet CIDRs from the VPC CIDR
subnet_cidrs = [
+1 -1
View File
@@ -13,7 +13,7 @@ variable "azs" {
variable "name" {
type = string
description = "Name tag for the VPC and child resources."
default = "acdl-vpc"
default = "nova-vpc"
}
variable "region" {
+1 -1
View File
@@ -15,7 +15,7 @@ resource "aws_wafv2_web_acl" "this" {
visibility_config {
cloudwatch_metrics_enabled = true
metric_name = "acdl-waf-metrics"
metric_name = "nova-waf-metrics"
sampled_requests_enabled = true
}
+1 -1
View File
@@ -1,7 +1,7 @@
variable "name" {
type = string
description = "WAF Web ACL name."
default = "acdl-waf"
default = "nova-waf"
}
variable "scope" {