tf mock is a great tool help run terraform codes without cloud support.
- terraform provider requests mock
- az cli mock
- python modules integrate with tftest
pip install tfmock
don't forget trust the certificate if you are in windows or mac, find the certificate inside the tfmock-xx.egg-info bin folder
Import-Certificate -FilePath public.pem -CertStoreLocation "Cert:\CurrentUser\Root"
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain public.pem