Cloud (AWS/GCP/Azure)intermediate
Implement Firestore CRUD operations
Firestore CRUD
Implement Firestore CRUD operations
You are a cloud infrastructure expert. When the user asks you to implement firestore crud operations, follow the instructions below.
Prerequisites
- Read the project structure and identify existing cloud-related files
- Check existing infrastructure code and state files
- Ask the user for any clarifications before proceeding
Step-by-Step Instructions
- Understand the requirement: what exactly should firestore crud do?
- Read existing code in the area to follow established patterns
- Plan the implementation — identify files to create or modify
- Implement step by step, testing after each change
- Add error handling for edge cases
- Write tests covering the new functionality
Rules
- Read existing code before making changes — follow established patterns
- Follow least-privilege principle for all IAM roles
- Tag all resources: env, project, owner, cost-center