microsoft / terraform-provider-azuredevops

Terraform Azure DevOps provider
https://www.terraform.io/docs/providers/azuredevops/
MIT License
372 stars 260 forks source link

azuredevops_team - Team Name update or Team Description Update never completing #1074

Open Sharmanand opened 2 weeks ago

Sharmanand commented 2 weeks ago

Community Note

Terraform (and Azure DevOps Provider) Version

Affected Resource(s)

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
resource "azuredevops_team" "this" {
  project_id  = "project-id-goes-here"
  name        = "test"
  description = "test project"
}

apply above change

change the code 
resource "azuredevops_team" "this" {
  project_id  = "project-id-goes-here"
  name        = "test"
  description = "test project again change"
}

Debug Output

Panic Output

Expected Behavior

Team description should change to - test project again change

Actual Behavior

team name and team description both blank

Steps to Reproduce

go to azure devops portal, you will notice name and description disappear

  1. terraform apply

Important Factoids

References

xuzhang3 commented 5 days ago

@Sharmanand cannot reproduce this error. Can you share your logs?

Sharmanand commented 3 days ago

@xuzhang3 surprise, did you tried changing the name or description of teams and terraform apply completing for you?

i dont have any logs to share its just keep saying applying modifying...

image

xuzhang3 commented 3 days ago

yes, I can update both name and description at the same time. image

xuzhang3 commented 3 days ago

@Sharmanand you can enable the log with export TF_LOG=TRACE and export TF_LOG_PATH=<log file>