Skip to content

Commit 072cdab

Browse files
add: cloudauth account oracle support
1 parent fb1758e commit 072cdab

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

sysdig/resource_sysdig_secure_cloud_auth_account_test.go

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -746,19 +746,18 @@ resource "sysdig_secure_cloud_auth_account" "sample" {
746746
enabled = true
747747
provider_tenant_id = "%s"
748748
749-
# TODO: add component back when https://github.com/draios/secure-backend/pull/38958 is merged
750-
# component {
751-
# type = "COMPONENT_SERVICE_PRINCIPAL"
752-
# instance = "secure-onboarding"
753-
# version = "v0.1.0"
754-
# service_principal_metadata = jsonencode({
755-
# oci = {
756-
# api_key = {
757-
# user_id = "user-id"
758-
# }
759-
# }
760-
# })
761-
# }
749+
component {
750+
type = "COMPONENT_SERVICE_PRINCIPAL"
751+
instance = "secure-onboarding"
752+
version = "v0.1.0"
753+
service_principal_metadata = jsonencode({
754+
oci = {
755+
api_key = {
756+
user_id = "user-id"
757+
}
758+
}
759+
})
760+
}
762761
}`, fmt.Sprintf("ocid1.tenancy.oc1..%s", compartmentID), fmt.Sprintf("ocid1.tenancy.oc1..%s", tenantID))
763762

764763
}

0 commit comments

Comments
 (0)