Skip to content

Commit

Permalink
chore: pr suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
PengyuanZhao committed Dec 5, 2024
1 parent 596ea79 commit ad2f6bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lwgenerate/azure/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func (args *GenerateAzureTfConfigurationArgs) validate() error {
return errors.New("audit log or config integration must be enabled")
}

if (args.ActivityLog || args.Config) && args.SubscriptionID == "" {
return errors.New("subscription_id must be provided for Audit Log and Config integration")
if (args.ActivityLog || args.Config || args.EntraIdActivityLog) && args.SubscriptionID == "" {
return errors.New("subscription_id must be provided for Activity Log and Config integration")
}

// Validate that active directory settings are correct
Expand Down

0 comments on commit ad2f6bb

Please sign in to comment.