/azurePlay

Testing out Azure stuff

Primary LanguageHCL

AzurePipelines

This project is a quick setup to test out Azurepiplines. We use Terraform to deploy an Azure k8s service.

Prerequisites

You will need following tools. Please install these as per your setup for your terminal configurations.

Usage

  • terraform init
  • terraform plan -var-file=vars-dev.tfvars
  • terraform apply -auto-approve -var-file=vars-dev.tfvars
  • terraform destroy -auto-approve -var-file=vars-dev.tfvars

Authenticating to Azure

We will be using a Service Principle to authenticate for terraform when runing non-interactively. Please see the documentation on how to set this up.

Using Azure Pipeline

ToDO

  • parameterize creds
  • Add TLS for generating and storing certs
  • Add Tests
  • Add Helm to deploy helm chart
  • Address separation of concern