Skip to content

Commit

Permalink
adds aws-profile flag to node destroy cmd (#1728)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Apr 5, 2024
1 parent 229357e commit 54972b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/nodecmd/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ If there is a static IP address attached, it will be released.`,
cmd.Flags().BoolVar(&authorizeAccess, "authorize-access", false, "authorize CLI to release cloud resources")
cmd.Flags().BoolVar(&authorizeRemove, "authorize-remove", false, "authorize CLI to remove all local files related to cloud nodes")
cmd.Flags().BoolVarP(&authorizeAll, "authorize-all", "y", false, "authorize all CLI requests")
cmd.Flags().StringVar(&awsProfile, "aws-profile", constants.AWSDefaultCredential, "aws profile to use")

return cmd
}
Expand Down

0 comments on commit 54972b6

Please sign in to comment.