# [updatecli] Update the content of the Terraform lock file to upgrade
terraform providers
## Report
Source:
✔ [getLatestLockFileContent] Generate an up-to-date terraform lock
file(shell)
Condition:
Target:
✔ [upgradeActualLockFile] Update the content of the Terraform lock file
to upgrade terraform providers(file)
## Changelog
<details><summary>Click to expand</summary>
````
````
</details>
## Remark
This pull request was automatically created using
[Updatecli](https://www.updatecli.io).
Please report any issues with this tool
[here](https://github.com/updatecli/updatecli/issues/)
Co-authored-by: Jenkins Infra Bot (updatecli) <60776566+jenkins-infra-bot@users.noreply.github.com>
as per https://github.com/jenkins-infra/helpdesk/issues/3470
import the existing role assignment as code before changing the scope
⚠️ the import has been removed so DO NOT MERGE directly the following
command will need to be performed before the merge :
`terraform import
azurerm_role_assignment.trusted_ci_jenkins_io_allow_azurerm .....`
Related to https://github.com/jenkins-infra/helpdesk/issues/3459
This PR adds the required resources to manage, as code, the credentials
and resources required for ci.jenkins.io's agents (VM and ACI).
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
# [updatecli] Update the content of the Terraform lock file to upgrade
terraform providers
## Report
Source:
✔ [getLatestLockFileContent] Generate an up-to-date terraform lock
file(shell)
Condition:
Target:
✔ [upgradeActualLockFile] Update the content of the Terraform lock file
to upgrade terraform providers(file)
## Changelog
<details><summary>Click to expand</summary>
````
````
</details>
## Remark
This pull request was automatically created using
[Updatecli](https://www.updatecli.io).
Please report any issues with this tool
[here](https://github.com/updatecli/updatecli/issues/)
Co-authored-by: Jenkins Infra Bot (updatecli) <60776566+jenkins-infra-bot@users.noreply.github.com>
# [updatecli] Update the content of the Terraform lock file to upgrade
terraform providers
## Report
Source:
✔ [getLatestLockFileContent] Generate an up-to-date terraform lock
file(shell)
Condition:
Target:
✔ [upgradeActualLockFile] Update the content of the Terraform lock file
to upgrade terraform providers(file)
## Changelog
<details><summary>Click to expand</summary>
````
````
</details>
## Remark
This pull request was automatically created using
[Updatecli](https://www.updatecli.io).
Please report any issues with this tool
[here](https://github.com/updatecli/updatecli/issues/)
---------
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Co-authored-by: Jenkins Infra Bot (updatecli) <60776566+jenkins-infra-bot@users.noreply.github.com>
Co-authored-by: Damien Duportal <damien.duportal@gmail.com>
This PR reuses the work by @lemeurherve on the privatek8s resources to
ensure that the correct scope syntax is used.
---------
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Related to https://github.com/jenkins-infra/helpdesk/issues/3395.
The cert.ci.jenkins.io controller must be allowed to read the resources
in the resoruce group hosting the production packer images.
Former permissions were too extended (scoped to the whole project).
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
As part of https://github.com/jenkins-infra/helpdesk/issues/3395, this
PR ensures that the required credentials, allowing the
cert.ci.jenkins.io controller, are managed as code.
---------
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
as per https://github.com/jenkins-infra/helpdesk/issues/3439
I did import 2 ressources (`azuread_service_principal` and
`azuread_application`):
terraform import azuread_service_principal.packer
53078417-ff2a-44c4-9f9e-8cd2f822737e
terraform import azuread_application.packer
29d61bb0-1f1e-4ea3-98d5-5751aab57834
also pre-added the service principal of terraform-states to be able to
change the others owners :
az ad app owner add --id 29d61bb0-1f1e-4ea3-98d5-5751aab57834
--owner-object-id b847a030-25e1-4791-ad04-9e8484d87bce
the plan is now :
`Plan: 1 to add, 2 to change, 0 to destroy.`
with the add for : azuread_application_password
and the 2 others updated
This PR is assorted of the following changes:
- State was cleaned to remove `azuread_application.packer`
- The trusted.ci.jenkins.io SP was re-imported in the state
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Co-authored-by: Jenkins Infra Bot (updatecli) <60776566+jenkins-infra-bot@users.noreply.github.com>
Co-authored-by: Hervé Le Meur <91831478+lemeurherve@users.noreply.github.com>
# [updatecli] Update the content of the Terraform lock file to upgrade
terraform providers
## Report
Source:
✔ [getLatestLockFileContent] Generate an up-to-date terraform lock
file(shell)
Condition:
Target:
⚠ [upgradeActualLockFile] Update the content of the Terraform lock file
to upgrade terraform providers(file)
## Changelog
<details><summary>Click to expand</summary>
````
````
</details>
## Remark
This pull request was automatically created using
[Updatecli](https://www.updatecli.io).
Please report any issues with this tool
[here](https://github.com/updatecli/updatecli/issues/)
---------
Co-authored-by: Jenkins Infra Bot (updatecli) <60776566+jenkins-infra-bot@users.noreply.github.com>
Co-authored-by: Damien Duportal <damien.duportal@gmail.com>
# [updatecli] Update the content of the Terraform lock file to upgrade
terraform providers
## Report
Source:
✔ [getLatestLockFileContent] Generate an up-to-date terraform lock
file(shell)
Condition:
Target:
⚠ [upgradeActualLockFile] Update the content of the Terraform lock file
to upgrade terraform providers(file)
## Changelog
<details><summary>Click to expand</summary>
````
````
</details>
## Remark
This pull request was automatically created using
[Updatecli](https://www.updatecli.io).
Please report any issues with this tool
[here](https://github.com/updatecli/updatecli/issues/)
Co-authored-by: Jenkins Infra Bot (updatecli) <60776566+jenkins-infra-bot@users.noreply.github.com>