Vous pouvez trouver les détails de notre infrastructure ICI
- Install Terraform -> https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli
- Initialize the project
terraform init --upgrade- Init the subscription env variable
export ARM_SUBSCRIPTION_ID="<subscription-ID>" #For mac @ Linux
setx ARM_SUBSCRIPTION_ID "<subscription-ID>" #For Windows- You may need to update the state of the resource group
terraform import azurerm_resource_group.rg-group-16 "/subscriptions/<subscription-id>/resourceGroups/rg-group-16"- Write your config
- Create your ssh key
ssh-kegen -t ed25519 -f terraform_azure_key_ssh/sec_azure_key- Validate and plan your config
terraform plan- Format the code
terraform fmt- Apply the code
terraform apply -auto-approve- If you want to delete the infrastructure
⚠️ Be sure no one is using it
terraform destroy -auto-approve