pulumi-azure-native icon indicating copy to clipboard operation
pulumi-azure-native copied to clipboard

Frontdoor (Classic) endpoint missing customHttpsConfiguration option

Open XBeg9 opened this issue 5 years ago • 7 comments

I can't find customHttpsConfiguration option for TS SDK, which exists in v2020-01-01 (Frontdoors).

https://stackoverflow.com/questions/58180861/enable-https-on-azure-front-door-custom-domain-with-arm-template-deployment

XBeg9 avatar Oct 16 '20 11:10 XBeg9

The current open API spec marks this property as read-only (it's returned from HTTP responses but can't be set in a request). Enabling HTTPs would require a POST which isn't currently mapped to our resource model.

mikhailshilkov avatar Oct 16 '20 13:10 mikhailshilkov

thanks @mikhailshilkov

XBeg9 avatar Oct 20 '20 13:10 XBeg9

Reopening this to keep visibility for missing APIs. @mikhailshilkov let me know if you disagree.

viveklak avatar Dec 03 '20 23:12 viveklak

For my understanding, is it because a POST has to be made after FrontDoor is set up as per https://docs.microsoft.com/en-us/rest/api/frontdoorservice/frontdoor/frontend-endpoints/enable-https?

So, could I write a Component myself that creates FrontDoor and then does the POST? / @mikhailshilkov @dfibuch

flytzen avatar Aug 25 '21 15:08 flytzen

For my understanding, is it because a POST has to be made after FrontDoor is set up as per https://docs.microsoft.com/en-us/rest/api/frontdoorservice/frontdoor/frontend-endpoints/enable-https?

Yes, exactly.

So, could I write a Component myself that creates FrontDoor and then does the POST?

You could. Components don't have the same lifecycle as custom resources (hooks for CRUD operations), so you may have to call that POST endpoint on every pulumi run. A dynamic provider or a custom resource in the azure-native provider could be more robust option.

mikhailshilkov avatar Aug 25 '21 16:08 mikhailshilkov

Are there plans to implement this at all? I am running into the same issue. It's no longer available

SlyckLizzie avatar Oct 27 '21 16:10 SlyckLizzie

There are two possibilities:

  1. Microsoft adds a possibility to set HTTPs as part of front door API directly
  2. We need to create a custom resource that works with POST endpoints

I can't provide any insights about (1). (2) isn't currently planned because it's a non-trivial change and the issue hasn't been upvoted much yet.

mikhailshilkov avatar Oct 29 '21 13:10 mikhailshilkov