feat&refactor: update AWS configuration guidelines and improve environment variable handling

This commit is contained in:
adlsdztony
2025-05-28 13:28:29 +08:00
parent d8ae209162
commit 8b4600cb63
2 changed files with 30 additions and 38 deletions

View File

@@ -26,18 +26,11 @@ You need to assign values to several variables crucial for the operation of thes
- Example: `"osworld_key"`
- **`NETWORK_INTERFACES`**: Configuration settings for network interfaces, which include subnet IDs, security group IDs, and public IP addressing.
- Example:
```python
NETWORK_INTERFACES = {
"us-east-1": [
{
"SubnetId": "subnet-037edfff66c2eb894",
"AssociatePublicIpAddress": True,
"DeviceIndex": 0,
"Groups": ["sg-0342574803206ee9c"]
}
],
# Add configurations for other regions
}
```bash
<!-- in .env file -->
AWS_REGION=us-east-1
AWS_SUBNET_ID=subnet-xxxx
AWS_SECURITY_GROUP_ID=sg-xxxx
```