This repository contains code for 2bc.
- VM would not be exposed to the internet on public IP.
- SSH key would be kept in other safe place (i.e. existing KV). Not defined in TF itself.
- AKS key would be different from VM key.
- Workloads in AKS would be deployed outside of terraform (Application and Infra deployment should have separate states).
- ingress_nginx public IP would be managed in MC_* group (but I do not have permission on provided subscription) to avoid configuration complexity
- Authentication to Azure would be done via OIDC insted account.
- 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).
- Sample-app docker image should be tested before pushing to ACR.
- TLS cert would be added to ingress.