powerful-football-81694
03/15/2020, 11:10 PMTemplateDeployment
resource, which works well. I’m even able to get the thumbprint out of it, so all good there.
However:
• To create a managed certificate, the corresponding CustomHostnameBinding
resource must already exist
• To activate TLS for the CustomHostnameBinding
, we need to specify the certificate thumbprint
• To get the certificate thumbprint, we need to create the managed certificate
• => circular dependency…
How do we typically work around these things?
Is there any way that I can create the CustomHostnameBinding
resource, and then later in the same Pulumi program, update it with the properties for certificate thumbprint?tall-librarian-49374
03/16/2020, 8:02 AMTemplateDeployment
instead of getting it back as an output?powerful-football-81694
03/16/2020, 11:12 AMtall-librarian-49374
03/16/2020, 12:00 PMpowerful-football-81694
03/16/2020, 1:01 PMtall-librarian-49374
03/16/2020, 1:02 PMpowerful-football-81694
03/16/2020, 1:24 PMtall-librarian-49374
03/16/2020, 1:27 PMpowerful-football-81694
03/16/2020, 1:27 PMtall-librarian-49374
03/16/2020, 1:28 PMpowerful-football-81694
03/16/2020, 1:28 PMtall-librarian-49374
03/16/2020, 1:29 PMpowerful-football-81694
03/16/2020, 1:30 PMtall-librarian-49374
03/16/2020, 1:30 PMpowerful-football-81694
03/16/2020, 1:30 PMtall-librarian-49374
03/16/2020, 1:31 PMpowerful-football-81694
03/16/2020, 1:31 PMtall-librarian-49374
03/16/2020, 1:33 PMpowerful-football-81694
03/16/2020, 1:34 PMerror: A resource with the ID "/subscriptions/1788357e-d506-4118-9f88-092c1dcddc16/resourceGroups/orgflow-licensing-dev-rg/providers/Microsoft.Web/sites/orgflow-licensing-dev-app/hostNameBindings/dev.licensing.orgflow.app" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_app_service_custom_hostname_binding" for more information.
tall-librarian-49374
03/16/2020, 7:52 PMpowerful-football-81694
03/16/2020, 9:13 PMtall-librarian-49374
03/16/2020, 9:13 PMmillions-journalist-34868
05/12/2020, 2:18 PMpowerful-football-81694
05/12/2020, 5:37 PMmillions-journalist-34868
05/12/2020, 5:38 PMpowerful-football-81694
05/13/2020, 4:30 PMmillions-journalist-34868
05/13/2020, 5:11 PM