favoretti / terraform-provider-adx

Mozilla Public License 2.0
14 stars 5 forks source link

Add to adx_table_mapping the kind = apacheavro #32

Closed FakieHeelflip closed 1 year ago

FakieHeelflip commented 1 year ago

Is there an existing issue for this?

Terraform Version

1.3.7

ADX Provider Version

0.0.18

Terraform Configuration Files

resource "adx_table_mapping" "test" {
  name          = "TestMapping"
  database_name = "test-db"
  table_name    = adx_table.test.name
  kind          = "apacheavro"
  mapping {
    ...
  }
}

Debug Output/Panic Output

│ Error: expected kind to be one of [json csv parquet avro orc w3clogfile], got apacheavro
│ 
│   with adx_table_mapping.test,
│   on main.tf line 70, in resource "adx_table_mapping" "test":
│   70:   kind          = "apacheavro"

Expected Behaviour

Deployment with kind = 'apacheavro' works.

Actual Behaviour

The kind = 'apacheavro' throws an error within the deployment.

Steps to Reproduce

-

Important Factoids

No response

References

https://learn.microsoft.com/en-us/azure/data-explorer/kusto/management/mappings#identity-mapping

There is support for ApacheAvro in ADX.

FakieHeelflip commented 1 year ago

Apologies for raising a bug again. :)

Is there a way to use apacheavro as mapping kind in the resource "adx_table_mapping"?

Is this something I have missed or is not supported?

Thank you very much

FakieHeelflip commented 1 year ago

Thank you