Initial commit: Terraform configurations for multiple cloud providers
This commit is contained in:
26
oracle/us/README.md
Normal file
26
oracle/us/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Oracle Cloud 美国账号配置
|
||||
|
||||
## 配置说明
|
||||
此目录包含美国 Oracle Cloud 账号的 Terraform 配置。配置使用 `~/.oci/config` 文件中的 `[DEFAULT]` profile。
|
||||
|
||||
## 账号信息
|
||||
- **区域**: us-ashburn-1(弗吉尼亚)
|
||||
- **Profile**: DEFAULT
|
||||
- **密钥文件**: ~/.oci/oci_api_key.pem
|
||||
|
||||
## 使用方法
|
||||
```bash
|
||||
cd /home/ben/terraform/oracle/us
|
||||
terraform init
|
||||
terraform plan
|
||||
terraform apply
|
||||
```
|
||||
|
||||
## 环境配置
|
||||
如果需要多环境(dev/prod),可以考虑:
|
||||
1. 在此目录下创建 `environments/` 子目录
|
||||
2. 或者使用根目录的共享 `environments/` 和 `modules/` 目录
|
||||
|
||||
## 注意事项
|
||||
- 确保 `~/.oci/config` 中的 [DEFAULT] 配置正确
|
||||
- 美国区域的资源命名和合规要求可能与其他区域不同
|
||||
Reference in New Issue
Block a user