[SE-5399] Setup Terraform scripts for DigitalOcean
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.
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
- Follow the extended
working locally
documentation
Deadline
As soon as possible.
Other information
- Moved all shareable modules to
provider-modules
- Refactored the
provider-aws
directory structure - Renamed
gitlab
tok8s-gitlab-connector
to indicate the use-case - Renamed
ingress
tok8s-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