NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
Steps to Reproduce:
Create folder for Dev Container
Created simple main.tf and opened in VS code
Configuring main.tf file for execution
Dev Container Created successfully
Terraform init
Terraform Plan
Terraform Apply
Error x509: certificate signed by unknown authority
Azure
Other tests done
Considerations
Everything leads me to think that something is missing inside the container but I could not identify it.
Link from some forums, but no solution found :
https://social.msdn.microsoft.com/Forums/azure/en-US/c144f70d-d589-4b0c-b97d-a94b2c92b229/error-creating-key-vault-x509-certificate-signed-by-unknown-authority?forum=AzureKeyVault
https://stackoverflow.com/questions/71838183/terraform-x509-certificate-signed-by-unknown-authority
https://support.hashicorp.com/hc/en-us/articles/360046090994-Terraform-runs-failing-with-x509-certificate-signed-by-unknown-authority-error
https://ubuntu.com/server/docs/security-trust-store