https://github.com/naturalett/terragrunt
Terragrunt Infra Deployment
https://github.com/naturalett/terragrunt
Last synced: 5 months ago
JSON representation
Terragrunt Infra Deployment
- Host: GitHub
- URL: https://github.com/naturalett/terragrunt
- Owner: naturalett
- Created: 2022-08-18T10:17:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T15:00:10.000Z (over 1 year ago)
- Last Synced: 2024-08-03T22:19:35.489Z (8 months ago)
- Language: HCL
- Homepage: https://www.top10devops.com
- Size: 48.8 KB
- Stars: 4
- Watchers: 1
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - naturalett/terragrunt - Terragrunt Infra Deployment (HCL)
README
# Terragrunt Example
## Initialize your workstation
```
export BUCKET="devops-workshop-$(uuidgen | tr "[:upper:]" "[:lower:]")"
export ACCOUNT_ID=""
aws s3api create-bucket --bucket "${BUCKET}"
```## Provision a VPC
```
terragrunt init
cd infra/vpc
terragrunt apply
```## Provision an EKS
```
terragrunt init
cd infra/eks
terragrunt apply
```## Provision an EFS
```
terragrunt init
cd infra/efs
terragrunt apply
```## Provision a nodeGroup
```
terragrunt init
cd infra/nodeGroups/managed-node-group/internal-services
terragrunt apply
```## Provision a metrics-server
```
terragrunt init
cd infra/metrics-server
terragrunt apply
```## Provision an ingress-nginx
```
terragrunt init
cd services/ingress-nginx
terragrunt apply
```Add the following to your /etc/hosts:
```
echo "$(dig +short ) anthonycornell.com."
```navigate:
https://anthonycornell.com/apple
https://anthonycornell.com/banana```
curl http://anthonycornell.com/apple
curl http://anthonycornell.com/banana
```