Skip to content

Commit

Permalink
cli: write MAAUrl to idfile again (#2387)
Browse files Browse the repository at this point in the history
  • Loading branch information
3u13r authored Sep 27, 2023
1 parent f4b2d02 commit ac2fca3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/internal/cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ func convertToIDFile(infra state.Infrastructure, provider cloudprovider.Provider
file.APIServerCertSANs = infra.APIServerCertSANs
file.InitSecret = []byte(infra.InitSecret) // Convert string to []byte
file.UID = infra.UID

if infra.Azure != nil {
file.AttestationURL = infra.Azure.AttestationURL
}

return file
}

Expand Down

0 comments on commit ac2fca3

Please sign in to comment.