Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devspaces API host_suffix property is ignored in API version 2019-04-01 #5990

Closed
katbyte opened this issue Oct 10, 2019 · 4 comments
Closed
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library.

Comments

@katbyte
Copy link

katbyte commented Oct 10, 2019

Bug Report

  • import path of package in question, e.g. .../services/compute/mgmt/2018-06-01/compute
    works in: github.com/Azure/azure-sdk-for-go/services/preview/devspaces/mgmt/2018-06-01-preview/devspaces
    breaks in: github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces

  • SDK version e.g. master, latest, 18.1.0

[17:09:43] kt@snowbook:~/hashi/tf/azure/azurerm▸feature/azure-bastion-host$ cat go.mod | egrep -i azure
module github.com/terraform-providers/terraform-provider-azurerm
	github.com/Azure/azure-sdk-for-go v33.2.0+incompatible
	github.com/Azure/go-autorest/autorest v0.9.0
	github.com/Azure/go-autorest/autorest/date v0.2.0
  • output of go version
    go version go1.13.1 darwin/amd64
  • What happened?
    in github.com/Azure/azure-sdk-for-go/services/preview/devspaces/mgmt/2018-06-01-preview/devspaces the host_suffix was user settable. We upgraded to github.com/Azure/azure-sdk-for-go/services/devspaces/mgmt/2019-04-01/devspaces and it doesn't appear to beable to be set anymore as a random FQDN is returned.
testing.go:568: Step 0 error: After applying this step, the plan was not empty:
        
        DIFF:
        
        DESTROY/CREATE: azurerm_devspace_controller.test
          data_plane_fqdn:                          "azds-d4a0111e-cb75-45e2-9b14-424a2874f154.weu.azds.io" => "<computed>"
          host_suffix:                              "rwxnnlkqxm.weu.azds.io" => "suffix" (forces new resource)
  • What did you expect or want to happen?
    the host suffix set?

  • How can we reproduce it?
    try and set the host suffix

  • Anything we should know about your environment.

Please refer to hashicorp/terraform-provider-azurerm#4288 for more details

@maggiepint maggiepint added Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. labels Oct 11, 2019
@maggiepint
Copy link

Thanks for the feedback - I have routed to the appropriate team for follow up.

@ArcturusZhang
Copy link
Member

Hi @katbyte according to the swagger of devspaces, the hostSuffix is labeled of readOnly: true now, which indicates it is managed by azure now rather than user-provided.

@katbyte
Copy link
Author

katbyte commented Oct 16, 2019

thanks @ArcturusZhang

@katbyte katbyte closed this as completed Oct 16, 2019
@ghost
Copy link

ghost commented Oct 16, 2019

Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

3 participants