https://github.com/binary-braids/terraform-oracle
Collection of Terraform modules for Oracle Cloud
https://github.com/binary-braids/terraform-oracle
Last synced: 4 months ago
JSON representation
Collection of Terraform modules for Oracle Cloud
- Host: GitHub
- URL: https://github.com/binary-braids/terraform-oracle
- Owner: binary-braids
- License: mit
- Created: 2023-02-15T06:38:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-18T23:12:09.000Z (12 months ago)
- Last Synced: 2025-02-19T00:23:29.940Z (12 months ago)
- Language: HCL
- Size: 5.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.terraform.io/)
[](https://www.oracle.com/cloud/)
[](https://github.com/renovatebot/renovate)
# terraform-oracle
Collection of Terraform modules for Oracle Cloud
## Overview
This repository contains a collection of Terraform modules for managing Oracle Cloud Infrastructure (OCI) resources. The modules are designed to be reusable and can be combined to create complex infrastructure setups.
## Directory Structure
- **01_networking/**: Contains Terraform configurations for setting up networking components such as VCNs, subnets, and security lists.
- **core_instance/**: Contains Terraform configurations for provisioning core instances, including Docker, management, and k3s nodes.
- **object_storage/**: Contains Terraform configurations for setting up object storage buckets.
## Getting Started
To get started with these modules, you will need to have Terraform installed on your machine. You can download Terraform from the [official website](https://www.terraform.io/downloads.html).
### Prerequisites
- Terraform >= 1.0
- Oracle Cloud Infrastructure account
- OCI CLI installed and configured
### Usage
1. Clone the repository:
```sh
git clone https://github.com/binary-braids/terraform-oracle.git
cd terraform-oracle
```
2. Navigate to the desired module directory (e.g., `01_networking`):
```sh
cd 01_networking
```
3. Initialize Terraform:
```sh
terraform init
```
4. Review and modify the `terraform.tfvars` file to match your environment.
5. Plan and apply the Terraform configuration:
```sh
terraform plan
terraform apply
```
## CI/CD
This repository uses GitHub Actions for continuous integration and deployment. The workflows are defined in the [workflows](http://_vscodecontentref_/3) directory.
### Workflows
- **networking.yml**: CI/CD pipeline for networking components.
- **compute.yml**: CI/CD pipeline for core instances.
- **storage.yml**: CI/CD pipeline for object storage.
- **validation.yml**: CI pipeline for validating Terraform configurations.
## Contributing
We welcome contributions to this repository. If you have an idea for a new feature or have found a bug, please open an issue or submit a pull request.
### Steps to Contribute
1. Fork the repository.
2. Create a new branch for your feature or bugfix.
3. Make your changes and commit them with a clear message.
4. Push your changes to your fork.
5. Open a pull request to the main repository.
## License
This project is licensed under the MIT License - see the [LICENSE](http://_vscodecontentref_/4) file for details.
## Contact
For any questions or support, please open an issue or contact the repository owner.