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

azurerm_kusto_cluster - support for language_extensions #7421

Merged

Conversation

jrauschenbusch
Copy link
Contributor

@jrauschenbusch jrauschenbusch commented Jun 21, 2020

Enhances the Kusto Cluster resource with the support for language extensions

@jrauschenbusch
Copy link
Contributor Author

Currently there is a problem within the REST API (see Azure/azure-rest-api-specs#9910). Maybe a workaround would be to use the addLanguageExtensions operation.

@jrauschenbusch jrauschenbusch force-pushed the r-kusto-cluster-language-extensions branch from 2c93993 to c9d5392 Compare June 22, 2020 12:44
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @jrauschenbusch

Thanks for this PR :)

Taking a look through this mostly LGTM - it sounds like we should be able to fix the tests for this by switching to use the add/removeLanguageExtensions API call, once the clusters been created - so could we switch over to using that? That said this otherwise LGTM so if we can do that and the tests pass then this should otherwise be good to merge 👍

Thanks!

@jrauschenbusch jrauschenbusch force-pushed the r-kusto-cluster-language-extensions branch from e90c427 to 45b94fd Compare June 24, 2020 11:59
@ghost ghost added size/L and removed size/M labels Jun 24, 2020
@jrauschenbusch jrauschenbusch force-pushed the r-kusto-cluster-language-extensions branch from 142dda6 to 59a7f56 Compare June 24, 2020 14:32
@jrauschenbusch
Copy link
Contributor Author

Hey @tombuildsstuff

everything fixed now. Tests are running:

~ make acctests SERVICE='kusto' TESTARGS='-run=TestAccAzureRMKustoCluster_languageExtensions' TESTTIMEOUT='60m'
==> Checking that code complies with gofmt requirements...
==> Checking that Custom Timeouts are used...
==> Checking that acceptance test packages are used...
TF_ACC=1 go test -v ./azurerm/internal/services/kusto/tests/ -run=TestAccAzureRMKustoCluster_languageExtensions -timeout 60m -ldflags="-X=github.com/terraform-providers/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN   TestAccAzureRMKustoCluster_languageExtensions
=== PAUSE TestAccAzureRMKustoCluster_languageExtensions
=== CONT  TestAccAzureRMKustoCluster_languageExtensions
--- PASS: TestAccAzureRMKustoCluster_languageExtensions (2214.40s)
PASS
ok      github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/kusto/tests 2217.142s

@ghost ghost removed the waiting-response label Jun 24, 2020
@jrauschenbusch
Copy link
Contributor Author

Hi @tombuildsstuff PR is now ready for a second review.

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@katbyte katbyte added this to the v2.18.0 milestone Jul 3, 2020
@katbyte katbyte changed the title Kusto Cluster Language Extensions support azurerm_kusto_cluster - support for language_extensions Jul 3, 2020
@katbyte katbyte merged commit 2516e13 into hashicorp:master Jul 3, 2020
katbyte added a commit that referenced this pull request Jul 3, 2020
@jrauschenbusch jrauschenbusch deleted the r-kusto-cluster-language-extensions branch July 3, 2020 06:41
@ghost
Copy link

ghost commented Jul 10, 2020

This has been released in version 2.18.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.18.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Aug 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Aug 2, 2020
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.

4 participants