- Azure Tenant and Active Subscription
- AWS Account
- Python
- Terraform Download
MacOs or Linux Machine
- Python-Pip
- aws-cli: visit Installing the AWS CLI
- azure-cli: visit Installing the Azure CLI
Windows Machine:
- GitBash Bash or Ubuntu Microsoft-Ubuntu
- Azure CLI Download
- AWS CLI Download
For Azure users, do
az login
# will pop-up a browser, enter your credentails to sign in
# then
az account set -s <your subscription ID>
For AWS users, do
aws configure
AWS Access Key ID [None]: XXXXXXXXXXXXXXXXXXXXXX
AWS Secret Access Key [None]: <your Access Key>
Default region name [None]: eu-west-2
Default output format [None]: json
Clone this repo
# Change directory to your Cloud Provider
cd azure # or cd aws
terraform init
terraform plan -out azure.plan
terraform apply azure.plan
# To Clean UP
terraform destroy -auto-approve