-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
new resource: azurerm_kusto_iothub_data_connection #8626
Conversation
fc139c2
to
27db5e7
Compare
27db5e7
to
8a5e92c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @njuCZ - overall this looks good but could we get a complete and update test? thanks!
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/acceptance" | ||
) | ||
|
||
func TestAccAzureRMKustoIotHubDataConnection_basic(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a complete test which sets all optional properties and then an update test that goes basic -> complete -> basic?
@katbyte sorry for late reply. complete test is hard for this resource, because the optional fields "table_name", "mapping_rule_name" are kusto RP data plane resource. Fow now, we could not create them through terraform. and I found existing resource Do you think we would better delete these fields or just keep them and no test? |
@njuCZ - can we just delete the properties we cannot test and leave the rest for now? thanks |
801c092
to
14de6d4
Compare
@katbyte Thanks for your advice, I have deleted these fields. Please have a look again when free. |
14de6d4
to
49fcee0
Compare
just rebased the latest master branch and resolve conflicts |
@njuCZ - this is failing to build with:
|
49fcee0
to
cb1710e
Compare
@katbyte I have rebased this PR, now it could build successfully and acctest could pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @njuCZ - LGTM 👍
This has been released in version 2.49.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.49.0"
}
# ... other configuration ... |
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! |
refactor kusto RP and add new resource
