Skip to content

Commit be401b7

Browse files
added a variable question (bregman-arie#10585)
* added a variable question * added a disaster recovery question in AWS * added a backend question * added questions on manual config vs IaC * Update topics/terraform/README.md Co-authored-by: andrzejsydor <[email protected]> --------- Co-authored-by: andrzejsydor <[email protected]>
1 parent 5cfd044 commit be401b7

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

topics/aws/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,6 +1688,11 @@ True
16881688
A transport solution which was designed for transferring large amounts of data (petabyte-scale) into and out the AWS cloud.
16891689
</b></details>
16901690

1691+
<details>
1692+
<summary> How can a company ensure their web application continues to operate if it becomes unavailable in its current single region?</summary><br><b>
1693+
Deploy the application in multiple Regions. Use Amazon Route 53 DNS health checks to route traffic to a healthy Region
1694+
</b></details>
1695+
16911696
### ELB
16921697

16931698
<details>

topics/terraform/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@
7575
-
7676
</b></details>
7777

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+
7889
<details>
7990
<summary>What are some of Terraform features?</summary><br><b>
8091

@@ -402,6 +413,18 @@ If no value given, user will be prompted to provide one.
402413
Using the syntax `var.<VAR_NAME>`
403414
</b></details>
404415

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+
405428
<details>
406429
<summary>What is the effect of setting variable as "sensitive"?</summary><br><b>
407430

@@ -947,6 +970,13 @@ You can use it the following syntax `data.terraform_remote_state.<NAME>.outputs.
947970

948971
</b></details>
949972

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+
950980
#### Workspaces
951981

952982
<details>

0 commit comments

Comments
 (0)