Drop a stale variable from the profile creation log line
The line still interpolated $enrollmentType, which went away when profile creation stopped varying by enrollment method. Every run since had adopted existing profiles, so the create path never executed and never surfaced it. A run against an emptied project failed there immediately. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1140,7 +1140,7 @@ Set-StrictMode -Version Latest
|
||||
$created = Invoke-InfisicalApi -Method 'POST' -Path '/api/v1/cert-manager/certificate-profiles' -Body $body
|
||||
$createdProfile = Get-ApiObject -InputObject $created -Name 'certificateProfile'
|
||||
$resolved[$definition.Slug] = $createdProfile
|
||||
Write-Step "profile '$($definition.Slug)' ($($createdProfile.id)) enrollment=$enrollmentType" -Status 'Created'
|
||||
Write-Step "profile '$($definition.Slug)' ($($createdProfile.id))" -Status 'Created'
|
||||
}
|
||||
|
||||
return $resolved
|
||||
|
||||
Reference in New Issue
Block a user