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

azurerm_frontdoor_custom_https_configuration tries to update resource_group_name #10943

Closed
rscottwatson opened this issue Mar 12, 2021 · 4 comments

Comments

@rscottwatson
Copy link

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

Terraform (and AzureRM Provider) Version

Affected Resource(s)

  • azurerm_2.50.0 and 2.49.0

Terraform Configuration Files

resource "azurerm_frontdoor_custom_https_configuration" "custom_https_1" {
    frontend_endpoint_id              = azurerm_frontdoor.main.frontend_endpoints[local.HOST_SHORTNAME]
    custom_https_provisioning_enabled = true
    #
    # this is not a parameter but if we don't supply it each time we run a plan
    # it will try to set this value to null and cause the apply to fail saying that 
    # Message="That action isn’t allowed in this profile."
    # however when we include it we get a depreacted warning that it is going to be removed in the next release.
    #
   # resource_group_name               = var.resource_group_name
    custom_https_configuration {
        certificate_source   = "FrontDoor"
    }
}

Debug Output

https://gist.github.com/rscottwatson/b24343ff1c086124f9a582b0b5ec426a

Panic Output

Expected Behaviour

It should have detected no changes and not tried to set the resource group to null

Actual Behaviour

It tries to set it to null and fails

Steps to Reproduce

Create a azurerm_frontdoor_custom_https_configuration
apply it
run apply again

Important Factoids

References

  • #0000
@bcochofel
Copy link

This issue still happens with AzuremRM v2.54.0

@oliwer
Copy link

oliwer commented May 25, 2021

I did not get this error using azurerm v2.60.0. I followed the 2.58.0 migration tutorial.
Edit: Confirmed fixed in v2.60.0 : #11720

@tombuildsstuff
Copy link
Contributor

Closing as confirmed as fixed in v2.60 by @oliwer above

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants