The oci ccc get infrastructure and oci ccc infrastructure update CLI commands return null for the provisioning_pin value
- Details
-
When you create an infrastructure, a PIN is generated and displayed in the output.
However, if you use the
oci ccc get infrastructure
command right after creating or updating the infrastructure, the PIN might not be returned.This happens because the PIN isn't available to the
get
command for up to 5 minutes after creation.Example output:
{ "compartment_id": "ocid1.compartment.oc1..uniqueID", . . . }, "display_name": "C3ResourcePrincipal_infra", "freeform_tags": {}, "id": "ocid1.cccinfrastructure.uniqueID", "lifecycle_details": null, "lifecycle_state": "ACTIVE", "provisioning_fingerprint": null, "provisioning_pin": null, "rack_inventory": { "capacity_storage_tray_count": null, "compute_node_count": null, "management_node_count": null, "performance_storage_tray_count": null, "serial_number": null . . . }
- Workaround
-
Obtain the PIN from the
create
command, or wait 5 minutes to retrieve the PIN using theget
command.For more information, see the ccc infrastructure CLI Reference page.