-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[App Service] az staticwebapp create
: Allow creating Static Web Apps not connected to a github repo
#22042
Conversation
App Service |
@anthonychu & @simonaco FYI |
@@ -364,8 +364,8 @@ def update_staticsite_users(cmd, name, roles, authentication_provider=None, user | |||
static_site_user_envelope=user_envelope) | |||
|
|||
|
|||
def create_staticsites(cmd, resource_group_name, name, location, # pylint: disable=too-many-locals, | |||
source, branch, token=None, | |||
def create_staticsites(cmd, resource_group_name, name, location="centralus", # pylint: disable=too-many-locals, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we want to make location optional & Default to CentralUs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we want to make location optional & Default to CentralUs?
Hi StrawnSC,
Can you confirm with this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is what @simonaco put on the ADO work item
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM . Given there is no need for GitHub integration we can probably create a test case for empty SWA
az staticwebapp create
: Allow creating Static Web Apps not connected to a github repo az staticwebapp create
: Allow creating Static Web Apps not connected to a github repo
Description
Fixes #21058
Testing Guide
az staticwebapp create -g {} -n {}
History Notes
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.