microsoft / PubSec-Info-Assistant

Information Assistant, built with Azure OpenAI Service, Industry Accelerator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Host name check failed for non-existing function app

ifourajay opened this issue · comments

Bug Details

When I cloned the repo and tried to deploy when the terraform module reaches the function app step it fails host name check. Says hostname already existing for non-existing resources. I tried it multiple times while using different random strings I get the same issue always. This stops the terraform idempotency feature and stops me from running make deploy.

Steps To Reproduce

  1. Clone the repo
  2. run make deploy

What is the expected behavior?
You will get stuck at function app deployment. Even if we try deploying in other resource groups or any random string it fails.

Screenshots
image

Information Assistant details

Please provide the following details. You can simply include a screenshot of your Info panel as well.

GitHub branch: [e.g. main]
main
Version or Latest commit: [obtained by running git log -n 1 <branchname>
bf12999
What region is your Azure Open AI Service in?
eastus

model name: (i.e. gpt-3.5-turbo, gpt-4)
'gpt-35-turbo-16k'
model version: (i.e. 0613)
0613

If the bug is confirmed, would you be willing to submit a PR?
Yes

It seems there may simply be a conflict with the random string and another used in the same region. To get around this simply delete your TF state file from /infra/terraform.tfstate.d/<workspace name>/terraform.tfstate then run make deploy again.

This issue is marked for closure due to inactivity for 2 weeks. It will be closed in 5 days.

closing due to inactivity