Skip to content

Commit d59e9f0

Browse files
JCS-14427: Add suggested actions for 409-PolicyAlreadyExists error in ORM job log reverted (#268)
Reverted the policy validation changes
1 parent 112fc28 commit d59e9f0

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed

terraform/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,6 @@ module "validators" {
464464
provisioned_node_count = length(data.oci_core_instances.provisioned_instances.instances.*.display_name)
465465
use_marketplace_image = var.use_marketplace_image
466466
wls_edition = var.wls_edition
467-
tenancy_id = var.tenancy_ocid
468467
}
469468

470469
module "fss" {

terraform/modules/validators/policy_validators.tf

Lines changed: 0 additions & 14 deletions
This file was deleted.

terraform/modules/validators/variables.tf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -533,12 +533,3 @@ variable "tf_script_version" {
533533
type = string
534534
description = "The version of the provisioning scripts located in the OCI image used to create the WebLogic compute instances"
535535
}
536-
537-
variable "tenancy_id" {
538-
type = string
539-
description = "The OCID of the tenancy where the dynamic group and policy will be created"
540-
validation {
541-
condition = length(regexall("^ocid1.tenancy.*$", var.tenancy_id)) > 0
542-
error_message = "WLSC-ERROR: The value for tenancy_id should start with \"ocid1.tenancy.\"."
543-
}
544-
}

0 commit comments

Comments
 (0)