Initial commit: Terraform configurations for multiple cloud providers
This commit is contained in:
26
oracle/kr/README.md
Normal file
26
oracle/kr/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# Oracle Cloud 韩国账号配置
|
||||
|
||||
## 配置说明
|
||||
此目录包含韩国 Oracle Cloud 账号的 Terraform 配置。配置使用 `~/.oci/config` 文件中的 `[korea]` profile。
|
||||
|
||||
## 账号信息
|
||||
- **区域**: ap-chuncheon-1(韩国春川)
|
||||
- **Profile**: korea
|
||||
- **密钥文件**: ~/.oci/oci_api_key_kr.pem
|
||||
|
||||
## 使用方法
|
||||
```bash
|
||||
cd /home/ben/terraform/oracle/kr
|
||||
terraform init
|
||||
terraform plan
|
||||
terraform apply
|
||||
```
|
||||
|
||||
## 区域特性
|
||||
- **韩国春川区域** (ap-chuncheon-1): 位于韩国江原道,提供低延迟访问韩国本地市场
|
||||
- 韩国区域的合规要求和服务可用性可能与美国区域不同
|
||||
|
||||
## 注意事项
|
||||
- 确保 `~/.oci/config` 中的 [korea] 配置正确
|
||||
- 韩国区域的资源命名可能需要遵守本地化规范
|
||||
- 考虑网络延迟和本地合规要求
|
||||
20
oracle/kr/main.tf
Normal file
20
oracle/kr/main.tf
Normal file
@@ -0,0 +1,20 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
oci = {
|
||||
source = "oracle/oci"
|
||||
version = ">= 4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "oci" {
|
||||
# 韩国账号配置 - 使用 ~/.oci/config 中的 [korea] profile
|
||||
config_file_profile = "korea"
|
||||
|
||||
# 或者,如果需要覆盖某些配置,可以显式指定:
|
||||
# tenancy_ocid = "ocid1.tenancy.oc1..aaaaaaaawfv2wd54ly75ppfjgdgap7rtd3vhtziz25dwx23xo4rbkxnxlapq"
|
||||
# user_ocid = "ocid1.user.oc1..aaaaaaaaqoa2my3fwh3jbayachyylqyneiveydrjliu2qz65ijlc57ehplha"
|
||||
# fingerprint = "13:bd:ef:e3:bd:b8:5a:35:1a:b4:2d:82:4b:93:ff:19"
|
||||
# private_key_path = "~/.oci/oci_api_key_kr.pem"
|
||||
# region = "ap-chuncheon-1"
|
||||
}
|
||||
Reference in New Issue
Block a user