An open API service indexing awesome lists of open source software.

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

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.