Skip to content

Commit

Permalink
Allow overriding region for access commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Mar 7, 2022
1 parent 13a6ec6 commit d723837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/access.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ func init() {
accessCmd.MarkPersistentFlagRequired("app-name")
accessCmd.PersistentFlags().StringVarP(&AccountIDorAlias, "account", "c", "", "AWS account ID or alias (not needed if you are only the administrator of one account)")
accessCmd.PersistentFlags().BoolVar(&UseAWSCredentials, "aws-credentials", false, "use AWS credentials instead of AppPack.io federation")
accessCmd.PersistentFlags().StringVar(&region, "region", "", "AWS region to use (defaults to the region of the account)")

accessCmd.AddCommand(accessAddCmd)
accessAddCmd.PersistentFlags().StringVar(&region, "region", "", "AWS region of app")
Expand Down

0 comments on commit d723837

Please sign in to comment.