Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
Ya estoy inscrito ¿Todavía no tienes acceso? Nuestros Planes
Solucionado (ver solución)
Solucionado
(ver solución)
1
respuesta

Error: 404-NotAuthorizedOrNotFound, shape VM.Standard.E2.1.Micro not found

Me sucede un problema muy similar al de uno de los compañeros que publicaron antes, Dejé el codigo del error que me da. Dejo de igual manera los logs del trabajo adjuntos. Como aclaración, seguí las instrucciones tal cual el instructor las comentó y ya intenté hacer el proceso dos veces. Mismo resultado.

2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Error: 404-NotAuthorizedOrNotFound, shape VM.Standard.E2.1.Micro not found 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Suggestion: Either the resource has been deleted or service Core Instance need policy to access this resource. Policy reference: https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/core_instance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] API Reference: https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Request Target: POST https://iaas.mx-monterrey-1.oraclecloud.com/20160918/instances 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Provider version: 5.7.0, released on 2023-08-02.2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Service: Core Instance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Operation Name: LaunchInstance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] OPC request ID: 07d43be47b68ebf0ff3b5fb4eb3400f2/DD555DBF1890396982D7B74969EC625F/2DD22C016E67B79D78D3383D0BD6EB6F 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] with oci_core_instance.web-01, 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] on compute.tf line 6, in resource "oci_core_instance" "web-01": 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 6: resource "oci_core_instance" "web-01" { 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Error: 404-NotAuthorizedOrNotFound, shape VM.Standard.E2.1.Micro not found 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Suggestion: Either the resource has been deleted or service Core Instance need policy to access this resource. Policy reference: https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/core_instance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] API Reference: https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/LaunchInstance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Request Target: POST https://iaas.mx-monterrey-1.oraclecloud.com/20160918/instances 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Provider version: 5.7.0, released on 2023-08-02.2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Service: Core Instance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] Operation Name: LaunchInstance 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] OPC request ID: 461045976982ea4395813c2f96b8283f/D474C62A62A44B6E0548C7C039906DCB/15EB9B4335820C806D5D3D25019217FC 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] with oci_core_instance.web-02, 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] on compute.tf line 29, in resource "oci_core_instance" "web-02": 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 29: resource "oci_core_instance" "web-02" { 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO] 2023/08/08 00:42:12[TERRAFORM_CONSOLE] [INFO]

1 respuesta
solución!

Ya quedó resuelto, era cuestión de modificar el tipo de instancia que se iba a utilizar y añadir el bloque de shape_config al compute.tif.

Después de esto, todo sale bien. Muchas gracias.