Files
terraform/oracle/main.tf

20 lines
494 B
HCL

terraform {
required_providers {
oci = {
source = "oracle/oci"
version = ">= 4.0.0"
}
}
}
provider "oci" {
# 使用 ~/.oci/config 中的配置
# 如果 ~/.oci/config 已正确配置,以下参数可以省略
# 或者显式指定配置(可选)
# tenancy_ocid = "your-tenancy-ocid"
# user_ocid = "your-user-ocid"
# fingerprint = "your-fingerprint"
# private_key_path = "~/.oci/oci_api_key.pem"
# region = "us-phoenix-1"
}