You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides the Autonomous Database resource in Oracle Cloud Infrastructure Database service
7
+
Provides the Autonomous Database resource in Oracle Cloud Infrastructure Database service
8
8
---
9
9
10
10
# oci_database_autonomous_database
@@ -110,8 +110,12 @@ The following arguments are supported:
110
110
*`compute_count` - (Optional) (Updatable) The compute amount available to the database. Minimum and maximum values depend on the compute model and whether the database is on Shared or Dedicated infrastructure. For an Autonomous Database on Shared infrastructure, the 'ECPU' compute model requires values in multiples of two. Required when using the `computeModel` parameter. When using `cpuCoreCount` parameter, it is an error to specify computeCount to a non-null value.
111
111
*`compute_model` - (Optional) The compute model of the Autonomous Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value.
112
112
*`cpu_core_count` - (Optional) (Updatable) The number of OCPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
113
-
114
-
**Note:** This parameter cannot be used with the `ocpuCount` parameter. This input is ignored for Always Free resources.
113
+
**Note:** This parameter cannot be used with the `ocpuCount` parameter.
114
+
* The data type must be an *integer*.
115
+
* The minimum number of cores for all types of autonomous database is *1*
116
+
* The maximum number of cores is as follows:
117
+
* Autonomous Databases on shared Exadata infrastructure: The maximum number of cores is *128*.
118
+
* Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
* `email` - (Optional) (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure.
117
121
*`data_safe_status` - (Optional) (Updatable) Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
@@ -124,7 +128,7 @@ The following arguments are supported:
124
128
125
129
**Note:** This parameter cannot be used with the `dataStorageSizeInGBs` parameter. This input is ignored for Always Free resources.
126
130
*`database_edition` - (Optional) (Updatable) The Oracle Database Edition that applies to the Autonomous databases.
127
-
*`db_name` - (Required) The database name. The name must begin with an alphabetic character and can contain a maximum of 14 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy.
131
+
*`db_name` - (Required) (Updatable) The database name. The name must begin with an alphabetic character and can contain a maximum of 14 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy.
128
132
*`db_version` - (Optional) (Updatable) A valid Oracle Database version for Autonomous Database.`db_workload` AJD and APEX are only supported for `db_version``19c` and above.
129
133
*`db_workload` - (Optional) (Updatable) The Autonomous Database workload type. The following values are valid:
130
134
* OLTP - indicates an Autonomous Transaction Processing database
@@ -140,7 +144,6 @@ The following arguments are supported:
140
144
*`is_auto_scaling_enabled` - (Optional) (Updatable) Indicates if auto scaling is enabled for the Autonomous Database OCPU core count. The default value is `FALSE`.
141
145
*`is_data_guard_enabled` - (Optional) (Updatable) **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
142
146
*`is_local_data_guard_enabled` - (Optional) (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
143
-
*`is_data_guard_enabled` - (Optional) (Updatable) Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.
144
147
*`is_auto_scaling_for_storage_enabled` - (Optional) (Updatable) Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is `FALSE`.
145
148
*`is_dedicated` - (Optional) True if the database is on [dedicated Exadata infrastructure](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/adbddoverview.htm).
146
149
*`is_free_tier` - (Optional) (Updatable) Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled. When `db_workload` is `AJD` or `APEX` it cannot be `true`.
@@ -256,9 +259,14 @@ The following attributes are exported:
256
259
*`mongo_db_url` - The URL of the MongoDB API for the Autonomous Database.
257
260
*`ords_url` - The Oracle REST Data Services (ORDS) URL of the Web Access for the Autonomous Database.
258
261
*`sql_dev_web_url` - Oracle SQL Developer Web URL.
259
-
*`cpu_core_count` - The number of OCPU cores to be made available to the database. When the ECPU is selected, the value for cpuCoreCount is 0. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
260
-
261
-
**Note:** This parameter cannot be used with the `ocpuCount` parameter.
262
+
*`cpu_core_count` - The number of OCPU cores to be made available to the database.
263
+
264
+
**Note:** This parameter cannot be used with the `ocpuCount` parameter.
265
+
* The data type must be an *integer*.
266
+
* The minimum number of cores for all types of autonomous database is *1*
267
+
* The maximum number of cores is as follows:
268
+
* Autonomous Databases on shared Exadata infrastructure: The maximum number of cores is *128*.
269
+
* Autonomous Databases on dedicated Exadata infrastructure: The maximum number of cores is determined by the infrastructure shape. See [Characteristics of Infrastructure Shapes](https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/autonomous-database&id=ATPFG-GUID-B0F033C1-CC5A-42F0-B2E7-3CECFEDA1FD1) for shape details.
262
270
*`customer_contacts` - Customer Contacts.
263
271
*`email` - The email address used by Oracle to send notifications regarding databases and infrastructure.
264
272
*`data_safe_status` - Status of the Data Safe registration for this Autonomous Database. Could be REGISTERED or NOT_REGISTERED.
@@ -342,7 +350,7 @@ The following attributes are exported:
342
350
*`scheduled_start_time` - auto start time. value must be of ISO-8601 format "HH:mm"
343
351
*`scheduled_stop_time` - auto stop time. value must be of ISO-8601 format "HH:mm"
344
352
*`service_console_url` - The URL of the Service Console for the Autonomous Database.
345
-
*`source_id` - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that was cloned to create the current Autonomous Database.
353
+
*`source_id` - (Required when source=CLONE_TO_REFRESHABLE | CROSS_REGION_DATAGUARD | DATABASE) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that will be used to create a new standby database for the Data Guard association.
346
354
*`standby_db` - **Deprecated** Autonomous Data Guard standby database details.
347
355
*`lag_time_in_seconds` - The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.
348
356
*`lifecycle_details` - Additional information about the current lifecycle state.
@@ -385,7 +393,6 @@ The following attributes are exported:
385
393
For shared Exadata infrastructure, this is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID. Use a semicolon (;) as a deliminator between the VCN-specific subnets or IPs. Example: `["1.1.1.1","1.1.1.0/24","ocid1.vcn.oc1.sea.<unique_id>","ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1","ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16"]` For Exadata Cloud@Customer, this is an array of IP addresses or CIDR (Classless Inter-Domain Routing) notations. Example: `["1.1.1.1","1.1.1.0/24","1.1.2.25"]`
386
394
387
395
For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.
388
-
389
396
## Timeouts
390
397
391
398
The `timeouts` block allows you to specify [timeouts](https://registry.terraform.io/providers/oracle/oci/latest/docs/guides/changing_timeouts) for certain operations:
0 commit comments