Review the list of deprecated Oracle Cloud Infrastructure Terraform provider resources.
This topic covers the list of resources and data sources that
have been marked deprecated by the Oracle Cloud Infrastructure (OCI) Terraform provider and their
respective suggested replacements, if any. Resource Manager uses the latest version of the
Terraform provider, unless you've specified a particular version of the provider in
your configuration.
This topic covers the list of resources and data sources that
have been marked deprecated by the Oracle Cloud Infrastructure (OCI) Terraform provider and their
respective suggested replacements, if any. Resource Manager uses the latest version of the
Terraform provider, unless you've specified a particular version of the provider in
your configuration.
Resources and data sources marked for deprecation trigger warnings during Terraform plan and apply jobs. In Resource Manager, look for these warning messages in the job logs.
For example:
The 'oci_autonomous_data_warehouse' resource has been deprecated. Please
use 'oci_autonomous_database' instead.
Resources on path to deprecation might stop working in future, use the respective guide, if available, on how to migrate using the new replacements.
Deprecated Resources and Data Sources
Resources that have a migration path have deprecation guides available on how to rename and migrate them to their new replacements. Data sources don't have deprecation guide as you can directly replace them in their Terraform configuration and refresh the state.
"NA" in the following table means not applicable.
Caution
Before executing any deprecation guide, ensure that you have backed up your Terraform state file to avoid any data loss.
Provider version in which said resource or data source was marked deprecated
Type
Type of the deprecated resource or data source
Old Deprecated Resource Name
Deprecated resource or data source name
New Resource Name
New resource or data source name that provides the same functionality
Migration?
If migration is possible to the new resource through Terraform state import
Guide
Link to deprecation guide on how to rename and migrate to new resource, if applicable
Deprecated Fields 🔗
Deprecation notices for fields can be found in any of the previously released CHANGELOG. Deprecated fields are also shown as deprecated during Terraform plan and apply jobs. In Resource Manager, look for these warning messages in the job logs. For example:
The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs'
instead.