From 32fa7762ef9db251b9ea209721533d53f77e0b7f Mon Sep 17 00:00:00 2001 From: Jared Holgate Date: Wed, 10 Jan 2024 03:42:26 +0000 Subject: [PATCH] feature: support `local` option for terraform (#96) # Pull Request ## Issue Issue #, if available: https://github.com/Azure/alz-terraform-accelerator/issues/69 ## Description This removes the validation on the CI / CD variable for Terraform (Bicep retains it). This is to support additional bootstrap types without needing to make changes to this module moving forwards. ## License By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license. --- src/ALZ/Private/New-ALZEnvironmentTerraform.ps1 | 1 - src/ALZ/Public/New-ALZEnvironment.ps1 | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ALZ/Private/New-ALZEnvironmentTerraform.ps1 b/src/ALZ/Private/New-ALZEnvironmentTerraform.ps1 index 1524f565..baf0f49d 100644 --- a/src/ALZ/Private/New-ALZEnvironmentTerraform.ps1 +++ b/src/ALZ/Private/New-ALZEnvironmentTerraform.ps1 @@ -11,7 +11,6 @@ function New-ALZEnvironmentTerraform { [string] $alzVersion, [Parameter(Mandatory = $false)] - [ValidateSet("github", "azuredevops")] [Alias("Cicd")] [string] $alzCicdPlatform, diff --git a/src/ALZ/Public/New-ALZEnvironment.ps1 b/src/ALZ/Public/New-ALZEnvironment.ps1 index 07acf6fb..bca9f025 100644 --- a/src/ALZ/Public/New-ALZEnvironment.ps1 +++ b/src/ALZ/Public/New-ALZEnvironment.ps1 @@ -48,7 +48,6 @@ function New-ALZEnvironment { [string] $alzIacProvider = "bicep", [Parameter(Mandatory = $false)] - [ValidateSet("github", "azuredevops")] [Alias("Cicd")] [Alias("c")] [string] $alzCicdPlatform = "github",