Skip to content

konopkap/2bc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2bc

This repository contains code for 2bc.

What I would do differently

  1. VM would not be exposed to the internet on public IP.
  2. SSH key would be kept in other safe place (i.e. existing KV). Not defined in TF itself.
  3. AKS key would be different from VM key.
  4. Workloads in AKS would be deployed outside of terraform (Application and Infra deployment should have separate states).
  5. ingress_nginx public IP would be managed in MC_* group (but I do not have permission on provided subscription) to avoid configuration complexity
  6. Authentication to Azure would be done via OIDC insted account.
  7. Terraform apply should not be automated (it should be trigger after manual approval). It can be done with GitHub Enterprise licence or using other tool for Terraform deployment (like Terraform Cloud).
  8. Sample-app docker image should be tested before pushing to ACR.
  9. TLS cert would be added to ingress.