Skip to content
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

fix: Allow to change Health Probe for an LB Rule #78

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

acelebanski
Copy link
Contributor

Description

This PR adds a lifecycle block with create_before_destroy option set to true for a azurerm_lb_probe resource in loadbalancer module.

Motivation and Context

The Azure API didn't allow to replace the health probe resource in Load Balancer Rule when changed in tfvars.
#75

How Has This Been Tested?

By deploying one of the examples and replicating the problem.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@acelebanski acelebanski merged commit a077fe0 into main Jul 24, 2024
36 checks passed
@acelebanski acelebanski deleted the 75-lb-healthprobe-update-fix branch July 24, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants