-
Notifications
You must be signed in to change notification settings - Fork 5
Switch to Microsoft supported terraform extension in Azure Pipelines #252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
b37e95a
Migrate TerraformCLI@2 to @3 and update init task parameters
Kamil-Biegaj-HM 1494fc6
Correct task name for Microsoft terraform extension
Kamil-Biegaj-HM 7fb57da
Correct task name for Microsoft terraform extension
Kamil-Biegaj-HM 56242d4
Update to TerraformTask@5 from Microsoft and add TerraformInstaller@1
Kamil-Biegaj-HM 8365a51
Update task name to Terraform@5 (without publisher prefix)
Kamil-Biegaj-HM 3da8db5
Fix task name to TerraformTask@5 per Microsoft docs
Kamil-Biegaj-HM 11c3f07
Use fully qualified Microsoft extension names to avoid ambiguity
Kamil-Biegaj-HM 5590aca
Pin terraform version to 1.13.3 to match required_version constraint
Kamil-Biegaj-HM 815f92b
Fix to pipeline
Kamil-Biegaj-HM 9322bc0
Add backendType: azurerm to init task
Kamil-Biegaj-HM 5cfd82a
Remove duplicate subscription_id from init commandOptions - extension…
Kamil-Biegaj-HM 567376b
Add backendServiceConnection parameter to allow separate backend serv…
Kamil-Biegaj-HM 0526b1d
Restore terraformInitSubscription to commandOptions for backend subsc…
Kamil-Biegaj-HM 2520072
Use separate backendServiceConnection defaulting to azurerm-control f…
Kamil-Biegaj-HM 808829a
Add backendSubscriptionId parameter to override backend subscription …
Kamil-Biegaj-HM 4bf7d46
Use existing terraformInitSubscription parameter for backend subscrip…
Kamil-Biegaj-HM fe0a8cd
Remove backendType and backend params - use only commandOptions for f…
Kamil-Biegaj-HM e9baecb
Add required backendServiceArm while still controlling backend via co…
Kamil-Biegaj-HM 9604ceb
Add all required backend parameters back, rely on subscription_id ove…
Kamil-Biegaj-HM c9d22c4
Testing old pipeline parameters with new microsoft extension
Kamil-Biegaj-HM f9062cd
Testing old pipeline parameters with new microsoft extension
Kamil-Biegaj-HM 6e4176a
Testing no resource group name
Kamil-Biegaj-HM 05b8e01
Adding back in resource group name
Kamil-Biegaj-HM 5b82c46
Replace tfswitch with Microsoft TerraformInstaller and fix init task …
Kamil-Biegaj-HM 4e2036e
Replace tfswitch with TerraformInstaller in terraform-precheck
Kamil-Biegaj-HM 70d9f32
Adding in ensureBackend: false
Kamil-Biegaj-HM 3fa5041
Remove tfswitch calls from ado-terraform-nagger.py - use pre-installe…
Kamil-Biegaj-HM d9da0cc
removing if statement logic, in commandOptions
Kamil-Biegaj-HM e776da7
switching order of subscription id
Kamil-Biegaj-HM acf21ab
Fix init commandOptions: correct parameter order and remove unsupport…
Kamil-Biegaj-HM e80e36e
Use backendAzureRmOverrideSubscriptionID to always override backend s…
Kamil-Biegaj-HM 030491c
Fix: use variable syntax for terraformInitSubscription instead of par…
Kamil-Biegaj-HM e1cde01
Support backendServiceConnection parameter for separate backend servi…
Kamil-Biegaj-HM 6836025
Add backendAzureRmOverrideSubscriptionID when terraformInitSubscripti…
Kamil-Biegaj-HM e08bf4f
Use backendAzureRmSubscriptionId instead of backendAzureRmOverrideSub…
Kamil-Biegaj-HM c91697a
Pass subscription_id via commandOptions to override extension's auto-…
Kamil-Biegaj-HM dc8e82c
Use backendServiceConnection parameter when provided for backend auth…
Kamil-Biegaj-HM 9f63d64
Use backendServiceConnection from pipeline variable instead of parameter
Kamil-Biegaj-HM 2331515
Revert to using backendServiceConnection parameter (compile-time check)
Kamil-Biegaj-HM 1a168e6
Add debug logging for backend configuration values
Kamil-Biegaj-HM 0347536
Setting servicearm to bachenServiceConnection
Kamil-Biegaj-HM 2445241
Setting servicearm to bachenServiceConnection
Kamil-Biegaj-HM f92d9a5
remove spacing
Kamil-Biegaj-HM 54f1a58
service Connection variable insterted
Kamil-Biegaj-HM 207c968
service Connection variable insterted
Kamil-Biegaj-HM f6a7e89
service Connection variable insterted through bash script
Kamil-Biegaj-HM 1d96e8f
service Connection variable insterted through bash script
Kamil-Biegaj-HM 0e627f4
Setting backendServiceArm dynamically through the terraformSubscripti…
Kamil-Biegaj-HM 278226e
Reverting back to adding backendserviceconnection, and defaulting to …
Kamil-Biegaj-HM 8dd46bb
Only set backend parameters if initCommandOptions doesn't contain bac…
Kamil-Biegaj-HM 086a7cc
Always provide backendServiceArm for authentication
Kamil-Biegaj-HM e2dd94e
Revert changes to always authenticate
Kamil-Biegaj-HM 340f03a
Added in deafult values for group and storage account names
Kamil-Biegaj-HM e18dd9e
Added in deafult values for group and storage account names
Kamil-Biegaj-HM 9089bc3
Removing terraform install and reverting back to tfstate
Kamil-Biegaj-HM dea8157
Fix to tfswitch not finding a version
Kamil-Biegaj-HM b3c12ce
tfswitch runs in repo root even when repo_name isn’t provided
Kamil-Biegaj-HM f792b86
Reverting ado-terraform-nagger changes
Kamil-Biegaj-HM a348b27
Revert changes to install-use-tfswitch
Kamil-Biegaj-HM 52f079c
Revert changes to terraform-precheck
Kamil-Biegaj-HM c092188
Revert changes to tfstate logic
Kamil-Biegaj-HM 474790a
Revert changes to tfstate logic
Kamil-Biegaj-HM 2efa12c
retryCountOnTaskFailure added in terraform.yaml
Kamil-Biegaj-HM 7a834a5
backendAzureRmKey in terraform.yaml logic switch to use string interp…
Kamil-Biegaj-HM ec4a293
Changing logic for backendAzureRmKey from coalesce to if
Kamil-Biegaj-HM File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.