Skip to content

Commit c27ab4b

Browse files
skommalaroberto-sanchez-herreraMahuwa-Barmantelakerachavan
authored
Development (#181)
Merge development branch to main to cut release branch. --------- Co-authored-by: Roberto Sanchez <[email protected]> Co-authored-by: Mahuwa Barman <[email protected]> Co-authored-by: telake <[email protected]> Co-authored-by: Rajesh Chavan <[email protected]> Co-authored-by: abhijit-paranjpe <[email protected]>
1 parent b98e3bb commit c27ab4b

32 files changed

+956
-612
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ For pre-requisites specific to Terraform CLI and ORM, see their corresponding se
4242

4343
## Create the Stack Using the OCI Marketplace
4444

45+
The WebLogic Server for OCI stack applications available in the Marketplace are:
46+
- [Oracle WebLogic Server Enterprise Edition (UCM)](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/72493372)
47+
- [Oracle WebLogic Suite (UCM)](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/72492657)
48+
- [Oracle WebLogic Server Standard Edition (BYOL)](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/65022652)
49+
- [Oracle WebLogic Server Enterprise Edition (BYOL)](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/63497374)
50+
- [Oracle WebLogic Suite (BYOL)](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/63498586)
51+
4552
To create, manage and destroy the OCI Terraform stack for WebLogic Server as WebLogic Server for OCI using the Marketplace,
4653
follow the instructions in the [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/create-stack1.html).
4754

VARIABLES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,17 @@ Review the [observability_variables.tf](./terraform/observability_variables.tf)
203203
To configure the stack to automatically add or remove servers based on performance metrics, refer to the
204204
[autoscaling_variables.tf](./terraform/autoscaling_variables.tf) file for the variables to use.
205205

206-
Note that autoscaling is not supported when creating a stack using Terraform CLI. You need you create a [Resource Manager][orm]
206+
This is an example of how to configure autoscaling:
207+
```terraform
208+
use_autoscaling = true
209+
wls_metric = "CPU Load"
210+
min_threshold_percent = 10
211+
max_threshold_percent = 20
212+
ocir_user = "<ocir_user>"
213+
ocir_auth_token_id = "ocid1.vaultsecret.oc1.phx.xxxxxxxxxxxxxxx"
214+
```
215+
There are some prerequisites for using autoscaling. See [documentation](https://docs.oracle.com/en/cloud/paas/weblogic-cloud/user/components-oracle-weblogic-cloud.html#GUID-CE8B9AE0-0FE9-442A-9239-8B0DFD835119) for more details.
216+
Note that autoscaling is not supported when creating a stack using Terraform CLI. You need to create a [Resource Manager][orm]
207217
stack, or use the [Marketplace][marketplace].
208218

209219
[marketplace]: https://docs.oracle.com/iaas/Content/Marketplace/Concepts/marketoverview.htm

solutions/jrf/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The directory oci-weblogic-server/solutions/jrf consists of the following terraf
4747
The directory oci-weblogic-server/solutions/common consists of the following:
4848
- tenancy.tfvars - tenancy configuration
4949

50-
The files in the oci-weblogic-server/inputs directory contain the values of the images for the different combinations of
50+
The files in the oci-weblogic-server/images directory contain the values of the images for the different combinations of
5151
WebLogic edition and pricing. In this solution, the file _mp_image_ee_byol.tfvars_ is used to create a WebLogic Enterprise
5252
Edition, BYOL instance. Specify a different file to use a different edition and/or pricing.
5353

@@ -63,7 +63,8 @@ Initialize the terraform provider plugin
6363
terraform init
6464
```
6565

66-
Update the variable values in tfvars files under directories terraform/solutions/common and terraform/solutions/jrf according to the user specific values
66+
Update the variable values in tfvars files under directories terraform/solutions/common and terraform/solutions/jrf according
67+
to the user specific values.
6768
Invoke apply passing all *.tfvars files as input
6869
```bash
6970
terraform apply -var-file=../solutions/common/tenancy.tfvars -var-file=images/mp_image_ee_byol.tfvars -var-file=../solutions/jrf/jrf_instance.tfvars -var-file=../solutions/jrf/existing_lb.tfvars -var-file=../solutions/jrf/idcs.tfvars var-file=../solutions/jrf/oci_db.tfvars

solutions/non_jrf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The directory oci-weblogic-server/solutions/non_jrf consists of the following te
4242
The directory oci-weblogic-server/solutions/common consists of the following:
4343
- tenancy.tfvars - tenancy configuration
4444

45-
The files in the oci-weblogic-server/inputs directory contain the values of the images for the different combinations of
45+
The files in the oci-weblogic-server/images directory contain the values of the images for the different combinations of
4646
WebLogic edition and pricing. In this solution, the file _mp_image_ee_byol.tfvars_ is used to create a WebLogic Enterprise
4747
Edition, BYOL instance. Specify a different file to use a different edition and/or pricing.
4848

terraform/bastion_variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ variable "bastion_instance_shape" {
3333

3434
variable "bastion_ssh_private_key" {
3535
type = string
36-
description = "Private ssh key for existing bastion instance"
36+
description = "The path to the file that contains the private ssh key for an existing bastion instance"
3737
default = ""
3838
}
3939

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Copyright (c) 2023, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
33

4-
tf_script_version = "23.1.1-230118062825"
4+
tf_script_version = "23.1.3-230323195128"
55
use_marketplace_image = true
66
listing_id = "ocid1.appcataloglisting.oc1..aaaaaaaawd5ti5ldjzdppppi675onvo3mvjcwt64jjey7rib3beau2ngkl2q"
7-
listing_resource_version = "23.1.1-ol7.9-22.08.29-230118-1"
8-
instance_image_id = "ocid1.image.oc1..aaaaaaaaxr2dllkm3e6qwdleu6q3bwou6pw2r2vt4ne7d7aucrtxpurypvyq"
7+
listing_resource_version = "23.1.3-ol7.9-22.08.29-230323-1"
8+
instance_image_id = "ocid1.image.oc1..aaaaaaaadgqvwsbfcm6bjaowtogdym4kv5gffi6rwv3d5po2o4vk2smwwcxa"
99

1010
ucm_listing_id = "ocid1.appcataloglisting.oc1..aaaaaaaa653zc2e4fsem5hhwinmfgnv3xp4dmbq6c6gvf45okxf6xz3smhiq"
11-
ucm_listing_resource_version = "23.1.1-ol7.9-22.08.29-230118-1"
12-
ucm_instance_image_id = "ocid1.image.oc1..aaaaaaaagrmncsysh64fj5hh5pcjr6swo6oyzzbh4woi4q4hsyct6n5eqkuq"
11+
ucm_listing_resource_version = "23.1.3-ol7.9-22.08.29-230323-1"
12+
ucm_instance_image_id = "ocid1.image.oc1..aaaaaaaagmy46blg6wrvwvozvnui25jxaus5jt6fquv2efkktcf2p6vnveiq"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Copyright (c) 2023, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
33

4-
tf_script_version = "23.1.1-230118062825"
4+
tf_script_version = "23.1.3-230323195128"
55
use_marketplace_image = true
66
listing_id = "ocid1.appcataloglisting.oc1..aaaaaaaa653zc2e4fsem5hhwinmfgnv3xp4dmbq6c6gvf45okxf6xz3smhiq"
7-
listing_resource_version = "23.1.1-ol7.9-22.08.29-230118-1"
8-
instance_image_id = "ocid1.image.oc1..aaaaaaaagrmncsysh64fj5hh5pcjr6swo6oyzzbh4woi4q4hsyct6n5eqkuq"
7+
listing_resource_version = "23.1.3-ol7.9-22.08.29-230323-1"
8+
instance_image_id = "ocid1.image.oc1..aaaaaaaagmy46blg6wrvwvozvnui25jxaus5jt6fquv2efkktcf2p6vnveiq"
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Copyright (c) 2023, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
33

4-
tf_script_version = "23.1.1-230118062825"
4+
tf_script_version = "23.1.3-230323195128"
55
use_marketplace_image = true
66
listing_id = "ocid1.appcataloglisting.oc1..aaaaaaaajl5w3d76x5vdc4n7oqjpsxh4jtwivclvvp6gj4em3kufju6sftga"
7-
listing_resource_version = "23.1.1-ol7.9-22.08.29-230118-1"
8-
instance_image_id = "ocid1.image.oc1..aaaaaaaazc4flvws6yji6ktj6jwzhrm6e6dcvf2vwiokovrlwodvppa5atfa"
7+
listing_resource_version = "23.1.3-ol7.9-22.08.29-230323-1"
8+
instance_image_id = "ocid1.image.oc1..aaaaaaaar3qjebqyaqpqwqzeg2mtf2gt4oosly23qaeb4k76fzhprnphnuxa"
99

1010
ucm_listing_id = "ocid1.appcataloglisting.oc1..aaaaaaaaq2vkow7zwkxg6ky4zxsnckdlfgtgmg7i4kkyev3y6zyo72mpkgza"
11-
ucm_listing_resource_version = "23.1.1-ol7.9-22.08.29-230118-1"
12-
ucm_instance_image_id = "ocid1.image.oc1..aaaaaaaapqar667d3clrw6xgpoccbtqj6rff5xcpj72sstttzqrahvvcx4ia"
11+
ucm_listing_resource_version = "23.1.3-ol7.9-22.08.29-230323-1"
12+
ucm_instance_image_id = "ocid1.image.oc1..aaaaaaaaxrntnjc2btd7o3rig3wpqkyskair2iospvquto2ofjt2tmuuujya"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Copyright (c) 2023, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
33

4-
tf_script_version = "23.1.1-230118062825"
4+
tf_script_version = "23.1.3-230323195128"
55
use_marketplace_image = true
66
listing_id = "ocid1.appcataloglisting.oc1..aaaaaaaaq2vkow7zwkxg6ky4zxsnckdlfgtgmg7i4kkyev3y6zyo72mpkgza"
7-
listing_resource_version = "23.1.1-ol7.9-22.08.29-230118-1"
8-
instance_image_id = "ocid1.image.oc1..aaaaaaaapqar667d3clrw6xgpoccbtqj6rff5xcpj72sstttzqrahvvcx4ia"
7+
listing_resource_version = "23.1.3-ol7.9-22.08.29-230323-1"
8+
instance_image_id = "ocid1.image.oc1..aaaaaaaaxrntnjc2btd7o3rig3wpqkyskair2iospvquto2ofjt2tmuuujya"

terraform/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ locals {
148148
var.wls_extern_ssl_admin_port,
149149
) : ""
150150

151-
use_apm_service = (var.use_apm_service || var.use_autoscaling)
151+
use_apm_service = (var.use_apm_service || var.use_autoscaling)
152152
apm_domain_compartment_id = local.use_apm_service ? lookup(data.oci_apm_apm_domain.apm_domain[0], "compartment_id") : ""
153153

154154

0 commit comments

Comments
 (0)