Skip to content

[SE-5399] Setup Terraform scripts for DigitalOcean

Boros Gábor requested to merge gabor/digitalocean-provider into main

💡 Note: the commits are split logically to help the review.

Description

This merge request adds the missing DigitalOcean provider resources, such as managed Redis/MySQL/MongoDB cluster creation. Furthermore, it refactors the existing project structure to be more flexible and reusable.

Screenshot_2022-03-19_at_20.50.42

Supporting information

The DigitalOcean provider is - naturally - slightly different from the AWS one, though there are no major differences.

The main differences are in the details of permission handling (IAM) and in the networking modules. The DigitalOcean resources are using tags for attaching firewall rules.

Dependencies

This PR has no dependencies.

Testing instructions

Deadline

As soon as possible.

Other information

  • Moved all shareable modules to provider-modules
  • Refactored the provider-aws directory structure
  • Renamed gitlab to k8s-gitlab-connector to indicate the use-case
  • Renamed ingress to k8s-nginx-ingress to indicate the use-case and ingress kind

TODO

  • Update documentation

Author questions

  • Is it possible that the aws_security_group.k8s_worker_node_ssh_access is not assigned to any resources?
Edited by Boros Gábor

Merge request reports