Skip to content

Commit d3db43a

Browse files
fixing some little bugs
1 parent c0d004f commit d3db43a

File tree

9 files changed

+66
-40
lines changed

9 files changed

+66
-40
lines changed

cloud-foundation/modules/cloud-foundation-library/data-science/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ resource "oci_datascience_notebook_session" "this" {
2323

2424
display_name = each.value.notebook_session_display_name
2525
defined_tags = each.value.defined_tags
26+
lifecycle {
27+
ignore_changes = all
28+
}
2629
}
2730

2831

cloud-foundation/modules/cloud-foundation-library/database/adw/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# # All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
output "ADW_Service_Console_URL" {
5-
value = join(", ", [for x in oci_database_autonomous_database.adw : x.service_console_url])
5+
value = [for x in oci_database_autonomous_database.adw : x.service_console_url]
66
}
77

88
output "adw" {

cloud-foundation/modules/cloud-foundation-library/oac/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ resource "oci_analytics_analytics_instance" "oac" {
3232
capacity_type = each.value.analytics_instance_capacity_capacity_type
3333
capacity_value = each.value.analytics_instance_capacity_value
3434
}
35+
lifecycle {
36+
ignore_changes = all
37+
}
3538
}
3639

3740

cloud-foundation/modules/oci-cis-landingzone-quickstart/iam/iam-dynamic-group/init.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ terraform {
66
required_providers {
77
oci = {
88
source = "oracle/oci"
9-
configuration_aliases = [oci.homeregion]
109
}
1110
}
1211
}

cloud-foundation/modules/oci-cis-landingzone-quickstart/iam/iam-dynamic-group/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
### Dynamic Group policy
55

66
resource "oci_identity_dynamic_group" "these" {
7-
for_each = var.dynamic_groups
7+
for_each = var.dynamic_groups
88
name = each.key
99
compartment_id = each.value.compartment_id
1010
description = each.value.description

cloud-foundation/modules/oci-cis-landingzone-quickstart/security/policies/init.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ terraform {
66
required_providers {
77
oci = {
88
source = "oracle/oci"
9-
configuration_aliases = [oci.homeregion]
109
}
1110
}
1211
}

cloud-foundation/solutions/Cloud-data-lake-house/README.md

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ variable "region" {
160160
161161
variable "compartment_id" {
162162
type = string
163-
default = "" (the compartment used for deploying the solution - ex: compartment1)
163+
default = "" (the compartment OCID used for deploying the solution - ex: ocid1.compartment.oc1..aaaaaa...)
164164
}
165165
166166
variable "user_ocid" {
@@ -325,7 +325,7 @@ variable "analytics_instance_capacity_capacity_type" {
325325
326326
variable "analytics_instance_capacity_value" {
327327
type = number
328-
default = 1
328+
default = 2
329329
}
330330
331331
variable "analytics_instance_network_endpoint_details_network_endpoint_type" {
@@ -480,47 +480,47 @@ variable "notebook_session_notebook_session_configuration_details_block_storage_
480480
This resource provides the Deployment resource in Oracle Cloud Infrastructure Golden Gate service.
481481

482482
* Parameters:
483-
* __goden_gate_cpu_core_count__ - The Minimum number of OCPUs to be made available for this Deployment.
484-
* __goden_gate_deployment_type__ - The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value OGG is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent DATABASE_ORACLE value.
483+
* __golden_gate_cpu_core_count__ - The Minimum number of OCPUs to be made available for this Deployment.
484+
* __golden_gate_deployment_type__ - The type of deployment, the value determines the exact 'type' of service executed in the Deployment. NOTE: Use of the value OGG is maintained for backward compatibility purposes. Its use is discouraged in favor of the equivalent DATABASE_ORACLE value.
485485
* __golden_gate_license_model__ - The Oracle license model that applies to a Deployment.
486-
* __goden_gate_display_name__ - An object's Display Name.
487-
* __goden_gate_is_auto_scaling_enabled__ - Indicates if auto scaling is enabled for the Deployment's CPU core count.
488-
* __goden_gate_admin_password__ - The password associated with the GoldenGate deployment console username. The password must be 8 to 30 characters long and must contain at least 1 uppercase, 1 lowercase, 1 numeric, and 1 special character. Special characters such as ‘$’, ‘^’, or ‘?’ are not allowed.
489-
* __goden_gate_admin_username__ - The GoldenGate deployment console username.
490-
* __goden_gate_deployment_name__ - The name given to the GoldenGate service deployment. The name must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
486+
* __golden_gate_display_name__ - An object's Display Name.
487+
* __golden_gate_is_auto_scaling_enabled__ - Indicates if auto scaling is enabled for the Deployment's CPU core count.
488+
* __golden_gate_admin_password__ - The password associated with the GoldenGate deployment console username. The password must be 8 to 30 characters long and must contain at least 1 uppercase, 1 lowercase, 1 numeric, and 1 special character. Special characters such as ‘$’, ‘^’, or ‘?’ are not allowed.
489+
* __golden_gate_admin_username__ - The GoldenGate deployment console username.
490+
* __golden_gate_deployment_name__ - The name given to the GoldenGate service deployment. The name must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
491491

492492
Below is an example:
493493

494494
```
495-
variable "goden_gate_cpu_core_count" {
495+
variable "golden_gate_cpu_core_count" {
496496
default = 2
497497
}
498498
499-
variable "goden_gate_deployment_type" {
499+
variable "golden_gate_deployment_type" {
500500
default = "OGG"
501501
}
502502
503503
variable "golden_gate_license_model" {
504504
default = "LICENSE_INCLUDED"
505505
}
506506
507-
variable "goden_gate_display_name" {
507+
variable "golden_gate_display_name" {
508508
default = "ogg_deployment"
509509
}
510510
511-
variable "goden_gate_is_auto_scaling_enabled" {
511+
variable "golden_gate_is_auto_scaling_enabled" {
512512
default = false
513513
}
514514
515-
variable "goden_gate_admin_password" {
515+
variable "golden_gate_admin_password" {
516516
default = "Oracle-1234567"
517517
}
518518
519-
variable "goden_gate_admin_username" {
519+
variable "golden_gate_admin_username" {
520520
default = "ogg"
521521
}
522522
523-
variable "goden_gate_deployment_name" {
523+
variable "golden_gate_deployment_name" {
524524
default = "ogg_deployment"
525525
}
526526
```
@@ -829,7 +829,7 @@ ai_anomaly_detection_model_params = {
829829
This resource provides the Bds Instance resource in Oracle Cloud Infrastructure Big Data Service service. Creates a Big Data Service cluster.
830830

831831
* Parameters
832-
* __big_data_cluster_admin_password__ - (Required) Base-64 encoded password for the cluster (and Cloudera Manager) admin user. e.g.: echo Init01$$ | base64
832+
* __big_data_cluster_admin_password__ - (Required) Base-64 encoded password for the cluster (and Cloudera Manager) admin user. e.g.: echo AdwDbORCL1234# | base64
833833
* __big_data_cluster_public_key__ - (Required) The SSH public key used to authenticate the cluster connection.
834834
* __big_data_cluster_version__ - (Required) Version of the Hadoop distribution. ODH1 is the new version with Ambari Server - no autoscalling working at the moment. "CDH6" // old version - Cloudera Manager version with autoscalling working.
835835
* __big_data_display_name__ - (Required) (Updatable) Name of the Big Data Service cluster.
@@ -850,7 +850,7 @@ Below is an example:
850850
```
851851
852852
variable "big_data_cluster_admin_password" {
853-
default = "SW5pdDAxQA==" # Password has to be Base64 encoded, e.g.: echo Init01$$ | base64
853+
default = "QWR3RGJPUkNMMTIzNCM=" # Password has to be Base64 encoded, e.g.: echo AdwDbORCL1234# | base64
854854
}
855855
856856
variable "big_data_cluster_public_key" {
@@ -1098,6 +1098,9 @@ variable "master2_shape" {
10981098
default = "VM.Standard2.4"
10991099
}
11001100
```
1101+
* NOTE:
1102+
If you deploy the solution in a Region inside OCI that has only 1 Availability Domain, instead of 3, you will need to modify the default values from local.tf file in this sections:
1103+
Create the VM's for the solution ) for each of the 6 instances - needs to modify availability_domain = 2 or availability_domain = 3 to availability_domain = 1
11011104

11021105
# Dynamic Routing Gateways (DRGs)
11031106
This resource provides the Drg resource in Oracle Cloud Infrastructure Core service. The DRG will be attached to the VCN so that a fastconnect can be provisioned and be used.
@@ -1163,6 +1166,12 @@ variable "private_fastconnect_drg" {
11631166
default = "mgmt_drg"
11641167
}
11651168
```
1169+
* Note:
1170+
If you don't need fastconnect in your tenancy, or it's not supported this type of fastconnect ( private victual circuit provider no corss connect or cross connect group) then you can comment/delete this section for fast connect
1171+
Also comment/delete the fast connect section from the following files:
1172+
- main.tf (module "fastconnect" { section)
1173+
- local.tf (## FASTCONNECT CONFIGURATION: section)
1174+
- outputs.tf (output "fastconnect" section )
11661175

11671176
# Network
11681177
This resource provides the Vcn resource in Oracle Cloud Infrastructure Core service anso This resource provides the Subnet resource in Oracle Cloud Infrastructure Core service.

cloud-foundation/solutions/Cloud-data-lake-house/local.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,19 @@ notebook_params = {
151151
deployment_params = {
152152
deployment1 = {
153153
compartment_id = var.compartment_id
154-
cpu_core_count = var.goden_gate_cpu_core_count
155-
deployment_type = var.goden_gate_deployment_type
154+
cpu_core_count = var.golden_gate_cpu_core_count
155+
deployment_type = var.golden_gate_deployment_type
156156
subnet_id = lookup(module.network-subnets.subnets,"public-subnet").id,
157157
license_model = var.golden_gate_license_model
158-
display_name = var.goden_gate_display_name
159-
is_auto_scaling_enabled = var.goden_gate_is_auto_scaling_enabled
158+
display_name = var.golden_gate_display_name
159+
is_auto_scaling_enabled = var.golden_gate_is_auto_scaling_enabled
160160
defined_tags = { "${oci_identity_tag_namespace.ArchitectureCenterTagNamespace.name}.${oci_identity_tag.ArchitectureCenterTag.name}" = var.release }
161161

162162
ogg_data = [
163163
{
164-
admin_password = var.goden_gate_admin_password
165-
admin_username = var.goden_gate_admin_username
166-
deployment_name = var.goden_gate_deployment_name
164+
admin_password = var.golden_gate_admin_password
165+
admin_username = var.golden_gate_admin_username
166+
deployment_name = var.golden_gate_deployment_name
167167
}]
168168
}
169169
}

cloud-foundation/solutions/Cloud-data-lake-house/variables.tf

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ variable "analytics_instance_capacity_capacity_type" {
118118

119119
variable "analytics_instance_capacity_value" {
120120
type = number
121-
default = 1
121+
default = 2
122122
}
123123

124124
variable "analytics_instance_network_endpoint_details_network_endpoint_type" {
@@ -226,35 +226,35 @@ variable "notebook_session_notebook_session_configuration_details_block_storage_
226226

227227
# OCI Golden Gate
228228

229-
variable "goden_gate_cpu_core_count" {
229+
variable "golden_gate_cpu_core_count" {
230230
default = 2
231231
}
232232

233-
variable "goden_gate_deployment_type" {
233+
variable "golden_gate_deployment_type" {
234234
default = "OGG"
235235
}
236236

237237
variable "golden_gate_license_model" {
238238
default = "LICENSE_INCLUDED"
239239
}
240240

241-
variable "goden_gate_display_name" {
241+
variable "golden_gate_display_name" {
242242
default = "ogg_deployment"
243243
}
244244

245-
variable "goden_gate_is_auto_scaling_enabled" {
245+
variable "golden_gate_is_auto_scaling_enabled" {
246246
default = false
247247
}
248248

249-
variable "goden_gate_admin_password" {
249+
variable "golden_gate_admin_password" {
250250
default = "Oracle-1234567"
251251
}
252252

253-
variable "goden_gate_admin_username" {
253+
variable "golden_gate_admin_username" {
254254
default = "ogg"
255255
}
256256

257-
variable "goden_gate_deployment_name" {
257+
variable "golden_gate_deployment_name" {
258258
default = "ogg_deployment"
259259
}
260260

@@ -382,7 +382,7 @@ variable "ai_anomaly_detection_data_asset_display_name" {
382382
# Big Data Service Variables
383383

384384
variable "big_data_cluster_admin_password" {
385-
default = "SW5pdDAxQA==" # Password has to be Base64 encoded, e.g.: echo Init01$$ | base64
385+
default = "QWR3RGJPUkNMMTIzNCM=" # Password has to be Base64 encoded, e.g.: echo AdwDbORCL1234# | base64
386386
}
387387

388388
variable "big_data_cluster_public_key" {
@@ -443,10 +443,15 @@ variable "big_data_worker_node_number_of_nodes" {
443443
}
444444

445445

446-
# Compute Configuration
446+
# Compute Configuration for GGSA solution
447447
# More information regarding shapes can be found here:
448448
# https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm
449-
# "Web-Tier-and-Bastion" variables
449+
# NOTE:
450+
# If you deploy the solution in a Region inside OCI that has only 1 Availability Domain, instead of 3,
451+
# you will need to modify the default values from local.tf file in this sections:
452+
# ( Create the VM's for the solution ) for each of the 6 instances - needs to modify availability_domain = 2
453+
# or availability_domain = 3 to availability_domain = 1
454+
450455

451456
variable "bastion_shape" {
452457
default = "VM.Standard2.4"
@@ -481,6 +486,14 @@ variable "master2_shape" {
481486
# Networking variables
482487

483488
# FastConnect Variables
489+
# If you don't need fastconnect in your tenancy, or it's not supported this type of
490+
# fastconnect ( private victual circuit provider no corss connect or cross connect group)
491+
# then you can comment/delete this section for fast connect
492+
# Also comment/delete the fast connect section from the following files:
493+
# - main.tf (module "fastconnect" { section)
494+
# - local.tf (## FASTCONNECT CONFIGURATION: section)
495+
# - outputs.tf (output "fastconnect" section )
496+
484497

485498
variable "private_fastconnect_name" {
486499
default = "private_vc_with_provider_no_cross_connect_or_cross_connect_group_id"

0 commit comments

Comments
 (0)