Commit Graph

4 Commits

Author SHA1 Message Date
Haitao Pan
81410d56bc fix(run.sh): ensure Pulumi uses virtualenv Python and auto-install SDK if missing 2025-03-29 13:13:43 +08:00
Haitao Pan
892302a5b5 feat: add venv support and restructure Pulumi config for non-interactive IaC workflow
- Use PROJECT_ROOT for all module paths (Pulumi, Terraform, Ansible)
- Move requirements.txt to project root and auto-create .venv if missing
- Setup pip dependencies before pulumi up
- Add non-interactive pulumi stack select/init
- Clean up old pulumi/requirements.txt
- Update .gitignore to exclude .venv, Pulumi and Terraform state files
2025-03-29 12:58:44 +08:00
Haitao Pan
c2020da184 feat(iac): Refactor structure and support multi-environment config loading
- Add config/sit and other environment-specific config directories
- Refactor deploy.py to support CONFIG_PATH environment variable
- Enable automatic merging of config/*/*.yaml files
- Enhance run.sh with Pulumi/Ansible/Terraform initialization checks
- Add inventory.py to dynamically generate Ansible hosts
- Improve ec2_instance.py with modular instance creation
- Organize base.yaml, vpc.yaml and related config files"
2025-03-29 11:09:24 +08:00
Haitao Pan
cb57cb6782 add scripts/clean_git_binaries_fixed.sh 2025-03-28 20:12:48 +08:00