Skip to content

Commit

Permalink
Extend Azure AD Application password validity for packer-resources (c…
Browse files Browse the repository at this point in the history
…urrent end date: 2024-12-09T00:00:00Z) (#874)

This PR generates a new Azure AD application password with a new end
date for the packer-resources application (to allow building VM images).
Once this PR is merged and deployed with success by Terraform (on
infra.ci.jenkins.io),
you can retrieve the new password value from the Terraform state with
`terraform show -json`
then searching for the new password in `values.value` of the
`resource.azuread_application_password.packer` section (do NOT save it
anywhere!)
and (manually) update the packer credential as needed.
Finally, verify that the new credential works by running a test Packer
build.


---



<Actions>
<action
id="ed7ac34b759d39c2165f0258c3ed8a9a28f853fe6a96116b6b03f60803672ee8">
<h3>Generate new end date for the packer Azure AD Application
password</h3>
<details
id="4191ba5f46dbb754c1e7d30549ffcee986a6a05817c850ea79cf471743ba992d">
<summary>Update Terraform file `packer-resources.tf` with new expiration
date</summary>
<p>changes detected:&#xA;&#x9;path
&#34;resource.azuread_application_password.packer.end_date&#34; updated
from &#34;2024-12-09T00:00:00Z&#34; to &#34;2025-02-25T00:00:00Z&#34; in
file &#34;packer-resources.tf&#34;</p>
        </details>
<a
href="https://infra.ci.jenkins.io/job/updatecli/job/azure/job/main/559/">Jenkins
pipeline link</a>
    </action>
</Actions>

---

<table>
  <tr>
    <td width="77">
<img src="https://www.updatecli.io/images/updatecli.png" alt="Updatecli
logo" width="50" height="50">
    </td>
    <td>
      <p>
Created automatically by <a
href="https://www.updatecli.io/">Updatecli</a>
      </p>
      <details><summary>Options:</summary>
        <br />
<p>Most of Updatecli configuration is done via <a
href="https://www.updatecli.io/docs/prologue/quick-start/">its
manifest(s)</a>.</p>
        <ul>
<li>If you close this pull request, Updatecli will automatically reopen
it, the next time it runs.</li>
<li>If you close this pull request and delete the base branch, Updatecli
will automatically recreate it, erasing all previous commits made.</li>
        </ul>
        <p>
Feel free to report any issues at <a
href="https://github.com/updatecli/updatecli/issues">github.com/updatecli/updatecli</a>.<br
/>
If you find this tool useful, do not hesitate to star <a
href="https://github.com/updatecli/updatecli/stargazers">our GitHub
repository</a> as a sign of appreciation, and/or to tell us directly on
our <a
href="https://matrix.to/#/#Updatecli_community:gitter.im">chat</a>!
        </p>
      </details>
    </td>
  </tr>
</table>

Co-authored-by: Jenkins Infra Bot (updatecli) <[email protected]>
  • Loading branch information
1 parent c4c5d63 commit 1be3da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packer-resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "azuread_service_principal" "packer" {
resource "azuread_application_password" "packer" {
display_name = "packer-tf-managed"
application_id = azuread_application.packer.id
end_date = "2024-12-09T00:00:00Z"
end_date = "2025-02-25T00:00:00Z"
}

## Dev Resources are used by the pull requests in jenkins-infra/packer-images
Expand Down

0 comments on commit 1be3da1

Please sign in to comment.