Commit eacbec3
authored
feat: Integration of AVM based alz-bicep-accelerator (#456)
# Pull Request
## Description
This pull request introduces support for the new "Bicep AVM" framework
alongside the existing "Bicep Classic" and "Terraform" options for Azure
Landing Zones. The changes update documentation, parameter handling, and
logic throughout the codebase to enable users to select and deploy using
any of these Infrastructure as Code approaches.
**Documentation and User Experience Improvements:**
* Updated `README.md` to clarify supported IaC types, now listing
"bicep-avm" (Bicep AVM), "bicep" (Bicep Classic), and "terraform", with
links and descriptions for each approach.
* Improved user input options in `Request-SpecialInput` to distinguish
between "Bicep AVM" (new framework) and "Bicep Classic" (classic
framework), ensuring clear selection for users.
* Updated help messages in `Deploy-Accelerator` to reflect the new
supported IaC types, including "bicep-avm".
**Core Logic and Configuration Updates:**
* Modified logic in `New-Bootstrap` to handle both "bicep" and
"bicep-avm" types for configuration conversion, file copying, and
editing, ensuring both frameworks are supported throughout the
deployment process.
[[1]](diffhunk://#diff-f91dfbd454641bb81b16c9268caa2dd2ed4b48a9a7d0a68d497d69623b26d48aL146-R146)
[[2]](diffhunk://#diff-f91dfbd454641bb81b16c9268caa2dd2ed4b48a9a7d0a68d497d69623b26d48aL251-R251)
* Enhanced file retention logic in `New-Bootstrap` to include additional
configuration directories (such as `.config`) for better compatibility
with the new framework.
**Robustness Improvements:**
* Improved file retention logic in `Remove-UnrequiredFileSet` to skip
null or empty values, preventing errors during cleanup operations.
## License
By submitting this pull request, I confirm that my contribution is made
under the terms of the projects associated license.1 parent cd972db commit eacbec3
File tree
15 files changed
+102
-266
lines changed- .github/ISSUE_TEMPLATE
- src
- ALZ
- Private
- Config-Helpers
- Deploy-Accelerator-Helpers
- Public
- Tests/Unit/Public
15 files changed
+102
-266
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
| |||
Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | | - | |
22 | | - | |
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
| |||
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 43 | | |
63 | 44 | | |
64 | 45 | | |
| |||
Lines changed: 0 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 32 | | |
49 | 33 | | |
50 | 34 | | |
| |||
55 | 39 | | |
56 | 40 | | |
57 | 41 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 42 | | |
71 | 43 | | |
72 | 44 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | 146 | | |
149 | 147 | | |
150 | 148 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments