Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for multiple db types #34

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

morgan-cromell
Copy link
Contributor

  • Added support for multiple db types.
  • Added redis and MySQL db types
  • Removed support for non shared dbs

@morgan-cromell morgan-cromell requested a review from indrif as a code owner April 12, 2024 09:48
Copy link

Terraform Format and Style 🖌``

Terraform Initialization ⚙️success

Terraform Validation 🤖``

Terraform Plan 📖success

Show Plan
terraform
Running plan in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

The remote workspace is configured to work with configuration at
terraform relative to the target repository.

Terraform will upload the contents of the following directory,
excluding files or directories as defined by a .terraformignore file
at /home/runner/work/etimo-kubernetes/etimo-kubernetes/.terraformignore (if it is present),
in order to capture the filesystem context the remote workspace expects:
    /home/runner/work/etimo-kubernetes/etimo-kubernetes

To view this run in a browser, visit:
https://app.terraform.io/app/etimo/etimo-kubernetes/runs/run-giQSWFE8LQ8fb5oo

Waiting for the plan to start...

Terraform v1.1.7
on linux_amd64
Initializing plugins and modules...
logdna_view.achievements_test_staging: Refreshing state... [id=3e53cb5d8a]
logdna_view.test_mogge_staging: Refreshing state... [id=5dc2a8a4f8]
logdna_view.test_staging: Refreshing state... [id=e45414a434]
logdna_view.achievements_live_staging: Refreshing state... [id=eb8b08fbee]
module.environment[0].digitalocean_project.project: Refreshing state... [id=0181b232-74c6-423f-8668-b042938c6c74]
digitalocean_database_cluster.staging-mysql-shared: Refreshing state... [id=3d896e2c-d144-47cb-8481-cbcb7375d3d8]
digitalocean_database_cluster.staging-redis-shared: Refreshing state... [id=a23f1332-4090-4f52-bfd5-5527f56561fa]
digitalocean_database_cluster.staging-shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24]
logdna_view.activity_tracker_staging: Refreshing state... [id=fddea5282d]
module.environment[0].module.kubernetes.digitalocean_kubernetes_cluster.cluster: Refreshing state... [id=fefd9159-a36a-4ad2-883d-7c9563ffdf1d]
digitalocean_database_db.achievements_live_staging_main_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/database/achievements_live_staging_main]
digitalocean_database_user.achievements_test_staging_unleash_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/user/achievements_test_staging_unleash]
digitalocean_database_user.achievements_live_staging_main_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/user/achievements_live_staging_main]
digitalocean_database_db.achievements_test_staging_main_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/database/achievements_test_staging_main]
digitalocean_database_db.achievements_test_staging_unleash_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/database/achievements_test_staging_unleash]
digitalocean_database_user.achievements_test_staging_main_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/user/achievements_test_staging_main]
digitalocean_database_user.achievements_live_staging_unleash_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/user/achievements_live_staging_unleash]
digitalocean_database_db.achievements_live_staging_unleash_shared: Refreshing state... [id=5648abd8-46a0-4dbc-8ec1-2d3f4db03a24/database/achievements_live_staging_unleash]
module.environment[0].module.project_bind.digitalocean_project_resources.resources: Refreshing state... [id=0181b232-74c6-423f-8668-b042938c6c74]
digitalocean_database_cluster.staging-redis-shared: Drift detected (update)

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

------------------------------------------------------------------------

Cost Estimation:

Resources: 0 of 19 estimated
           $0.0/mo +$0.0

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pusher: @morgan-cromell, Action: pull_request

@morgan-cromell morgan-cromell merged commit c474969 into main Apr 12, 2024
2 checks passed
@morgan-cromell morgan-cromell deleted the mc/multiple-db-types-support branch April 12, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants