From 840d50be5c175c9fc3ba79a71f6bfea3bae4391f Mon Sep 17 00:00:00 2001 From: Oscar Macias <79873527+OMaciasd@users.noreply.github.com> Date: Wed, 22 Mar 2023 22:06:28 -0500 Subject: [PATCH] Update and rename prueba to README.md Update and rename prueba to README.md --- .../Azure/modules/Linux Web Apps/README.md | 91 +++++++++++++++++++ Terraform/Azure/modules/Linux Web Apps/prueba | 0 2 files changed, 91 insertions(+) create mode 100644 Terraform/Azure/modules/Linux Web Apps/README.md delete mode 100644 Terraform/Azure/modules/Linux Web Apps/prueba diff --git a/Terraform/Azure/modules/Linux Web Apps/README.md b/Terraform/Azure/modules/Linux Web Apps/README.md new file mode 100644 index 0000000..5c377b6 --- /dev/null +++ b/Terraform/Azure/modules/Linux Web Apps/README.md @@ -0,0 +1,91 @@ +# Terraform: Azure: Update scripts for Linux Web Apps! + +### Description. + +- Hi, I built many scripts for the DevOps phase, within the software lifecycle with deployment for Infrastructure as Code. That you can update any changes to one or more repositories from your respective subscription in the cloud tenant with IaaS, PaaS and SaaS. + + +## Requirements. + +- Have a tenant account or cloud provider subscription. +- Have a local computer for the compilation of TF, JSON manifests (Terraform, Azure CLI) +- Create or clone a project with repositories and modules, using a base structure to standardize. + + +## Walkthrougth. + +- Clone or build a repository on the platform Azure DevOps, or on your local computer, in the development environment. +- Synchronize each repository with its respective global for pull changes. +- Build the tf file for each repository. +- Install the IaC client, such as the cloud provider's CLI. +- Log in to the cloud provider's platform of the DevOps phases of the Deploy lifecycle. +- Upload new changes. +- Evaluate the lifecycle of each script in the workflow and deploy as a trigger, just like the inputs, outputs, loops, modules, and fileconfig. + + +## Publish. +- Use the standard structure for publishing the changes. + +### main.tf + + +### output.tf + + + +## Build. +- Use the followings sentences for building the changes. + +### Terraform Commands. + +### terraform init --update +- terraform: API. +- init: init the API +- --update: update the terraform version, and providers. + +## terraform get +- get: sincronice all terraform modules. + +## terraform fmt +- fmt: formating the sangria of every fileconfig tf of the Terraform Root module. + + +## Test. +- Use the followings sentences for testing the changes. + +### Terraform Commands. + +## terraform validate +- validate: validate the semantic and sintaxis of the code. + +## terraform plan -o "terraform.tfplan" +- plan: validate the changes in the terraform plan to build. +- -o: output to a customized file- +- "file.tf": name of file.tf to save the terraform plan, for apply the deploy of changes. + +## terraform output +- output: validate the output values. + +## terraform console +- console: validate help or manual of the terraform CLI command. + + +## Deploy. +- Use the followings sentences for deploying the changes. + +### Terraform Commands. + +## terraform apply --autoapprobe "terraform.tfplan" +- apply: aplicate the changes. +- --autoapprobe: auto approbe the changes of the plan. + + +## terraform show state +- show: show contente in the screen. +- state: statefile of the current plan saved by terraform. + + +### Please, Buy me a toy for my son! +Any support, collaboration or help, this is my WhatsApp, Nequi, Daviplata account: "+573058288031", paypal: omaciasnarvaez@gmail.com. + +Thank you for the support and attention provided! diff --git a/Terraform/Azure/modules/Linux Web Apps/prueba b/Terraform/Azure/modules/Linux Web Apps/prueba deleted file mode 100644 index e69de29..0000000