Skip to content

Further workshop enhancements; clean old workshop folders; update README#7

Open
whummer wants to merge 8 commits intomainfrom
feature/workshop-improvements
Open

Further workshop enhancements; clean old workshop folders; update README#7
whummer wants to merge 8 commits intomainfrom
feature/workshop-improvements

Conversation

@whummer
Copy link
Copy Markdown
Member

@whummer whummer commented Apr 18, 2026

  • Remove 00-hello-world, 01-serverless-image-resizer, 02-serverless-api-ecs-apigateway, 03-appsync-graphql-api-cdk, 04-cloud-pods-persistence, LICENSE (old EuroPython leftovers)
  • README: add Mermaid architecture diagram, Makefile targets section, updated module table and repo layout reflecting current state
  • ...

whummer and others added 3 commits April 18, 2026 17:56
…agram

- Remove 00-hello-world, 01-serverless-image-resizer, 02-serverless-api-ecs-apigateway,
  03-appsync-graphql-api-cdk, 04-cloud-pods-persistence, LICENSE (old EuroPython leftovers)
- README: add Mermaid architecture diagram, Makefile targets section,
  updated module table and repo layout reflecting current state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- services/fulfillment/: new Docker container — reads order from DynamoDB,
  sets fulfilled status, writes S3 receipt
- terraform: ECR repo, ECS cluster, task definition, IAM execution+task roles;
  FulfillOrder state now uses ecs:runTask.sync:2 instead of Lambda
- order_processor: remove fulfill step and s3/RECEIPTS_BUCKET dependency
- Makefile: add `build` target (ECR push); `deploy` runs build first

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- workflow: deploy app (build ECR image + tflocal apply) then run pytest
- tests: update status checks from 'processed' to 'fulfilled', increase
  timeout for ECS pipeline, add products test, update item names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@whummer whummer changed the title Further worhsop enhancements; clean old workshop folders; update README Further workshop enhancements; clean old workshop folders; update README Apr 18, 2026
whummer and others added 5 commits April 18, 2026 21:49
Terraform owns ECR repo creation; building before apply caused
RepositoryAlreadyExistsException. Reordered CI steps and removed
manual ecr create-repository from build target.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…alue

tflocal output -json <name> returns the value directly as JSON,
not {"value": "..."}. Indexing with ["value"] caused TypeError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…riant

runTask.sync:2 relies on EventBridge events for task completion detection
which LocalStack does not support — execution hangs indefinitely. The
polling-based runTask.sync works correctly. Also increase E2E test timeout
to 150s to accommodate ECS container startup time in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
LocalStack may not reliably inject AWS_ENDPOINT_URL into ECS task
containers in all environments. Setting it explicitly to
localhost.localstack.cloud:4566 ensures the fulfillment container
always reaches LocalStack regardless of runtime injection.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
FARGATE tasks with awsvpc network mode require NetworkConfiguration
with subnet IDs. Without it, ECS RunTask returns an error that
LocalStack's SFN integration doesn't handle, causing States.Runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant