-
Notifications
You must be signed in to change notification settings - Fork 150
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
Explicit option to block automatic resource/plan/app creation #1651
Comments
Would you like a confirm parameter in deploy, which actually lists all the operations/changes(only do read operation on your subscription) and when you press 'Y', it will continue to deploy (very similar to the terraform plan command: https://www.terraform.io/docs/cli/commands/plan.html) mvn azure-webapp:deploy --confirm |
What if we add a new parameter like: |
Will add a flag in Sep for preventing any kind of resource creation. |
Hi, thanks for your answers, and sorry for the delayed response. |
#1762, use |
or use pom configuration: <plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-webapp-maven-plugin</artifactId>
<version>2.2.0</version>
<configuration>
<resourceGroup>andxu-test-rg</resourceGroup>
<appName>andxu-test-app</appName>
<region>westus</region>
<skipCreateAzureResource>true</skipCreateAzureResource>
</configuration>
</plugin> |
When the plugin is used to deploy on a resource/plan/app that was already manually created, it would be nice to have an option that explicitly disables the accidental automatic creation of any Azure resource/plan/app in the Subscription.
Because when there's a misconfiguration/typo in my pom.xml, or if I'm on the wrong Subscription, I'd like an explicit error (resource not found...) not the creation of the wrong resource/plan/app at the wrong place
Thanks
The text was updated successfully, but these errors were encountered: