diff --git a/cli/internal/cmd/create.go b/cli/internal/cmd/create.go index fd2ca54736..de82d99bcc 100644 --- a/cli/internal/cmd/create.go +++ b/cli/internal/cmd/create.go @@ -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 }