Posts

Showing posts from July, 2024

readme.md

  ### Markdown Syntax Reference - **Headers**: Use `#` for headers. The number of `#` symbols indicates the level of the header.   ```markdown   # H1   ## H2   ### H3   #### H4   ##### H5   ###### H6 Emphasis: Use * or _ for italic, ** or __ for bold. *Italic* or _Italic_ **Bold** or __Bold__ Blockquotes: Use > for blockquotes. > This is a blockquote. Lists: Use - or * for unordered lists, and numbers for ordered lists. - Item 1 - Item 2   - Subitem 1   - Subitem 2 1. Item 1 2. Item 2    1. Subitem 1    2. Subitem 2 Code: Use backticks for inline code and triple backticks for code blocks. `inline code` code block ```javascript function example() {   console.log("Hello, World!"); } Horizontal Rule: Use ---, ***, or ___. --- Links: Use [text](URL) for links. [Google](http://www.google.com) Images: Use ![alt text](URL) for images. ![Logo](http://www.example.com/logo.png) Tables: Use pipes | and hyphens - to cr...

Terraform Commands

terraform init  - initializes the current directory terraform init -- What is terraform init ? The terraform init command is used to initialize a Terraform working directory. This command performs several important tasks: Download Provider Plugins : Terraform will download and install the provider plugins specified in the configuration files. Providers are responsible for managing the lifecycle of a resource (e.g., AWS, Azure, Google Cloud). Initialize Backend : If a backend configuration is specified, terraform init will initialize the backend, which is used to store the state of your infrastructure. This is particularly important for collaboration and for maintaining state consistency. Install Modules : If your configuration includes modules, terraform init will download and install these modules from the specified sources (e.g., a local path, a Git repository, or the Terraform Registry). Validate Configuration : It checks for errors in the configuration files and ensures that...

Terraform Interview -ALL

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ What is HashiCorp Vault ? What are Meta Argument's ? Terraform Backend configuration ? What are provisioners ? what does .terraform contain ? what does .terraform.lock.hcl ? when does the terraform.tfstate gets created ? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  What is HashiCorp Vault ? https://www.youtube.com/watch?v=nG8fCdWkLzc Vault is an Open source secret management tool that is used to automate access to Secrets | Data & Systems. Securely storing and controlling access for tokens , passwords , certificates & encryption keys. Vault can be used to protect sensitive data  in the CLI ( command line interface) / http API calls / even in UI (user Interface) it is commonly used with platforms such as AWS / GCP / OCI / Azure. And it can be used with many other types of services  General Use Case :  1. General Secret Storage 2. Employee Credential Storage 3....