5151 uses : aws-actions/configure-aws-credentials@v4
5252 with :
5353 role-to-assume : ${{ inputs.aws_role_arn }}
54- role-session-name : release-nestjs-playground -${{ inputs.environment }}
54+ role-session-name : release-nestjs-starter -${{ inputs.environment }}
5555 aws-region : ${{ inputs.aws_region }}
5656
5757 # Step 4: Install infrastructure dependencies
@@ -81,35 +81,35 @@ jobs:
8181 working-directory : ./infrastructure
8282 run : |
8383 echo "🚀 Deploying Network stack..."
84- npx cdk deploy nestjs-playground -network-${{ inputs.environment }} --require-approval never
84+ npx cdk deploy nestjs-starter -network-${{ inputs.environment }} --require-approval never
8585 echo "✅ Network stack deployed successfully"
8686
8787 - name : Deploy Database stack
8888 working-directory : ./infrastructure
8989 run : |
9090 echo "🚀 Deploying Database stack..."
91- npx cdk deploy nestjs-playground -database-${{ inputs.environment }} --require-approval never
91+ npx cdk deploy nestjs-starter -database-${{ inputs.environment }} --require-approval never
9292 echo "✅ Database stack deployed successfully"
9393
9494 - name : Deploy Compute stack
9595 working-directory : ./infrastructure
9696 run : |
9797 echo "🚀 Deploying Compute stack..."
98- npx cdk deploy nestjs-playground -compute-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
98+ npx cdk deploy nestjs-starter -compute-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
9999 echo "✅ Compute stack deployed successfully"
100100
101101 - name : Deploy Scheduled Task stack
102102 working-directory : ./infrastructure
103103 run : |
104104 echo "🚀 Deploying Scheduled Task stack..."
105- npx cdk deploy nestjs-playground -scheduled-task-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
105+ npx cdk deploy nestjs-starter -scheduled-task-${{ inputs.environment }} --require-approval never --context appVersion=${{ inputs.image_tag }}
106106 echo "✅ Scheduled Task stack deployed successfully"
107107
108108 # Step 9: Update ECS services with specified image tag
109109 - name : Update ECS API service
110110 run : |
111- CLUSTER_NAME="nestjs-playground -${{ inputs.environment }}"
112- SERVICE_NAME="nestjs-playground -${{ inputs.environment }}"
111+ CLUSTER_NAME="nestjs-starter -${{ inputs.environment }}"
112+ SERVICE_NAME="nestjs-starter -${{ inputs.environment }}"
113113
114114 echo "🔄 Forcing ECS service update with image tag: ${{ inputs.image_tag }}"
115115 aws ecs update-service \
@@ -122,8 +122,8 @@ jobs:
122122
123123 - name : Update ECS Scheduled Task service
124124 run : |
125- CLUSTER_NAME="nestjs-playground -${{ inputs.environment }}"
126- SERVICE_NAME="nestjs-playground -scheduler-${{ inputs.environment }}"
125+ CLUSTER_NAME="nestjs-starter -${{ inputs.environment }}"
126+ SERVICE_NAME="nestjs-starter -scheduler-${{ inputs.environment }}"
127127
128128 echo "🔍 Checking if scheduled task service exists..."
129129 if aws ecs describe-services \
0 commit comments