Azure-sdk-for-go: Private Link Service returns success before values are persisted to Azure

Created on 3 Dec 2019  路  5Comments  路  Source: Azure/azure-sdk-for-go

Bug Report

  • Import Path: .../services/network/mgmt/2019-09-01/network
  • SDK Version: 36.2
  • Go Version: go1.12.5 linux/amd64

Description

What Happened:

While creating the Private Link Service resource for the Terraform Azure Provider I noticed that the API was returning success before the values were actually persisted to the Azure resource. In Terraform once a resource reports success we instantly do a Get on the Azure resource, out Get was/is returning empty values for the attributes we just Set.

What did I expect or want to happen:

The values that were 'Set' to be returned by the Get.

How can we reproduce it:

Create a Private Link Service and once it returns success do a Get.

Anything we should know about your environment:

No, standard Go development environment on WSL.

Mgmt Network - Virtual Network bug

Most helpful comment

Any update on this ?

All 5 comments

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @karenhammons @sfiguemsft

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @karenhammons @sfiguemsft

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc

@WodansSon, thanks for bringing this to our attention. Looking into this - will update soon!

Any update on this ?

Was this page helpful?
0 / 5 - 0 ratings