Open
Description
Check for previous/existing GitHub issues
- I have checked for previous/existing GitHub issues
Issue Type?
Feature Request
(Optional) Module Version
No response
(Optional) Correlation Id
No response
Description
Do you think you add an option to ignore the change for the gallery_application
Why : today we have a Azure policy to force the installation of applications via the VM application , so if we rerun the terraform script VM application will be remove
I try to use :
lifecycle {
ignore_changes = [
# Ignore changes to tags, e.g. because a management agent
# updates these based on some ruleset managed elsewhere.
gallery_application,
]
}
But there is no way for the caller of a module to force a new behavior on a resource inside that module...
Thanks
PS : documentation for gallery_applications format is not clear
in the doc
gallery_applications = [
{
version_id = "/subscriptions/{subscriptionId}/resourceGroups/<resource group>/providers/Microsoft.Compute/galleries/{gallery name}/applications/{application name}/versions/{version}"
order = 1
]
it should be
gallery_applications = [ {version_id = "/subscriptions/{subscriptionId}/resourceGroups/<resource group>/providers/Microsoft.Compute/galleries/{gallery name}/applications/{application name}/versions/{version}", order = 1 } ]
Activity