-
Notifications
You must be signed in to change notification settings - Fork 724
Details for v2.1.0 Release
# ___ ____ _ ____ _ _____
# / _ \| _ \ / \ / ___| | | ____|
# | | | | |_) | / _ \| | | | | _|
# | |_| | _ < / ___ | |___| |___| |___
# \___/|_| \_/_/ \_\____|_____|_____|
With this release we started using the new official OCI Go SDK. Widespread changes to the source code were needed to make this happen.
See docs for this version here
With this release, several data sources that did not support client-side filtering earlier, now support it:
oci_database_databasesoci_database_db_homesoci_database_db_nodesoci_database_db_system_shapesoci_database_db_systemsoci_database_db_versionsoci_identity_api_keysoci_load_balancer_backendsoci_objectstorage_bucket_summariesoci_objectstorage_objects
With the release, several data sources now support new server-side filtering.
-
filtering by
statewas added to the following data sources:oci_core_dhcp_optionsoci_core_imagesoci_core_internet_gatewaysoci_core_route_tablesoci_core_security_listsoci_core_subnetsoci_core_vcnsoci_core_volume_backupsoci_core_volumes
-
filtering by
display_namewas added to the following data sources:oci_core_route_tablesoci_core_security_listsoci_core_subnetsoci_core_vcnsoci_core_volume_backupsoci_core_volumes
-
filtering by
db_system_shapewas added to the following data sources:oci_database_db_versions
New optional parameters and fields have been added to existing resources and data sources to support new functionality added by the services. See the docs for more details
-
New fields in resources:
-
oci_core_vnic_attachmenthas a new optional parameternic_index -
oci_core_ipsecnow has the fieldid -
oci_core_subnetnow has the fieldsubnet_domain_name -
oci_core_vcnnow has the fieldvcn_domain_name -
oci_core_volumenow has the fieldis_hydrated -
oci_database_db_systemnow has the fieldlast_patch_history_entry_id -
oci_load_balancer_backendnow has the fieldname -
oci_objectstorage_bucketnow has the fieldcreated_by,etag,time_created -
oci_objectstorage_preauthrequestnow has the fieldtime_created
-
-
New fields in data sources:
- The result of the
oci_database_databasedata source now has new fielddb_backup_config - The result of the
oci_database_db_homedata source now has new fieldlast_patch_history_entry_id - The result of the
oci_database_db_nodedata source now has new fieldsoftware_storage_size_in_gb
- The result of the
We have added some constraints to our resource definitions. These constraints were enforced by the services already.
This implies that some failures that we used see during the apply phase would now be detected at the plan phase.
-
security_list_idsinoci_core_subnetnow specifies theMaxItems(5) constraint -
statementsinoci_identity_policynow specifies theMinItems(1) constraint
-
limitandpageparameters in data sources have been deprecated. All list data sources loop through all the pages and return one aggregated list. - The
time_modifiedfield was deprecated from the following resources as it is no longer set by the service:oci_core_internet_gatewayoci_core_route_tableoci_identity_compartmentoci_identity_groupoci_identity_policyoci_identity_user
- Updates to fields in
oci_objectstorage_preauthrequestresource will force the destruction and recreation of the resource. Updates to fields in this resource had no effect earlier. - Updating some fields resulted in nothing happening. This has been fixed.
- Unexpected destruction and recreation of
oci_objectstorage_objectwas fixed by constraining all keys in themetadatamap to be lower case.
The backend APIs for all identity resources actually require a compartment_id value to be passed in.
Currently, the APIs require the OCID of the tenancy to be passed in as the compartment_id. However, introducing that requirement (of passing in compartment_id) with this release could have caused some backwards-incompatible changes.
Hence, with this release, we have added compartment_id as an optional field for the Identity resources.
If the Terraform configurations do not provide the compartment_id, the OCI Provider code uses the OCID of the tenancy, behind the scenes, to call the services.
We advise our users to start specifying the compartment_id in their Terraform configurations and setting it to the tenancy OCID for their identity resources.
Removing optional parameters from a created resource will not result in a difference and the value for that field will remain as it was.
If you want to reset the field to the default value returned by the service you will have to taint the resource to destroy it and recreate it.