straight-whale-42634
02/17/2025, 11:56 AMusing Pulumi.Azure.Cdn;
using Pulumi.Azure.Cdn.Inputs;
to AzureNative? 😄 Is there something available?
Its mostly this cmponent doing problems:
EndpointCustomDomain endpointCustomDomain = new(options.AppName, new()
{
// This is needed to avoid updating the CustomDomain on each run, because the CdnEndpointId in the Pulumi state uses "resourceGroups"
CdnEndpointId = cdnEndpoint.Id.Apply(x => x.Replace("resourcegroups", "resourceGroups")),
HostName = hostName,
CdnManagedHttps = new EndpointCustomDomainCdnManagedHttpsArgs
{
CertificateType = "Dedicated",
ProtocolType = "ServerNameIndication",
TlsVersion = "TLS12"
}
});
I cant seem to find anything similar on my
using Pulumi.AzureNative.Cdn;
using Pulumi.AzureNative.Cdn.Inputs;
Its mostly the managedHttps i cant get to work and the general EndpointCustomDomain not being there, which we are using to make custom endpoints for our frontendlimited-rainbow-51650
02/18/2025, 8:30 AMstraight-whale-42634
02/18/2025, 8:34 AMlimited-rainbow-51650
02/18/2025, 8:40 AMEndpoint
resource, but you have a CustomDomain
resource containing some outputs referring to this:
https://www.pulumi.com/registry/packages/azure-native/api-docs/cdn/customdomain/straight-whale-42634
02/18/2025, 1:08 PMEndpointCustomDomain endpointCustomDomain = new(options.AppName, new()
{
// This is needed to avoid updating the CustomDomain on each run, because the CdnEndpointId in the Pulumi state uses "resourceGroups"
CdnEndpointId = cdnEndpoint.Id.Apply(x => x.Replace("resourcegroups", "resourceGroups")),
HostName = hostName,
CdnManagedHttps = new EndpointCustomDomainCdnManagedHttpsArgs
{
CertificateType = "Dedicated",
ProtocolType = "ServerNameIndication",
TlsVersion = "TLS12"
}
});
into
var customDomain = new AzureNative.Cdn.CustomDomain("customDomain", new()
{
CustomDomainName = "www-someDomain-net",
EndpointName = "endpoint1",
HostName = "<http://www.someDomain.net|www.someDomain.net>",
ProfileName = "profile1",
ResourceGroupName = "RG",
});
because i feel like im missing certificate type etc missing?straight-whale-42634
02/20/2025, 11:07 AMmelodic-tomato-39005
02/24/2025, 3:13 PMcdn.Endpoint
resource is the correct resource to use here. However, the SSL part is not modeled as part of the resource in the Azure spec, but as a separate POST request. We’d need a custom implementation here. Please upvote the issue if you’re interested.straight-whale-42634
02/25/2025, 7:02 AM