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

streamanalytics - switch to hashicorp/go-azure-sdk #19395

Merged
merged 14 commits into from
Nov 28, 2022

Conversation

stephybun
Copy link
Member

@stephybun stephybun commented Nov 22, 2022

image

The last commit fixes the test TestAccStreamAnalyticsOutputTable_columnsToRemove.

The other tests fail because of a limitation on the amount of clusters that can be spun up for our subscription and also fail on main.

@stephybun stephybun marked this pull request as ready for review November 24, 2022 14:32
@stephybun stephybun requested a review from a team November 24, 2022 14:33
Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @stephybun
Just a few possible changes needed, otherwise LGTM 🐮

@stephybun stephybun merged commit 6197f76 into main Nov 28, 2022
@stephybun stephybun deleted the f/swap-sdk-stream-analytics branch November 28, 2022 11:03
@github-actions github-actions bot added this to the v3.34.0 milestone Nov 28, 2022
stephybun added a commit that referenced this pull request Nov 28, 2022
Comment on lines -3 to -9
//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=Function -id=/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/streamingjobs/streamingJob1/functions/function1
//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=StreamingJob -id=/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/streamingjobs/streamingJob1
//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=StreamingJobSchedule -id=/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/streamingjobs/streamingJob1/schedule/default
//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=StreamInput -id=/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/streamingjobs/streamingJob1/inputs/streamInput1
//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=Output -id=/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/streamingjobs/streamingJob1/outputs/output1
//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=Cluster -id=/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/clusters/cluster1
//go:generate go run ../../tools/generator-resource-id/main.go -path=./ -name=PrivateEndpoint -id=/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.StreamAnalytics/clusters/cluster1/privateEndpoints/endpoint1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're going to need state migrations for these, since go-azure-sdk uses the correct casing for these:

/subscriptions/%s/resourceGroups/%s/providers/Microsoft.StreamAnalytics/streamingJobs/%s

@stephybun any chance you could look into adding those?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On it

harshavmb pushed a commit to AmadeusITGroup/terraform-provider-azurerm that referenced this pull request Nov 28, 2022
* swap sdk for inputs and some outputs

* swap remaining resources

* modules

* fix correct type assertions

* revert changes to app service and firewall test

* go mod vendor

* update get opts for streaming jobs

* fix type assertion for functions

* tflint

* fix condition

* use custom importer and standardize error message for type assertions

* fix tests

* fix test

* add todo and nil check properties
harshavmb pushed a commit to AmadeusITGroup/terraform-provider-azurerm that referenced this pull request Nov 28, 2022
@github-actions
Copy link

github-actions bot commented Dec 2, 2022

This functionality has been released in v3.34.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 2, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants