Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Matt White 0d90dc6db9
fix: custom lz regex #855 (#857) 2023-11-10 13:16:16 +00:00
Matt White 0319a29045
Add support for `optional()` types (#409)
* Add support for `optional()` types

* Add experimental `terratest` test framework

* Add new private DNS zones for private endpoint

* Update corresponding documentation

* Bump supported versions

Co-authored-by: Kevin Rowlandson <kevin.rowlandson@microsoft.com>
Co-authored-by: github-actions <action@github.com>
2022-11-23 14:34:48 +00:00
github-actions[bot] 31a94fe0b4
Update Library Templates (automated) (#379)
* Update Library Templates (automated)

* Add logic to update baseline_values using Azure Pipelines

* Add updates to baseline_values.json

* Test change for PR from fork (#383)

* Test change for PR from fork

Co-authored-by: github-actions <action@github.com>
Co-authored-by: Kevin Rowlandson <kevin.rowlandson@microsoft.com>
2022-06-01 10:44:16 +01:00
Kevin Rowlandson 739a3f9053
Add VWAN deployment capability (#287)
* Add VWAN capabilities to upstream branch (#250)

* Initial MVP for virtual wan and hub resources
* Update resource dependencies
* Refactor to create dedicated resources for vwan
* Refactor to simplify for management resources
* Replace `try()` with `lookup()`
* Update custom settings for Virtual WAN
* Add DNS links for spokes connected to Virtual Hubs
* Add virtual hub connections

* Fix incorrect VPN gateway name (#251)

* Fix incorrect VPN gateway name

* Refactor test framework for VWAN additions (#265)

* Refactor test deployments

* Update minimum supported provider version

* Fix linting error

* Update root_name

* Update unit test pipeline

* Fix certificate path error

* Rename job display names

* Update e2e test pipeline

* Update location variable

* Remove unused TF_PLAN_OUT variable

* Update parallelism environment variable

* Update path for terraform destroy

* Increase job timeouts for e2e

* Update OPA value generator for pwsh

* Add `planned_values.json` for each test case

* Remove trailing whitespace

* Update OPA tests script for new framework

* Add OPA tasks to Unit Tests job

* Remove `.sh` script (to be unified with `.ps1` version)

* Refactor OPA installation scripts

* Update execution bit

* Update task names

* Add readme to test framework

* Add VWAN config to connectivity settings

* Remove unsupported tags object from config

* Update minimum supported version to fix #271

* Fix #271 error deleting firewall

* Updates to fix #272

* Fix formatting error on fix for #273

* Fix to prevent lock file versions error

* Update rego files to reflect changes for #272

* Updated for latest test framework plans

* Update conftest baseline

* Add opt-out for `terraform destroy`

* Update for remote backend configuration

* Update dependsOn for test jobs

* Update execution bit on script file

* Output variables to pipeline

* Update auth config for backend

* Update backend config for SPN auth

* Update comment

* Move random `root_id` generation to strategy job

* Add SPN credentials to backend configuration

* Do not try to overwrite readonly variable

* Rename function for linting error

* Remove `use_microsoft_graph` due to error

* Add `az logout` step

* Troubleshoot `terraform init` error

* Map dependent variables

* Add `az cli` login to init step

* Troubleshoot auth issue for `terraform init`

* Add `ARM_CLIENT_SECRET` to `terraform init` steps

* Add dependent variables to e2e test jobs

* Split e2e tests into multiple jobs

* Update condition in test loop

* Rename jobs

* Update timeout on clean-up

* Update condition format

* Update dependencies

* Update conditions

* Update conditions

* Update timeout and conditions for e2e tests

* Rename tasks

* Update logic for `terraform destroy`

* Update logic for `terraform destroy`

* Update condition

* Rename e2e clean-up job
2022-03-09 14:16:09 +00:00
J0hn-B fbb4597742 add pipeline exec 2021-06-10 14:43:41 +01:00
Kevin Rowlandson 4e68aefef5
Update test framework (#106)
* Add SPN generator and configure variable groups for pipelines
2021-05-17 15:00:04 +01:00
Kevin Rowlandson d8bd5bf081
Library template update automation, and bug fixes (#44)
- Update Unit and E2E test pipelines to use YML templates and dynamic matrix generation.
- Add custom PS module for `Enterprise Scale Library Tools` to handle automated library template updates.
- Add script and GitHub Action to enable automated library template updates from [Azure/Enterprise-Scale](https://github.com/Azure/Enterprise-Scale) repository using a CI pipeline.
- Add offline ProviderApiVersions cache in `Enterprise Scale Library Tools` to negate the need for Azure credentials.
- Update Library Templates (automated) using new CI process.
- Manual remediations to updated library templates to ensure full compatibility with Terraform (needs to be fixed at source to prevent regression).
- Update Policy Assignments and archetypes to provide parity with [WingTip reference Enterprise-Scale foundations](https://github.com/Azure/Enterprise-Scale/blob/main/docs/reference/wingtip/README.md).
- Update Resource definitions in base module to use `name` field instead of `properties.displayName` to allow setting a more "human-friendly" displayName on policies and roles.
- Fix bug where duplicate roles are created at the same scope for policy assignments with managed identity.
- Add customizable delay between deployment of different resource types to reduce deployment errors due to caching and replication in the Azure API (Improvement to help Fix #37).
- Update `root_parent_id` validation regex to include support for additional supported characters (Fix #43).
2021-03-06 19:29:26 +00:00
Kevin Rowlandson c2185dc261
Replace matrix generator with PowerShell script (#42)
* Replaces matrix generator with PowerShell script
* Removes azp-strategy.sh as no longer used
2021-02-26 19:50:18 +00:00
Kevin Rowlandson 73ad27bc97
Update CI to use templates and dynamic matrix (#41)
* Use yml templates for shared CI tasks
* Add matrix generator for CI tasks
2021-02-24 08:21:40 +00:00
Lyon Till 98857a5151
Add UAT and E2E Tests (#22)
Adds matrix-based testing to validate module against unit tests and End-to-End testing.
Replaced `version` with `required_providers` block.
Cleanup archetype definitions and variables.
Remove obsolete `sku` block from test templates.
Update architecure diagram in README.
2021-02-08 14:51:25 +00:00