terraform { required_providers { oci = { source = "oracle/oci" version = ">= 4.0.0" } } } provider "oci" { # 美国账号配置 - 使用 ~/.oci/config 中的 [DEFAULT] profile # config_file_profile = "DEFAULT" # 可选,DEFAULT 是默认值 # 或者,如果需要覆盖某些配置,可以显式指定: # tenancy_ocid = "ocid1.tenancy.oc1..aaaaaaaayyhuf6swf2ho4s5acdpee6zssst6j7nkiri4kyfdusxzn3e7p32q" # user_ocid = "ocid1.user.oc1..aaaaaaaappc7zxue4dlrsjljg4fwl6wcc5smetreuvpqn72heiyvjeeqanqq" # fingerprint = "36:2f:3e:19:fa:9e:bb:81:30:26:f2:d7:52:d4:1d:88" # private_key_path = "~/.oci/oci_api_key.pem" # region = "us-ashburn-1" }