mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
* feat(redshiftserverless): add namespace lifecycle Amazon Redshift Serverless was absent entirely: every call returned UnknownOperationException, so Terraform's aws_redshiftserverless_namespace could not be planned or applied against Floci. Add a JSON 1.1 service under the RedshiftServerless. target prefix with CreateNamespace, GetNamespace, ListNamespaces, UpdateNamespace, and DeleteNamespace. Namespaces are account and Region scoped and stored through StorageFactory. AWS defaults are applied on create (dbName dev, kmsKeyId AWS_OWNED_KMS_KEY, empty logExports, status AVAILABLE), adminUserPassword is accepted and never returned, DeleteNamespace returns the removed namespace with status DELETING, and UpdateNamespace applies only the supplied fields. Workgroups, snapshots, and the tagging operations remain unemulated. * feat(redshiftserverless): add namespace tagging operations Terraform's aws_redshiftserverless_namespace calls ListTagsForResource on every read once tags are involved, so the namespace lifecycle alone left the resource broken as soon as a config set tags. Add ListTagsForResource, TagResource, and UntagResource. Lookup is by resourceArn rather than namespace name, scoped to the caller's Region, since that is how AWS keys these operations; the namespace is currently the only taggable Redshift Serverless resource, so any other ARN is reported absent. TagResource merges into the existing tags, UntagResource removes by key, and tags passed to CreateNamespace are readable back and survive UpdateNamespace. * fix(redshiftserverless): emit creationDate as ISO-8601 per the API model The awsJson1.1 default is epoch seconds and 133 call sites use it, but this model overrides it: TimestampFormatTrait ISO_8601 on creationDate (and on all eleven other timestamp members in the package, audited). Strict clients broke on the number: Terraform's Go SDK failed to decode and orphaned the created namespace outside state; the Java SDK failed to unmarshall. Only botocore's lenient parsing let CLI checks pass. Emitted via the repo's millisecond-ISO idiom; format pinned by regex in the integration test and by a new handler-level unit test class covering the wire layer that had none (timestamp shape, nextToken emission, maxResults type guard). Checklist note added to AGENTS.md + CONTRIBUTING.md so the next service checks the trait before reaching for the epoch idiom. * docs(redshiftserverless): the ISO-8601 rule is per member, not model-wide Review follow-up: the earlier claim that every timestamp member in this model carries TimestampFormatTrait(ISO_8601) is wrong — 15 of the model's 30 INSTANT members carry no trait and fall back to the awsJson1.1 epoch default. The shipped code is unaffected (creationDate, the only timestamp emitted, is genuinely ISO_8601), but the claim was load-bearing guidance: whoever adds snapshots or scheduled actions next would have applied ISO-8601 to trait-free members and reintroduced the bug in the opposite direction. Narrowed in all four places it appeared. * fix(redshiftserverless): validate collection types, copy-on-update; drop em dashes A present iamRoles, logExports, tags or tagKeys member that was not a JSON array parsed to null and was then indistinguishable from an omitted member, so a malformed UpdateNamespace silently kept the stored value and returned 200 instead of reporting the request as invalid. Only a missing or null member now means "omitted"; a present member of the wrong type, or a collection holding a non-string element, is a ValidationException naming the member. updateNamespace mutated the stored Namespace in place while GetNamespace and ListNamespaces read without taking the same monitor, so a concurrent reader could observe a torn object with some fields updated and some not. Build the new state on a copy and store that instead, which also makes the write-back explicit. The same in-place mutation was present in tagResource, untagResource and deleteNamespace, so all four now copy. Merge semantics are unchanged. Replace the em dashes in the timestamp guidance with commas and periods, per the repository ban. * fix(redshiftserverless): reject Redshift reserved words as namespace names CreateNamespace rejects a namespace name that is an Amazon Redshift SQL reserved word, so names like select or user passed the length and [a-z0-9-] checks here and were persisted. Add the documented reserved word list to the shared namespace-name validator, which create, get, update and delete all reach, so the rejection is consistent.
232 lines
8.2 KiB
YAML
232 lines
8.2 KiB
YAML
site_name: Floci
|
|
site_description: Fast, free, open-source local AWS emulator
|
|
site_url: https://floci.io/floci/
|
|
repo_url: https://github.com/floci-io/floci
|
|
repo_name: floci-io/floci
|
|
edit_uri: edit/main/docs/
|
|
|
|
theme:
|
|
name: material
|
|
custom_dir: overrides
|
|
logo: assets/floci-header.svg
|
|
favicon: assets/floci.svg
|
|
palette:
|
|
- media: "(prefers-color-scheme: light)"
|
|
scheme: default
|
|
primary: custom
|
|
accent: custom
|
|
toggle:
|
|
icon: material/brightness-7
|
|
name: Switch to dark mode
|
|
- media: "(prefers-color-scheme: dark)"
|
|
scheme: slate
|
|
primary: custom
|
|
accent: custom
|
|
toggle:
|
|
icon: material/brightness-4
|
|
name: Switch to light mode
|
|
features:
|
|
- navigation.tabs
|
|
- navigation.sections
|
|
- navigation.top
|
|
- navigation.instant
|
|
- search.highlight
|
|
- search.suggest
|
|
- content.code.copy
|
|
- content.code.annotate
|
|
- content.tabs.link
|
|
|
|
# Fail the build on any warning so a docs page without a nav entry, or a broken link,
|
|
# is caught in CI instead of silently shipping unreachable (see floci-io/floci: eleven
|
|
# services/*.md pages went live without a nav line and nothing was red).
|
|
strict: true
|
|
validation:
|
|
nav:
|
|
omitted_files: warn
|
|
not_found: warn
|
|
absolute_links: warn
|
|
links:
|
|
not_found: warn
|
|
absolute_links: warn
|
|
unrecognized_links: warn
|
|
not_in_nav: |
|
|
configuration/application-yml.md
|
|
design/*.md
|
|
|
|
extra_css:
|
|
- assets/extra.css
|
|
|
|
plugins:
|
|
- search
|
|
|
|
markdown_extensions:
|
|
- admonition
|
|
- pymdownx.details
|
|
- pymdownx.superfences
|
|
- pymdownx.highlight:
|
|
anchor_linenums: true
|
|
- pymdownx.tabbed:
|
|
alternate_style: true
|
|
- pymdownx.inlinehilite
|
|
- tables
|
|
- attr_list
|
|
|
|
nav:
|
|
- Home: index.md
|
|
- Getting Started:
|
|
- Quick Start: getting-started/quick-start.md
|
|
- Installation: getting-started/installation.md
|
|
- AWS CLI & SDK Setup: getting-started/aws-setup.md
|
|
- Terraform: getting-started/terraform.md
|
|
- Migrate from LocalStack: getting-started/migrate-from-localstack.md
|
|
- Configuration:
|
|
- Environment Variables: configuration/environment-variables.md
|
|
- Docker Images: configuration/docker-images.md
|
|
- Docker Compose: configuration/docker-compose.md
|
|
- Docker Configuration: configuration/docker.md
|
|
- Ports Reference: configuration/ports.md
|
|
- Multi-Account Isolation: configuration/multi-account.md
|
|
- Storage Modes: configuration/storage.md
|
|
- TLS / HTTPS: configuration/tls.md
|
|
- Initialization Hooks: configuration/initialization-hooks.md
|
|
- Advanced:
|
|
- application.yml Reference: configuration/advanced/application-yml.md
|
|
- Services:
|
|
- Overview: services/index.md
|
|
- SSM Parameter Store: services/ssm.md
|
|
- SQS: services/sqs.md
|
|
- SNS: services/sns.md
|
|
- SES: services/ses.md
|
|
- S3: services/s3.md
|
|
- S3 Tables: services/s3tables.md
|
|
- S3 Vectors: services/s3vectors.md
|
|
- EFS: services/efs.md
|
|
- DynamoDB: services/dynamodb.md
|
|
- Lambda: services/lambda.md
|
|
- Lambda MicroVMs: services/lambda-microvms.md
|
|
- API Gateway: services/api-gateway.md
|
|
- Cognito: services/cognito.md
|
|
- Cognito Identity: services/cognitoidentity.md
|
|
- Global Accelerator: services/globalaccelerator.md
|
|
- KMS: services/kms.md
|
|
- CloudHSM v2: services/cloudhsmv2.md
|
|
- Kinesis: services/kinesis.md
|
|
- Managed Service for Apache Flink: services/kinesisanalytics.md
|
|
- Secrets Manager: services/secrets-manager.md
|
|
- CloudFormation: services/cloudformation.md
|
|
- Cloud Control API: services/cloudcontrol.md
|
|
- Step Functions: services/step-functions.md
|
|
- SWF: services/swf.md
|
|
- IAM: services/iam.md
|
|
- STS: services/sts.md
|
|
- Organizations: services/organizations.md
|
|
- AWS Account Management: services/account.md
|
|
- IAM Access Analyzer: services/access-analyzer.md
|
|
- IAM Identity Center (SSO Admin): services/ssoadmin.md
|
|
- IAM Identity Center (OIDC): services/ssooidc.md
|
|
- IAM Identity Center (Access Portal): services/ssoportal.md
|
|
- Identity Store: services/identitystore.md
|
|
- AWS Budgets: services/budgets.md
|
|
- Amazon Macie: services/macie2.md
|
|
- Amazon Inspector: services/inspector2.md
|
|
- Security Hub: services/securityhub.md
|
|
- Amazon Detective: services/detective.md
|
|
- Amazon Verified Permissions: services/verifiedpermissions.md
|
|
- Control Catalog: services/controlcatalog.md
|
|
- AWS Marketplace: services/marketplace.md
|
|
- Control Tower: services/controltower.md
|
|
- AWS Service Catalog: services/service-catalog.md
|
|
- ElastiCache: services/elasticache.md
|
|
- MemoryDB: services/memorydb.md
|
|
- RDS: services/rds.md
|
|
- RDS Data API: services/rds-data.md
|
|
- Timestream for InfluxDB: services/timestream-influxdb.md
|
|
- MSK (Kafka): services/msk.md
|
|
- Amazon MQ: services/amazonmq.md
|
|
- Glue: services/glue.md
|
|
- Lake Formation: services/lakeformation.md
|
|
- Neptune: services/neptune.md
|
|
- DocumentDB: services/docdb.md
|
|
- DMS: services/dms.md
|
|
- Athena: services/athena.md
|
|
- Redshift: services/redshift.md
|
|
- Redshift Data API: services/redshift-data.md
|
|
- Redshift Serverless: services/redshift-serverless.md
|
|
- Data Firehose: services/firehose.md
|
|
- EventBridge: services/eventbridge.md
|
|
- EventBridge Pipes: services/pipes.md
|
|
- EventBridge Scheduler: services/scheduler.md
|
|
- CloudWatch: services/cloudwatch.md
|
|
- CloudWatch Metric Filter Verification: services/cloudwatch-metric-filters-verification.md
|
|
- CloudWatch OAM: services/oam.md
|
|
- CloudWatch RUM: services/rum.md
|
|
- Managed Prometheus (AMP): services/managed-prometheus.md
|
|
- GuardDuty: services/guardduty.md
|
|
- Connect: services/connect.md
|
|
- AppIntegrations: services/appintegrations.md
|
|
- ACM: services/acm.md
|
|
- ECS: services/ecs.md
|
|
- ECR: services/ecr.md
|
|
- Resource Groups Tagging API: services/resource-groups-tagging.md
|
|
- Resource Explorer 2: services/resource-explorer.md
|
|
- EKS: services/eks.md
|
|
- MWAA: services/mwaa.md
|
|
- OpenSearch: services/opensearch.md
|
|
- EC2: services/ec2.md
|
|
- Lightsail: services/lightsail.md
|
|
- AppConfig: services/appconfig.md
|
|
- Bedrock: services/bedrock.md
|
|
- Bedrock Runtime: services/bedrock-runtime.md
|
|
- Bedrock AgentCore: services/bedrock-agentcore.md
|
|
- ELB v2: services/elb.md
|
|
- ELB Classic (v1): services/elb-classic.md
|
|
- Auto Scaling: services/autoscaling.md
|
|
- Application Auto Scaling: services/applicationautoscaling.md
|
|
- Elastic Beanstalk: services/elastic-beanstalk.md
|
|
- CodeBuild: services/codebuild.md
|
|
- AWS Batch: services/batch.md
|
|
- SageMaker: services/sagemaker.md
|
|
- CodeDeploy: services/codedeploy.md
|
|
- CodeGuru Reviewer: services/codegurureviewer.md
|
|
- CodeArtifact: services/codeartifact.md
|
|
- CodePipeline: services/codepipeline.md
|
|
- Service Quotas: services/servicequotas.md
|
|
- AWS RAM: services/ram.md
|
|
- AWS Backup: services/backup.md
|
|
- AWS FIS: services/fis.md
|
|
- CloudTrail: services/cloudtrail.md
|
|
- CloudFront: services/cloudfront.md
|
|
- Route53: services/route53.md
|
|
- Route 53 Resolver: services/route53resolver.md
|
|
- AWS Cloud Map: services/cloudmap.md
|
|
- AWS IoT Core: services/iot.md
|
|
- AppSync: services/appsync.md
|
|
- Transfer Family: services/transfer.md
|
|
- DataSync: services/datasync.md
|
|
- AWS Config: services/config.md
|
|
- EMR: services/emr.md
|
|
- EMR Serverless: services/emr-serverless.md
|
|
- WAF v2: services/wafv2.md
|
|
- AWS Network Firewall: services/network-firewall.md
|
|
- Textract: services/textract.md
|
|
- Transcribe: services/transcribe.md
|
|
- Comprehend: services/comprehend.md
|
|
- Rekognition: services/rekognition.md
|
|
- Translate: services/translate.md
|
|
- Pricing: services/pricing.md
|
|
- Cost Explorer: services/ce.md
|
|
- Cost and Usage Reports: services/cur.md
|
|
- BCM Pricing Calculator: services/bcm-pricing-calculator.md
|
|
- BCM Data Exports: services/bcm-data-exports.md
|
|
- Web Console:
|
|
- Overview: ui/index.md
|
|
- Console Contract v1: ui/console-contract.md
|
|
- Testcontainers:
|
|
- Overview: testcontainers/index.md
|
|
- Java: testcontainers/java.md
|
|
- Node.js / TypeScript: testcontainers/nodejs.md
|
|
- Python: testcontainers/python.md
|
|
- .NET: testcontainers/dotnet.md
|
|
- Go: testcontainers/go.md
|
|
- Contributing: contributing.md
|