You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: improvements to inputs and region validation (#182)
# Pull Request
## Issues
#124
## Description
This PR adds a few improvements:
- The regions and availability zones are now retrieved dynamically.
- The PowerShell module supports overriding the bootstrap
terraform.tfvars file as one method of supplying values for hidden
variables.
- The PowerShell module supports supplying hidden bootstrap variables
via the inputs config file, for example resource names can now be
supplied there.
- The override.tfvars file is now in json format, so we can support
complex data types.
e2e test run:
https://github.com/Azure/accelerator-bootstrap-modules/actions/runs/10734976021
## License
By submitting this pull request, I confirm that my contribution is made
under the terms of the projects associated license.
Copy file name to clipboardExpand all lines: docs/wiki/Frequently-Asked-Questions.md
+43-9Lines changed: 43 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,51 @@ This article answers frequently asked questions relating to the Azure landing zo
9
9
10
10
### How do I use my own naming convention for the resources that are deployed?
11
11
12
-
Follow these steps to customise the resource names:
12
+
You can add any hidden variables to your inputs file, including the `resource_names` map. This map is used to set the names of the resources that are deployed. You can find the default values in the `terraform.tfvars` file in the bootstrap module.
13
13
14
-
1. At step 2.2 of the quickstart, you will run the `Deploy-Accelerator` command to start the user input process.
15
-
1. Once the prompt appears for the first question open the relevant bootstrap `terraform.tfvars` file:
Alternatively, you can take a copy of the `terraform.tfvars` file from the bootstrap module, update it and supply it via the `-bootstrapTfVarsOverridePath` parameter as an absolute path.
Copy file name to clipboardExpand all lines: docs/wiki/[User-Guide]-Quick-Start-Phase-2-Azure-DevOps.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Although you can just run `Deploy-Accelerator` and fill out the prompted inputs,
59
59
| `use_self_hosted_agents` | `true` | This controls if you want to deploy self-hosted agents. This will default to `true`. |
60
60
| `use_private_networking` | `true` | This controls whether private networking is deployed for your self-hosted agents and storage account. This only applies if you have `use_self_hosted_agents` set to `true`. This defaults to `true`. |
61
61
| `allow_storage_access_from_my_ip` | `false` | This is not relecant to Bicep and we'll remove the need to specify it later, leave it set to `false`. |
62
-
| `apply_approvers` | `<email-address-list>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is a comma-separated list like `[email protected],[email protected],[email protected]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty string `""` to disable approvals. |
62
+
| `apply_approvers` | `<email-address>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is an array of strings like `["[email protected]", "[email protected]", "[email protected]"]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty array `[]` to disable approvals. Note if supplying via the user interface, use a comma separated string like `[email protected],[email protected],[email protected]`. |
63
63
| `create_branch_policies` | `true` | This controls whether to create branch policies for the repository. This defaults to `true`. |
64
64
65
65
1. Now head over to your chosen starter module documentation to get the specific inputs for that module. Come back here when you are done.
@@ -137,7 +137,7 @@ Although you can just run `Deploy-Accelerator` and fill out the prompted inputs,
137
137
| `use_self_hosted_agents` | `true` | This controls if you want to deploy self-hosted agents. This will default to `true`. |
138
138
| `use_private_networking` | `true` | This controls whether private networking is deployed for your self-hosted agents and storage account. This only applies if you have `use_self_hosted_agents` set to `true`. This defaults to `true`. |
139
139
| `allow_storage_access_from_my_ip` | `false` | This controls whether to allow access to the storage account from your IP address. This is only needed for trouble shooting. This only applies if you have `use_private_networking` set to `true`. This defaults to `false`. |
140
-
| `apply_approvers` | `<email-address-list>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is a comma-separated list like `[email protected],[email protected],[email protected]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty string `""` to disable approvals. |
140
+
| `apply_approvers` | `<email-address>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is an array of strings like `["[email protected]", "[email protected]", "[email protected]"]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty array `[]` to disable approvals. Note if supplying via the user interface, use a comma separated string like `[email protected],[email protected],[email protected]`. |
141
141
| `create_branch_policies` | `true` | This controls whether to create branch policies for the repository. This defaults to `true`. |
142
142
143
143
1. Now head over to your chosen starter module documentation to get the specific inputs for that module. Come back here when you are done.
Copy file name to clipboardExpand all lines: docs/wiki/[User-Guide]-Quick-Start-Phase-2-GitHub.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Although you can just run `Deploy-Accelerator` and fill out the prompted inputs,
53
53
| `use_self_hosted_agents` | `true` | This controls if you want to deploy self-hosted agents. This will default to `true`. |
54
54
| `use_private_networking` | `true` | This controls whether private networking is deployed for your self-hosted agents and storage account. This only applies if you have `use_self_hosted_agents` set to `true`. This defaults to `true`. |
55
55
| `allow_storage_access_from_my_ip` | `false` | This is not relevant to Bicep and we'll remove the need to specify it later, leave it set to `false`. |
56
-
| `apply_approvers` | `<email-address-list>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is a comma-separated list like `[email protected],[email protected],[email protected]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty string `""` to disable approvals. |
56
+
| `apply_approvers` | `<email-address>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is an array of strings like `["[email protected]", "[email protected]", "[email protected]"]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty array `[]` to disable approvals. Note if supplying via the user interface, use a comma separated string like `[email protected],[email protected],[email protected]`. |
57
57
| `create_branch_policies` | `true` | This controls whether to create branch policies for the repository. This defaults to `true`. |
58
58
59
59
1. Now head over to your chosen starter module documentation to get the specific inputs for that module. Come back here when you are done.
@@ -124,7 +124,7 @@ Although you can just run `Deploy-Accelerator` and fill out the prompted inputs,
124
124
| `use_self_hosted_agents` | `true` | This controls if you want to deploy self-hosted agents. This will default to `true`. |
125
125
| `use_private_networking` | `true` | This controls whether private networking is deployed for your self-hosted agents and storage account. This only applies if you have `use_self_hosted_agents` set to `true`. This defaults to `true`. |
126
126
| `allow_storage_access_from_my_ip` | `false` | This controls whether to allow access to the storage account from your IP address. This is only needed for trouble shooting. This only applies if you have `use_private_networking` set to `true`. This defaults to `false`. |
127
-
| `apply_approvers` | `<email-address-list>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is a comma-separated list like `[email protected],[email protected],[email protected]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty string `""` to disable approvals. |
127
+
| `apply_approvers` | `<email-address>` | This is a list of service principal names (SPN) of people you wish to be in the group that approves apply of the Azure landing zone module. This is an array of strings like `["[email protected]", "[email protected]", "[email protected]"]`. You may need to check what the SPN is prior to filling this out as it can vary based on identity provider. Use empty array `[]` to disable approvals. Note if supplying via the user interface, use a comma separated string like `[email protected],[email protected],[email protected]`. |
128
128
| `create_branch_policies` | `true` | This controls whether to create branch policies for the repository. This defaults to `true`. |
129
129
130
130
1. Now head over to your chosen starter module documentation to get the specific inputs for that module. Come back here when you are done.
0 commit comments