forked from sfeir-open-source/sfeir-school-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
346 changed files
with
82,166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 1 | ||
update_configs: | ||
# Keep package.json (& lockfiles) up to date as soon as | ||
# new versions are published to the npm registry | ||
- package_manager: "javascript" | ||
directory: "/docs" | ||
update_schedule: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# next.js build output | ||
.next | ||
|
||
#Max OS Files | ||
.DS_Store | ||
|
||
#SfeirSchoolSpecifics | ||
.tmp/ | ||
|
||
#Dev | ||
docs/test.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"*.{json,css,scss,md,js,ts}": ["prettier --write", "git add"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# angular gitignore | ||
# see https://github.com/prettier/prettier/issues/2294 | ||
|
||
## compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
|
||
## dependencies | ||
/node_modules | ||
|
||
## IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
.vscode/* | ||
|
||
# auto-generated files | ||
/angular.json | ||
/.angular-cli.json | ||
/package-lock.json | ||
/yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/prettierrc", | ||
"singleQuote": true, | ||
"printWidth": 120 | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
|
||
<title>Sfeir School - Terraform</title> | ||
|
||
<meta name="apple-mobile-web-app-capable" content="yes"/> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> | ||
|
||
<!-- ---------------------------------------------------- | ||
---------------- REVEAL STYLES ------------------------- | ||
------------------------------------------------------ --> | ||
<link rel="stylesheet" type="text/css" href="./web_modules/reveal.js/css/reveal.css"/> | ||
<!--<link rel="stylesheet" href="reveal/css/theme/white.css" id="theme">--> | ||
|
||
<!-- For syntax highlighting - hightlightjs --> | ||
<link rel="stylesheet" type="text/css" href="./web_modules/highlight.js/styles/tomorrow.css"/> | ||
|
||
<!-- If the query includes 'print-pdf', use the PDF print sheet - from revealjs --> | ||
<script> | ||
document.write( | ||
'<link rel="stylesheet" href="./web_modules/reveal.js/css/print/' + | ||
(window.location.search.match(/print-pdf/gi) ? 'pdf' : 'paper') + | ||
'.css" type="text/css" media="print">' | ||
); | ||
</script> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="/web_modules/reveal.js/lib/js/html5shiv.js"></script> | ||
<![endif]--> | ||
|
||
<!-- ---------------------------------------------------- | ||
---------------- PREZ STYLES --------------------------- | ||
------------------------------------------------------ --> | ||
|
||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="./web_modules/sfeir-school-theme/dist/css/sfeir-school-theme.css" | ||
id="theme" | ||
/> | ||
<script type="module" src="./web_modules/sfeir-school-theme/dist/js/sfeir-theme.js"></script> | ||
|
||
<link rel="stylesheet" type="text/css" href="./css/slides.css" id="theme-custo"/> | ||
|
||
<script type="text/javascript" src="scripts/dont-touch/terraform.js"></script> | ||
|
||
<script type="module" src="scripts/dont-touch/reveal-config.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="reveal"> | ||
<!-- Any section element inside of this container is displayed as a slide --> | ||
<div class="slides" data-type-show="prez"> | ||
</div> | ||
<script src="./web_modules/reveal.js/js/reveal.js"></script> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- .slide: class="first-slide" sfeir-level="2" sfeir-techno="Terraform" --> | ||
|
||
# **Welcome to SFEIR School** | ||
|
||
## **Terraform 200** | ||
|
||
##==## | ||
|
||
<!-- .slide: class="school-presentation" --> | ||
|
||
<div class="wifi"> | ||
<span class="key">wifi:</span><span>SSID</span><br> | ||
<span class="key">mdp:</span><span>PWD_WIFI</span> | ||
</div> | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
|
||
<br/> | ||
|
||
C'est quand la pause ?<br> | ||
Quand est-ce qu'on mange ?<br> | ||
Tour de table ... | ||
<br><br> | ||
|
||
**Feuille de présence (obligatoire)** | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<!-- .slide: --> | ||
|
||
# Les objectifs de la formation | ||
|
||
<br/> | ||
|
||
* Couvrir les aspects fondamentaux du logiciel Terraform | ||
* Développer, tester et documenter son code | ||
* Partager et réutiliser son code | ||
* Déploiement automatisé de l’infrastructure | ||
* Développement de providers communautaires | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
Jour 1 : Développement et bonnes pratiques<br><br> | ||
Jour 2 : Collaboration et production | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
## MODULE 1: Introduction à Terraform | ||
|
||
* HashiCorp et son écosystème de produits | ||
* Historique Terraform | ||
* Les versions majeures de Terraform | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
## MODULE 2 : Premiers pas avec Terraform | ||
|
||
* Installation | ||
* Configuration | ||
* Découverte du logiciel | ||
* Atelier: Installation et configuration | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
## MODULE 3 : Les langages | ||
|
||
* 'HCL': HashiCorp Configuration Language | ||
* Variables, ressources, providers et outputs | ||
* Cycle de vie des ressources | ||
* Atelier: Premier déploiement d’infrastructure | ||
*'HIL': HashiCorp Interpolation Language | ||
*Expressions | ||
*Fonctions | ||
*Boucle et conditions | ||
*Atelier: Utilisation avancée des interpolations | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
## MODULE 4 : Configuration de l’environnement de développement | ||
|
||
* Mise en place d’aide au développement | ||
* Génération automatique de la documentation | ||
* Gestion des fichiers et bonnes pratiques | ||
* Atelier: Configuration de l’environnement de développement | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
## MODULE 5 : Stratégie de tests | ||
|
||
* Vue d’ensemble des différents outils de tests | ||
* L’exemple de inspec, inspec-iggy et kitchen-terrraform | ||
* Atelier: Intégration continue avec Terraform | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
## MODULE 6 : Travail coopératif | ||
* Re-utilisation du code, découverte des modules | ||
* Gestion de la concurrence et de la persistance | ||
* Gestion des credentials | ||
* Ateliers: Création d’un registre de modules dans gitlab | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
## MODULE 7 : Utilisation en production | ||
* Manipulation du fichier d’état | ||
* Déploiement continu via Gitlab-ci | ||
* Présentation de l’offre pour les entreprises Terraform Cloud | ||
* Développement et utilisation de providers communautaires | ||
* Atelier: Déploiement continu via Terraform | ||
|
||
##==## | ||
<!-- .slide: --> | ||
# Déroulement de la formation | ||
<br> | ||
|
||
https://github.com/sfeir-open-source/sfeir-school-terraform | ||
|
||
https://sfeir-open-source.github.io/sfeir-school-terraform | ||
|
||
https://console.cloud.google.com | ||
|
||
<div class="flex-row"> | ||
<img class="h-400" src="./assets/images/g418fd663c2_0_70.png"> | ||
<img class="h-400" src="./assets/images/g418fd663c2_0_72.png"> | ||
</div> |
Oops, something went wrong.