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

tools/importer-rest-api-specs: refactoring / removing usages of _some_ of the old Terraform models #3913

Merged
merged 9 commits into from
Mar 12, 2024

Conversation

tombuildsstuff
Copy link
Contributor

This PR continues on from #3904 and updates several of the old SDKs Terraform Models to use the new Data API SDK models. I've tried grouping all of the Terraform changes together and it's too much to change at once - hence splitting this up.

This also fixes some minor bugs where the incorrect Object Definition Types were being used - by changing typealias ObjectDefinitionTypeName = string to typealias ObjectDefinitionTypeName string - to ensure that using an SDKObjectDefinitionType where we're expecting a TerraformSchemaObjectDefinitionType (and visa-versa) would become a compiler error - and finally fixing any compiler errors from this.

@tombuildsstuff tombuildsstuff added bug Something isn't working tool/importer-rest-api-specs Swagger Data Importer issues tool/generator-terraform Issues with the Terraform Generator labels Mar 1, 2024
@tombuildsstuff tombuildsstuff requested a review from a team March 1, 2024 13:16
Base automatically changed from refactor/arm-importer-models-cleanup to main March 4, 2024 08:51
@tombuildsstuff tombuildsstuff force-pushed the refactor/arm-importer-terraform-1 branch from 87f206b to dce4715 Compare March 4, 2024 09:18
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.

LGTM 👍

@tombuildsstuff tombuildsstuff merged commit f133a8b into main Mar 12, 2024
3 checks passed
@tombuildsstuff tombuildsstuff deleted the refactor/arm-importer-terraform-1 branch March 12, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tool/generator-terraform Issues with the Terraform Generator tool/importer-rest-api-specs Swagger Data Importer issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants