Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Create resources failed probabilistically when executing command "azd up" or "azd pipleline config" #3

Open
Menghua1 opened this issue Feb 21, 2023 · 4 comments

Comments

@Menghua1
Copy link

Describe the issue:
When excuting command azd up --template https://github.com/fangjian0423/todo-java-postgresql-terraform -l "eastus" or azd pipeline config, the following error will occur probabilistically.
We executed it five times and encountered this error twice, details are as follows:
image

Repro steps:

  1. Execute command azd login.
  2. Execute command azd up --template https://github.com/fangjian0423/todo-java-postgresql-terraform -l "eastus" .

or

  1. Execute command azd login.
  2. Execute command azd up --template https://github.com/fangjian0423/todo-java-postgresql-terraform -l "eastus" .
  3. Execute command azd pipeline config.
  4. Click on the link that is printed to open the actions page.

Environment:

  • OS: windows
  • Template: https://github.com/fangjian0423/todo-java-postgresql-terraform
  • Branch: main.
  • Azd version: azd version 0.6.0-beta.3-daily.2200320 (commit b9ac6ad2da8910a02e54468415f24d84c1255b9c)

Expected behavior:
The commands azd up --template https://github.com/fangjian0423/todo-java-postgresql-terraform -l "eastus" and azd pipeline config can be successfully executed stably.

@fangjian0423 for notification.

@fangjian0423
Copy link
Owner

I think Azure Database for PostgreSQL - Flexible Server is not stable for the AAD admin setting in terraform, it's not a template issue.

@fangjian0423
Copy link
Owner

Retry can resolve it, let me add the case on readme Troubleshooting section.

@v-xuto
Copy link

v-xuto commented Mar 1, 2023

Template todo-java-postgresql-aca-terraform has the same issue.

@fangjian0423
Copy link
Owner

fangjian0423 commented Mar 1, 2023

Template todo-java-postgresql-aca-terraform has the same issue.

Yes, it's not template's issue. The postgresql flexible server AAD admin setting in terraform is not stable. Sometimes, it works fine in my local.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants