Skip to content

Commit d8bd5bf

Browse files
author
Kevin Rowlandson
authored
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).
1 parent c2185dc commit d8bd5bf

File tree

163 files changed

+11735
-2914
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+11735
-2914
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
#!/usr/bin/pwsh
2+
3+
#
4+
# Module manifest for module 'EnterpriseScaleLibraryTools'
5+
#
6+
# Generated by: krowlandson
7+
#
8+
# Generated on: 26/02/2021
9+
#
10+
11+
@{
12+
13+
# Script module or binary module file associated with this manifest.
14+
# RootModule = ''
15+
16+
# Version number of this module.
17+
ModuleVersion = '0.0.1'
18+
19+
# Supported PSEditions
20+
CompatiblePSEditions = 'Core', 'Desktop'
21+
22+
# ID used to uniquely identify this module
23+
GUID = 'f4d9375d-cb0c-4ade-b0dc-134a97444704'
24+
25+
# Author of this module
26+
Author = 'krowlandson'
27+
28+
# Company or vendor of this module
29+
CompanyName = 'krowlandson'
30+
31+
# Copyright statement for this module
32+
Copyright = 'Copyright (c) 2020 Kevin Rowlandson. All rights reserved.'
33+
34+
# Description of the functionality provided by this module
35+
Description = 'This module provides a set of custom classes and functions used for managing the template library in the Terraform Module for Cloud Adoption Framework Enterprise-scale.'
36+
37+
# Minimum version of the PowerShell engine required by this module
38+
PowerShellVersion = '7.0'
39+
40+
# Name of the PowerShell host required by this module
41+
# PowerShellHostName = ''
42+
43+
# Minimum version of the PowerShell host required by this module
44+
# PowerShellHostVersion = ''
45+
46+
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
47+
# DotNetFrameworkVersion = ''
48+
49+
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
50+
# ClrVersion = ''
51+
52+
# Processor architecture (None, X86, Amd64) required by this module
53+
# ProcessorArchitecture = ''
54+
55+
# Modules that must be imported into the global environment prior to importing this module
56+
# RequiredModules = @()
57+
58+
# Assemblies that must be loaded prior to importing this module
59+
# RequiredAssemblies = @()
60+
61+
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
62+
# ScriptsToProcess = @()
63+
64+
# Type files (.ps1xml) to be loaded when importing this module
65+
# TypesToProcess = @()
66+
67+
# Format files (.ps1xml) to be loaded when importing this module
68+
# FormatsToProcess = @()
69+
70+
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
71+
# NestedModules = @()
72+
73+
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
74+
FunctionsToExport = @()
75+
76+
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
77+
CmdletsToExport = @()
78+
79+
# Variables to export from this module
80+
VariablesToExport = '*'
81+
82+
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
83+
AliasesToExport = @()
84+
85+
# DSC resources to export from this module
86+
# DscResourcesToExport = @()
87+
88+
# List of all modules packaged with this module
89+
# ModuleList = @()
90+
91+
# List of all files packaged with this module
92+
# FileList = @()
93+
94+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
95+
PrivateData = @{
96+
97+
PSData = @{
98+
99+
# Tags applied to this module. These help with module discovery in online galleries.
100+
# Tags = @()
101+
102+
# A URL to the license for this module.
103+
# LicenseUri = ''
104+
105+
# A URL to the main website for this project.
106+
# ProjectUri = ''
107+
108+
# A URL to an icon representing this module.
109+
# IconUri = ''
110+
111+
# ReleaseNotes of this module
112+
# ReleaseNotes = ''
113+
114+
# Prerelease string of this module
115+
# Prerelease = ''
116+
117+
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
118+
# RequireLicenseAcceptance = $false
119+
120+
# External dependent modules of this module
121+
# ExternalModuleDependencies = @()
122+
123+
} # End of PSData hashtable
124+
125+
} # End of PrivateData hashtable
126+
127+
# HelpInfo URI of this module
128+
# HelpInfoURI = ''
129+
130+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
131+
# DefaultCommandPrefix = ''
132+
133+
}
134+

0 commit comments

Comments
 (0)