- Create a Service Principal for Packer to use for image creation using the command below, replacing
<subscription-id>
with the Azure Subscription GUID that the SP permissions should be scoped to.az ad sp create-for-rbac --name "packer-sp-01" --role "Contributor" --scopes /subscriptions/<subscription-id> --query "{ client_id: appId, client_secret: password, tenant_id: tenant }"
- Copy and save the output of the the above command. You will need the
client_id
,client_secret
, andtenant_id
values to create GitHub Actions Secrets. - Create Github Actions Secrets for the
sub_id
client_id
,client_secret
, andtenant_id
values from the previous step.- Navigate to the GitHub repository Settings > Secrets > Actions > New Repository Secret
- Create a new secret for each of the
sub_id
client_id
,client_secret
, andtenant_id
values from the previous step.
-
Notifications
You must be signed in to change notification settings - Fork 0
cocallaw/AzPKR-AVD
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published