I'm creating the Azure resources stack in a different workflow/pipeline using a Bicep file. Ideally, I'd create/reuse Storage, AppInsights, App Service plans and even Function Apps from the IaC Bicep file, and deploy all functions using the Gradle plugin.
This may be obvious, but adding a skipCreateAzureResource parameter in the azurefunctions section in build.gradle triggers and error when running ./gradlew azureFunctionsDeploy --stacktrace
org.gradle.api.GradleScriptException: A problem occurred evaluating root project '(redacted)'.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
...
Caused by: groovy.lang.MissingPropertyException: Could not set unknown property 'skipCreateAzureResource' for extension 'azurefunctions' of type com.microsoft.azure.plugin.functions.gradle.AzureFunctionsExtension.
at org.gradle.internal.metaobject.AbstractDynamicObject.setMissingProperty(AbstractDynamicObject.java:118)
at org.gradle.internal.metaobject.ConfigureDelegate.setProperty(ConfigureDelegate.java:104)
at build_61eqnvyogxgq1hjothffjpz9e$_run_closure4.doCall(/home/jarrarte/work/gap/tfa/src/spikes/ADMISSIONS-12756/word-to-pdf/word-to-pdf-azure/build.gradle:54)
...
... 159 more
This request is similar to https://github.com/microsoft/azure-maven-plugins/issues/1651/, but for Azure Function Apps instead of web apps.
I'm creating the Azure resources stack in a different workflow/pipeline using a Bicep file. Ideally, I'd create/reuse Storage, AppInsights, App Service plans and even Function Apps from the IaC Bicep file, and deploy all functions using the Gradle plugin.
This may be obvious, but adding a
skipCreateAzureResource
parameter in theazurefunctions
section in build.gradle triggers and error when running./gradlew azureFunctionsDeploy --stacktrace