Skip to content

Commit 3bdc43c

Browse files
Development (#142)
Merge development branch into main
2 parents 26986c2 + 237bb01 commit 3bdc43c

13 files changed

+72
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*.tfstate.*
1010
*.zip*
1111
*.tfvars
12+
!solutions/*.tfvars
1213

1314
# Local .terraform lock files
1415
*.lock.*

solutions/jrf/existing_lb.tfvars

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2022, Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
### Existing Load Balancer parameters
5+
add_load_balancer = true
6+
existing_load_balancer_id = "ocid1.loadbalancer.xxxxxxxxxxxxxxx"
7+
backendset_name_for_existing_load_balancer = "<existing-lb-backendset-name>"

solutions/jrf/idcs.tfvars

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2022, Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
### IDCS parameters
5+
is_idcs_selected = true
6+
idcs_host = "identity.oraclecloud.com"
7+
idcs_port = 443
8+
idcs_tenant = "idcs-xxxxxxxxxxxxxxx"
9+
idcs_client_id = "<idcs_client_id>"
10+
idcs_client_secret_id = "ocid1.vaultsecret.xxxxxxxxxxxxxxx"

solutions/jrf/jrf_instance.tfvars

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Copyright (c) 2022, Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
service_name = "jrf1"
5+
6+
### Public/private keys used on the instance
7+
ssh_public_key = "<ssh_public_key>"
8+
9+
### Set to true to create OCI IAM policies and dynamic groups required by the WebLogic for OCI stack
10+
create_policies = true
11+
generate_dg_tag = true
12+
13+
### Existing Network VCN resource parameters
14+
network_compartment_id = "ocid1.compartment.xxxxxxxxxxxxxx"
15+
wls_existing_vcn_id = "ocid1.vcn.xxxxxxxxxxxxxxx"
16+
17+
### WebLogic credentials to login to the console
18+
wls_admin_user = "weblogic"
19+
wls_admin_password_id = "ocid1.vaultsecret.xxxxxxxxxxxxxxx"
20+
21+
### WebLogic server compute instance parameters
22+
instance_shape = "VM.Standard.E4.Flex"
23+
wls_version = "12.2.1.4"
24+
wls_ocpu_count = 1
25+
wls_node_count = 2
26+
wls_availability_domain_name = "HiGv:US-ASHBURN-AD-2"
27+
wls_subnet_id = "ocid1.subnet.xxxxxxxxxxxxxxx"
28+
29+
### Bastion parameters to create new bastion instance
30+
is_bastion_instance_required = true
31+
bastion_subnet_id = "ocid1.subnet.xxxxxxxxxxxxxxx"
32+
bastion_instance_shape = "VM.Standard.E4.Flex"

solutions/jrf/oci_db.tfvars

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2022, Oracle and/or its affiliates.
2+
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
3+
4+
### OCI DB Parameters
5+
oci_db_compartment_id = "ocid1.compartment.xxxxxxxxxxxxxxx"
6+
oci_db_dbsystem_id = "ocid1.dbsystem.xxxxxxxxxxxxxxx"
7+
oci_db_database_id = "ocid1.database.xxxxxxxxxxxxxxx"
8+
oci_db_pdb_service_name = "<oci_db_pdb_service_name>"
9+
oci_db_user = "SYS"
10+
oci_db_password_id = "ocid1.vaultsecret.xxxxxxxxxxxxxxx"
11+
oci_db_network_compartment_id = "ocid1.compartment.xxxxxxxxxxxxxxx"
12+
oci_db_existing_vcn_id = "ocid1.vcn.xxxxxxxxxxxxxxxa"
13+
db_existing_vcn_add_secrule = true
File renamed without changes.
File renamed without changes.

terraform/modules/network/vcn-config/nsg_security_rule.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ resource "oci_core_network_security_group_security_rule" "fss_ingress_security_r
234234
resource "oci_core_network_security_group_security_rule" "egress_security_rule" {
235235
for_each = {
236236
for nsg_name, nsg_id in var.nsg_ids :
237-
nsg_name => nsg_id if nsg_name != "managed_nsg_id" && nsg_name != "mount_target_nsg_id" && length(nsg_id) != 0
237+
nsg_name => nsg_id if nsg_name != "admin_nsg_id" && nsg_name != "mount_target_nsg_id" && length(nsg_id) != 0
238238
}
239239
network_security_group_id = element(each.value, 0)
240240
direction = "EGRESS"

terraform/schema.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,8 @@ variables:
645645
- ${create_new_vcn}
646646
type: boolean
647647
default: false
648-
title: "Existing Mount Target"
649-
description: "Use the existing mount target ID"
648+
title: "Add Existing Mount Target"
649+
description: "Use the existing mount target"
650650

651651
mount_target_compartment_id:
652652
visible:
@@ -2083,8 +2083,8 @@ variables:
20832083
- not:
20842084
- ${create_new_vcn}
20852085
type: oci:mount:target:id
2086-
title: Existing Mount Target ID
2087-
description: The Oracle Cloud Identifier (OCID) of your existing mount target. The existing mount target must be in the same subnet which is already present in the chosen VCN.
2086+
title: "Existing Mount Target"
2087+
description: "The existing mount target to select from file system availability domain and mount target compartment"
20882088
dependsOn:
20892089
compartmentId: ${mount_target_compartment_id}
20902090
availabilityDomain: ${fss_availability_domain}

terraform/schema_14110.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ variables:
654654
- ${create_new_vcn}
655655
type: boolean
656656
default: false
657-
title: "Existing Mount Target"
658-
description: "Use the existing mount target ID"
657+
title: "Add Existing Mount Target"
658+
description: "Use the existing mount target"
659659

660660
mount_target_compartment_id:
661661
visible:
@@ -1630,8 +1630,8 @@ variables:
16301630
- not:
16311631
- ${create_new_vcn}
16321632
type: oci:mount:target:id
1633-
title: Existing Mount Target ID
1634-
description: The Oracle Cloud Identifier (OCID) of your existing mount target. The existing mount target must be in the same subnet which is already present in the chosen VCN.
1633+
title: "Existing Mount Target"
1634+
description: "The existing mount target to select from file system availability domain and mount target compartment"
16351635
dependsOn:
16361636
compartmentId: ${mount_target_compartment_id}
16371637
availabilityDomain: ${fss_availability_domain}

0 commit comments

Comments
 (0)