|
75 | 75 | -
|
76 | 76 | </b></details>
|
77 | 77 |
|
| 78 | +<details> |
| 79 | +<summary>What is one reason why manual processes can be helpful?</summary><br><b> |
| 80 | +For learning a platform when first starting out |
| 81 | +</b></details> |
| 82 | + |
| 83 | +<details> |
| 84 | +<summary>Why is it advisable to avoid using manual processes when creating infrastructure at scale?</summary> |
| 85 | +Manual processes for creating infrastructure are slow because they require human intervention for each step, which delays deployment. They are error-prone since manual configuration increases the risk of mistakes and inconsistencies. Additionally, these processes are not easily repeatable, making it difficult to ensure the same infrastructure setup across different environments—unlike Infrastructure as Code (IaC), which automates and standardizes deployments. |
| 86 | +</b></details> |
| 87 | + |
| 88 | + |
78 | 89 | <details>
|
79 | 90 | <summary>What are some of Terraform features?</summary><br><b>
|
80 | 91 |
|
@@ -402,6 +413,18 @@ If no value given, user will be prompted to provide one.
|
402 | 413 | Using the syntax `var.<VAR_NAME>`
|
403 | 414 | </b></details>
|
404 | 415 |
|
| 416 | +<details> |
| 417 | +[Question] You are configuring a variable for your Terraform configuration. Which arguments are required when configuring a `variable` block? 1. `type` and `description` 2. There are no required arguments 3. `type` 4. `type`, `description` and `default` |
| 418 | + |
| 419 | +[Answer]</b> 2. There are no required arguments |
| 420 | + |
| 421 | +In Terraform, when declaring a variable block, there are no mandatory arguments. You can create a variable with an empty block like: |
| 422 | + |
| 423 | +variable "example" {} |
| 424 | + |
| 425 | +While `type`, `description`, and `default` are commonly used, they're all optional. The `type` argument helps with validation, `description` documents the variable's purpose, and `default` provides a fallback value if none is specified. |
| 426 | +</details> |
| 427 | + |
405 | 428 | <details>
|
406 | 429 | <summary>What is the effect of setting variable as "sensitive"?</summary><br><b>
|
407 | 430 |
|
@@ -947,6 +970,13 @@ You can use it the following syntax `data.terraform_remote_state.<NAME>.outputs.
|
947 | 970 |
|
948 | 971 | </b></details>
|
949 | 972 |
|
| 973 | +<details> |
| 974 | +<summary>How does a remote state backend improve collaboration for a Terraform project?</summary><br><b> |
| 975 | + |
| 976 | +By storing the state file in a shared location enabling multiple people or processes to work with the same state. |
| 977 | +A remote state backend improves collaboration on Terraform projects by addressing the core challenge of sharing infrastructure state. When a team works on infrastructure, everyone needs access to the current state to safely make changes. |
| 978 | +</b></details> |
| 979 | + |
950 | 980 | #### Workspaces
|
951 | 981 |
|
952 | 982 | <details>
|
|
0 commit comments