https://github.com/eldada/terraform-examples
A repository with instructions and examples on using Terraform
https://github.com/eldada/terraform-examples
Last synced: 4 months ago
JSON representation
A repository with instructions and examples on using Terraform
- Host: GitHub
- URL: https://github.com/eldada/terraform-examples
- Owner: eldada
- License: apache-2.0
- Created: 2024-11-03T17:37:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-30T07:07:11.000Z (over 1 year ago)
- Last Synced: 2025-03-30T08:19:30.794Z (over 1 year ago)
- Language: HCL
- Homepage:
- Size: 73.2 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Examples
This repository contains a collection of [Terraform](https://www.terraform.io/) configurations that I use to learn and experiment with Terraform.
## Install Terraform
Follow the [Install Terraform](https://developer.hashicorp.com/terraform/install) page to install Terraform on your machine.
## Setting up Terraform with Artifactory
The recommended way to manage Terraform state is to use a remote backend.
Some of the repository examples use JFrog Artifactory as the remote backend (commented out).
To set up Terraform with Artifactory, follow the instructions in the [Terraform Artifactory Backend](https://jfrog.com/integration/terraform-artifactory-backend/) documentation.
## Examples
1. Create an [AWS VPC and EC2 Instance](1.aws-vpc-and-ec2)
2. Deploy [Nginx in Kubernetes](2.kubernetes-nginx)
3. Install [JFrog Artifactory with Helm](3.artifactory-install)
4. Manage [JFrog Artifactory configuration](4.artifactory-config) with the [Artifactory Provider](https://github.com/jfrog/terraform-provider-artifactory)
5. Create an [AWS EKS (Kubernetes) cluster](5.aws-eks)
6. Create the needed [AWS infrastructure for running JFrog Artifactory](6.artifactory-aws-install) using RDS, S3, and EKS. This uses the [Artifactory Helm Chart](https://github.com/jfrog/charts/tree/master/stable/artifactory) to install Artifactory
7. Create the needed [AWS infrastructure for running JFrog Artifactory and Xray in AWS](7.jfrog-platform-aws-install) using RDS, S3, and EKS. This uses the [JFrog Platform Helm Chart](https://github.com/jfrog/charts/tree/master/stable/jfrog-platform) to install Artifactory and Xray
## Observability
For added observability to the provisioned EKS clusters, see the [Observability](./Observability.md) page.