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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_cdn_frontdoor_origin_group doesn't match with the official doc, health_probe is not optional #23175

Open
1 task done
Joseluismantilla opened this issue Sep 5, 2023 · 0 comments

Comments

@Joseluismantilla
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Terraform Version

1.5.6

AzureRM Provider Version

3.71

Affected Resource(s)/Data Source(s)

azurerm_cdn_frontdoor_origin_group

Terraform Configuration Files

resource "azurerm_cdn_frontdoor_profile" "main" {
  name                = "frontdoor-name"
  resource_group_name = var.resource_group_name
  sku_name            = "Premium_AzureFrontDoor"
}

resource "azurerm_cdn_frontdoor_origin_group" "origin_group" {
  name                     = "example"
  cdn_frontdoor_profile_id = azurerm_cdn_frontdoor_profile.main.id
  session_affinity_enabled = true
  load_balancing {
    sample_size                        = 4  # 4 is the default value
    successful_samples_required        = 3  # 3 is the default value
    additional_latency_in_milliseconds = 50 # 50 is the default value
  }
  # dynamic "health_probe" {
  #   for_each = var.enable_health_probes ? [1] : []
  #   content {
  #     path                = var.probepath
  #     request_type        = var.request
  #     protocol            = var.protocol
  #     interval_in_seconds = var.interval  
  #   }
  # }
}

Debug Output/Panic Output

N/A

Expected Behaviour

According to the official doc, heal_probe block is optional:
image

Unfortunately, there is no way to create any origin_group without health_probe as azure portal does!.

Actual Behaviour

All values are required.
image

Steps to Reproduce

image

Important Factoids

No response

References

Source: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cdn_frontdoor_origin_group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants