* feat(organizations): add AWS Organizations service Implements the AWS Organizations control plane over JSON 1.1 (AWSOrganizationsV20161128.*): organizations and roots, the OU tree, member accounts, all policy types, tags, trusted service access, delegated administrators, the organization resource policy, and the invitation/handshake flow. Organizations is global and cross-account, so records are addressed through the explicit *ForAccount methods on AccountAwareStorageBackend rather than the request-context-derived get/put: a member account calling DescribeOrganization has a different request account than the one owning the data. The caller account is used for authorization instead — mutations are management-account only, members get read access to their own organization, and outsiders get AWSOrganizationsNotInUseException. Because Floci already resolves a 12-digit access key id to an account, an account created by CreateAccount is immediately usable as a caller identity against every other service. * fix(organizations): emit only AWS's handshake resource types Review feedback on #2489. The ORGANIZATION resource on an INVITE handshake was carrying a MASTER_ACCOUNT_ID child. HandshakeResourceType is a closed enum and that value is not in it, so the AWS SDK deserializes it as UNKNOWN_TO_SDK_VERSION rather than failing loudly. AWS's documented children are MASTER_EMAIL and MASTER_NAME; emit those instead. The javadoc already described the correct pair, so it was the code that deviated. Adds an integration test pinning the resource types against the enum so this cannot regress. Also from review: - POLICY_TYPES and EFFECTIVE_POLICY_TYPES are rendered into validation messages, but Set.of's iteration order is unspecified and salted per JVM run, so the same rejection could read differently between runs. Declare them as ordered Lists with companion Sets for O(1) membership. - listHandshakesForAccount called organizationById — itself a full scan — once per handshake. Build the orgId to management-account map once.
3.5 KiB
Floci
Light, fluffy, and always free
Floci is a fast, free, and open-source local AWS service emulator built for developers who need reliable AWS services in development and CI without cost, complexity, or vendor lock-in.
Supported Services
Floci emulates 73 AWS services. See the Services Overview for per-service operation counts, endpoints, and full protocol details.
| Service | Protocol |
|---|---|
| SSM Parameter Store | JSON 1.1 |
| SQS | Query / JSON |
| SNS | Query / JSON |
| SES | Query |
| SES v2 | REST JSON |
| S3 | REST XML |
| DynamoDB + Streams | JSON 1.1 |
| Lambda | REST JSON |
| API Gateway v1 & v2 | REST JSON |
| AppSync | REST JSON |
| Cognito | JSON 1.1 |
| KMS | JSON 1.1 |
| Kinesis | JSON 1.1 |
| Secrets Manager | JSON 1.1 |
| CloudFormation | Query |
| Step Functions | JSON 1.1 |
| IAM | Query |
| STS | Query |
| Organizations | JSON 1.1 |
| ElastiCache (Redis / Valkey) | Query + RESP proxy |
| RDS (PostgreSQL / MySQL) | Query + wire proxy |
| RDS Data API | REST JSON |
| Neptune (graph DB / Gremlin) | Query + WebSocket proxy |
| DocumentDB (MongoDB-compatible) | Query + MongoDB wire |
| MSK (Kafka / Redpanda) | REST JSON + Kafka |
| Amazon MQ (RabbitMQ) | REST JSON + AMQP |
| Athena | JSON 1.1 |
| Glue Data Catalog + Schema Registry | JSON 1.1 |
| Data Firehose | JSON 1.1 |
| Managed Service for Apache Flink | JSON 1.1 |
| ECS | JSON 1.1 |
| EC2 | EC2 Query |
| Lightsail | JSON 1.1 |
| ACM | JSON 1.1 |
| ECR | JSON 1.1 + OCI Distribution |
| Resource Groups Tagging API | JSON 1.1 |
| OpenSearch | REST JSON |
| EventBridge | JSON 1.1 |
| EventBridge Pipes | REST JSON |
| EventBridge Scheduler | REST JSON |
| CloudWatch Logs & Metrics | JSON 1.1 / Query |
| CloudWatch RUM | REST JSON |
| AppConfig + AppConfigData | REST JSON |
| Bedrock Runtime | REST JSON |
| EKS | REST JSON |
| ELB v2 | Query |
| Auto Scaling | Query |
| Elastic Beanstalk | Query |
| CodeBuild | JSON 1.1 |
| CodeDeploy | JSON 1.1 |
| CodePipeline | JSON 1.1 |
| AWS Backup | REST JSON |
| AWS FIS | REST JSON |
| CloudFront | REST XML |
| Route53 | REST XML |
| Cloud Map | JSON 1.1 |
| AWS Config | JSON 1.1 |
| Textract | JSON 1.1 |
| Transcribe | JSON 1.1 |
| Pricing | JSON 1.1 |
| Cost Explorer | JSON 1.1 |
| Cost and Usage Reports | JSON 1.1 |
| BCM Data Exports | JSON 1.1 |
| Transfer Family | JSON 1.1 |
Why Floci?
No account required. No auth tokens, no sign-ups, no telemetry. Pull the image and start building.
No feature gates. Every feature is available to everyone — no community-edition restrictions.
No CI restrictions. Run in your CI pipeline with zero limitations. No credits, no quotas, no paid tiers.
Truly open source. MIT licensed. Fork it, extend it, embed it. No "community edition" sunset coming.
Quick Start
services:
floci:
image: floci/floci:latest
ports:
- "4566:4566"
volumes:
# Local directory bind mount (default)
- ./data:/app/data
# OR named volume (optional):
# - floci-data:/app/data
#volumes:
# floci-data:
docker compose up -d
aws --endpoint-url http://localhost:4566 s3 mb s3://my-bucket
All 73 AWS services are immediately available at http://localhost:4566.
Get started →{ .md-button .md-button--primary } View services →{ .md-button }