Skip to content

Conversation

@mitoeth
Copy link
Contributor

@mitoeth mitoeth commented Feb 22, 2024

NOTE: New pull request after adding password placeholders in db_credentials.json and db_credentials_example.json

I made a Terraform configuration to enable the following services in Observability & Management for external databases with agents.

Database Management
Operations Insights
Stack Monitoring

The configuration will do the setup based on input from two JSON-files: db_systems.json and db_credentials.json

@mitoeth mitoeth added the new Creation of a new asset label Feb 22, 2024
@mitoeth mitoeth requested a review from oheimburger February 22, 2024 09:48
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 22, 2024
mitoeth added 2 commits March 20, 2024 18:54
At line 53, it´s noted that the Terraform config will set port to 1521 if no value is provided in JSON-input
At line 84-85, it´s noted that credential details are visible as plain text in both the JSON-input and in the tfstate, so both files should be managed securely
In variables for DB system connections, it´s validated whether usernames, passwords, hosts, service names, and agent IDs are provided in JSON-input as empty strings. This is to stop apply early before anything is actually created in OCI

Port and protocol variable definitions have not been changed since the former has a default value and the latter has alternative validation
@mitoeth mitoeth requested a review from oheimburger March 20, 2024 18:48
Copy link
Member

@oheimburger oheimburger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes.

Default OCID variable value placeholders removed from variable files in the root, container_connection, and pdb module
@mitoeth mitoeth requested a review from oheimburger October 16, 2024 13:32
AlexanderHodicke and others added 3 commits March 18, 2025 14:20
added copyright
"Copyright (c) 2025 Oracle and/or its affiliates." Has been added add the beginning of every TF-file
@AlexanderHodicke AlexanderHodicke dismissed oheimburger’s stale review March 25, 2025 15:05

As per call - Just Copyright updates - Done

@AlexanderHodicke AlexanderHodicke merged commit 2d2662c into main Mar 25, 2025
1 check passed
@AlexanderHodicke AlexanderHodicke deleted the external_dbs_observability_and_management branch March 25, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new Creation of a new asset OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants