Skip to content
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

Update Terraform code and add CI pipeline #1138

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

jogeorg
Copy link

@jogeorg jogeorg commented Dec 23, 2024

Description

Updated the Terraform code to version 4.14.0 and added a CI pipeline to regularly check and update the AzureRM Terraform provider.

The CI pipeline runs on Sundays and checks for an updated version. If an updated version is found, the pipeline will automatically update the Terraform version to the latest version and build a test deployment with the updated version. If the code completes without errors, a PR is created to add the updated version to main.

Issue reference

There is none.

Checklist

Please make sure you've completed the relevant tasks for this PR out of the following list:

  • All acceptance criteria in the backlog item are met
  • The documentation is updated to cover any new or changed features
  • Manual tests have passed
  • [N/A] Relevant issues are linked to this PR

jogeorg and others added 9 commits December 19, 2024 12:33
* adding terraform MLZ code

* move the ci file
* update gitenv

* change shell script accessing env vars

* adding remote backend

* test CI build

* fix syntax error

* change from env to outputs

* remove ' '

* add some AI regex

* forgot to export last_version

* Update last release version to v4.14.0

* fix env var

* adding enable-azpssession=true to try to fix env to gov

* remove creds

* azure-secret is no

* add terraform install

* remove local state

* remove var in backend config

* export secrets to appease terraform

* remove extra v

* Update last release version to v4.14.0

* fix extra v char from sed/grep

* Update last release version to v4.14.0

* remove detailed exit code

* Update last release version to v4.14.0

* add default val

* Update last release version to v4.14.0

* reset ver for CI testing

* Update last release version to v4.14.0

* remove var

* Update last release version to v4.14.0

* adding branch / PR automation

* Update version to v4.14.0

* add github token

* Update version to v4.14.0

* final cleanup

* remove tfplan

---------

Co-authored-by: John George <[email protected]>
Co-authored-by: github-actions <[email protected]>
@jogeorg jogeorg requested a review from a team as a code owner December 23, 2024 21:47
@jogeorg
Copy link
Author

jogeorg commented Dec 23, 2024

@microsoft-github-policy-service agree

@ruandersMSFT
Copy link

Terraform is no longer implemented for Mission Landing Zone as was decommissioned via #1081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants