fix(ci): target only VPC resources in platform-vpc-apply/destroy
acdl-ci / Lint (pull_request) Successful in 8s
acdl-ci / Test (pull_request) Successful in 4m5s
acdl-ci / Platform check-only (offline) (pull_request) Successful in 20s
acdl-modules-lifecycle / Platform VPC apply (pull_request) Successful in 46s
acdl-modules-lifecycle / L1 lifecycle (alb) (pull_request) Failing after 47s
acdl-modules-lifecycle / L1 lifecycle (cloudfront) (pull_request) Failing after 5m8s
acdl-modules-lifecycle / L1 lifecycle (ecr) (pull_request) Successful in 2m21s
acdl-modules-lifecycle / L1 lifecycle (ecs-cluster) (pull_request) Successful in 2m42s
acdl-modules-lifecycle / L1 lifecycle (ecs-service) (pull_request) Failing after 37s
acdl-modules-lifecycle / L1 lifecycle (iam-role) (pull_request) Failing after 38s
acdl-modules-lifecycle / L1 lifecycle (kms-key) (pull_request) Failing after 47s
acdl-modules-lifecycle / L1 lifecycle (rds) (pull_request) Failing after 56s
acdl-modules-lifecycle / L1 lifecycle (s3) (pull_request) Failing after 56s
acdl-modules-lifecycle / L1 lifecycle (uptime) (pull_request) Failing after 38s
acdl-modules-lifecycle / L1 lifecycle (vpc) (pull_request) Failing after 21m44s
acdl-modules-lifecycle / L1 lifecycle (waf) (pull_request) Failing after 1m48s
acdl-modules-lifecycle / Platform VPC destroy (pull_request) Successful in 44s

The platform stack includes Lambda, DynamoDB, Secrets Manager, and KMS
resources that have pre-existing state issues (a secret scheduled for
deletion blocks creation). The lifecycle pipeline only needs the VPC.

Use terraform -target to apply/destroy only the VPC-related resources:
aws_vpc.acdl_shared, aws_subnet.acdl_shared, aws_internet_gateway,
aws_route_table, aws_route_table_association, aws_security_group.ecs.

---ci---
project: acdl
phase: P59
milestone: v1.11
status: execute
---/ci---
This commit is contained in:
Jon Chery
2026-07-28 17:07:23 +00:00
parent c4e94cf171
commit 8071d6afd1
2 changed files with 28 additions and 4 deletions
+14 -2
View File
@@ -47,7 +47,13 @@ jobs:
AWS_DEFAULT_REGION: us-east-1
run: |
terraform init -input=false -lock=false
terraform apply -auto-approve -lock=false
terraform apply -auto-approve -lock=false \
-target=aws_vpc.acdl_shared \
-target=aws_subnet.acdl_shared \
-target=aws_internet_gateway.acdl_shared \
-target=aws_route_table.acdl_shared \
-target=aws_route_table_association.acdl_shared \
-target=aws_security_group.ecs
# L1 lifecycle matrix: apply simple → apply complex (modify) → destroy
lifecycle:
@@ -113,4 +119,10 @@ jobs:
AWS_DEFAULT_REGION: us-east-1
run: |
terraform init -input=false -lock=false
terraform destroy -auto-approve -lock=false
terraform destroy -auto-approve -lock=false \
-target=aws_vpc.acdl_shared \
-target=aws_subnet.acdl_shared \
-target=aws_internet_gateway.acdl_shared \
-target=aws_route_table.acdl_shared \
-target=aws_route_table_association.acdl_shared \
-target=aws_security_group.ecs