oracle / terraform-provider-oci

Terraform Oracle Cloud Infrastructure provider
https://www.terraform.io/docs/providers/oci/
Mozilla Public License 2.0
735 stars 667 forks source link

Resource "oci_identity_domains_identity_provider" isn't working #2072

Open iurejosere3 opened 4 months ago

iurejosere3 commented 4 months ago

Hello, I'm experiencing an issue with the "oci_identity_domains_identity_provider" feature. Whenever I attempt to create it, I consistently encounter the same error: "Error: 400-BadErrorResponse."

400_error

This error occurs immediately after applying, without even loading, typically within 1 second after confirming the apply action. Is there any way to resolve this? I've tried passing only the required parameters as well as passing all optional ones, yet the error persists instantly after confirming the apply action.

resource "oci_identity_domains_identity_provider" "teste_identity" {

enabled = false idcs_endpoint = oci_identity_domain.GNB-AD.url partner_name = "teste123" schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:IdentityProvider"]

}

Here's my code. The simplest form triggers this error, and I've also tried a version with all additional parameters, but the problem persists.

tf-oci-pub commented 4 months ago

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.

iurejosere3 commented 4 months ago

Ok.

mhinds-alithya commented 4 months ago

Not sure if I need to open a new bug, but I am experiencing this same issue with "oci_identity_domains_app". It applied successfully last night (around 11pm Pacific on 3/25) but the apply hasn't worked today:

terraform apply "planfile" oci_identity_domains_app.confidential_app: Creating... ╷ │ Error: 400-BadErrorResponse, │ Suggestion: Please retry or contact support for help with service: Identity Domains App │ Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_domains_app │ API Reference:
│ Request Target: POST │ Provider version: 5.34.0, released on 2024-03-20.
│ Service: Identity Domains App │ Operation Name: CreateApp │ OPC request ID: │ │ │ with oci_identity_domains_app.confidential_app, │ on confidential-app.tf line 1, in resource "oci_identity_domains_app" "confidential_app": │ 1: resource "oci_identity_domains_app" "confidential_app" {

Darambool commented 3 months ago

You need specify more required parameters: metadata name_id_format signature_hash_algorithm type user_mapping_method user_mapping_store_attribute

iurejosere3 commented 3 months ago

I tried passing all these parameters too and still got the same errors.

Darambool commented 3 months ago

Add those parameters when to terraform apply TF_LOG=DEBUG OCI_GO_SDK_DEBUG=v

TF_LOG=DEBUG OCI_GO_SDK_DEBUG=v terraform apply