All checks were successful
terraform validation / Terraform (push) Successful in 7s
71 lines
1.4 KiB
Markdown
71 lines
1.4 KiB
Markdown
|
|
# ${REPO_NAME}
|
|
|
|
${REPO_DESCRIPTION}
|
|
|
|
# A propos de
|
|
|
|
# Prérequis
|
|
|
|
Vous avez besoin d'une installation terraform fonctionnelle.
|
|
|
|
https://developer.hashicorp.com/terraform/install?product_intent=terraform
|
|
|
|
Vous avec besoin d'avoir Powershell 7
|
|
|
|
https://learn.microsoft.com/fr-fr/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4
|
|
|
|
Vous avec besoin d'avoir Azure CLI
|
|
|
|
https://learn.microsoft.com/fr-fr/cli/azure/install-azure-cli-windows?tabs=azure-cli
|
|
|
|
# Démarrage manuel
|
|
|
|
~~~bash
|
|
git clone https://gitea.tips-of-mine.com${REPO_LINK}.git
|
|
cd ${TEMPLATE_NAME}
|
|
~~~
|
|
|
|
~~~bash
|
|
pwsh
|
|
~~~
|
|
|
|
Depuis l'interface on contrôle la présent du module Powershell pour Azure
|
|
~~~bash
|
|
Get-InstalledModule -Name ALZ
|
|
~~~
|
|
|
|
S'il n'est pas présent on l'installe
|
|
~~~bash
|
|
Install-Module -Name ALZ
|
|
~~~
|
|
|
|
On s'authentifie
|
|
~~~bash
|
|
az login
|
|
~~~
|
|
|
|
On s'authentifie
|
|
~~~bash
|
|
Deploy-Accelerator -inputs "./config/inputs-local-terraform-complete-multi-region.yaml", "./config/config-hub-and-spoke-vnet-multi-region.yaml" -output "./output" -i "terraform" -b "alz_local"
|
|
~~~
|
|
|
|
# Utilisation du repository
|
|
|
|
init
|
|
~~~bash
|
|
terraform init
|
|
~~~
|
|
|
|
validation
|
|
~~~bash
|
|
terraform validate
|
|
~~~
|
|
|
|
plan
|
|
~~~bash
|
|
terraform plan
|
|
~~~
|
|
|
|
# Buy me a coffe
|
|
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> |