-
Notifications
You must be signed in to change notification settings - Fork 709
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
First version of the module to support azurerm_linux_function_app #1838
base: main
Are you sure you want to change the base?
Conversation
Hi @arnaudlh , what is blocking the pull request? thx |
@@ -80,6 +80,7 @@ locals { | |||
combined_objects_front_door = merge(tomap({ (local.client_config.landingzone_key) = module.front_doors }), try(var.remote_objects.front_doors, {})) | |||
combined_objects_front_door_waf_policies = merge(tomap({ (local.client_config.landingzone_key) = module.front_door_waf_policies }), try(var.remote_objects.front_door_waf_policies, {})) | |||
combined_objects_function_apps = merge(tomap({ (local.client_config.landingzone_key) = module.function_apps }), try(var.remote_objects.function_apps, {})) | |||
combined_objects_linux_function_apps = merge(tomap({ (local.client_config.landingzone_key) = module.linux_function_apps }), try(var.remote_objects.linux_function_apps, {})) |
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.
Hi
We could do like that :
combined_objects_function_apps = merge(tomap({ (local.client_config.landingzone_key) = merge(module.function_apps, module.linux_function_apps) }), lookup(var.remote_objects, "function_apps", {}),, lookup(var.remote_objects, "linux_function_apps", {}))
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.
Hi
We could add linux_function_apps module in the same file function_app.tf
1304
PR Checklist
Description
First version of Linux function app
Does this introduce a breaking change
Testing
/tf/caf/examples/terraform plan --var-file webapps/linux_function_app/102-function_app-linux/configuration.tfvars -auto-approve
/tf/caf/examples/terraform apply --var-file webapps/linux_function_app/102-function_app-linux/configuration.tfvars -auto-approve
/tf/caf/examples/terraform destroy --var-file webapps/linux_function_app/102-function_app-linux/configuration.tfvars -auto-approve