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

Creating authentication_mode parameter for azurerm_stream_analytics_output_cosmosdb #18362

Open
mohanajuhi166 opened this issue Sep 13, 2022 · 4 comments · May be fixed by #28372
Open

Creating authentication_mode parameter for azurerm_stream_analytics_output_cosmosdb #18362

mohanajuhi166 opened this issue Sep 13, 2022 · 4 comments · May be fixed by #28372

Comments

@mohanajuhi166
Copy link

mohanajuhi166 commented Sep 13, 2022

Description

Resource: azurerm_stream_analytics_output_cosmosdb

The authentication_mode parameter is currently available for some outputs such as event_hub etc. for Azure stream analytics jobs.

With the managed identity preview available for stream analytics's outputs, we want to set the authentication mode parameter to managed system identity for Azure stream analytics's output to Cosmosdb

New or Affected Resource(s)/Data Source(s)

azurerm_stream_analytics_output_cosmosdb

Potential Terraform Configuration

resource "azurerm_stream_analytics_output_cosmosdb" "example" {
  name                     = "output-to-cosmosdb"
  stream_analytics_job_id  = data.azurerm_stream_analytics_job.example.id
  cosmosdb_account_key     = azurerm_cosmosdb_account.example.primary_key
  cosmosdb_sql_database_id = azurerm_cosmosdb_sql_database.example.id
  container_name           = azurerm_cosmosdb_sql_container.example.name
  document_id              = "exampledocumentid"
  authentication_mode      = "Msi"
}

References

Reference: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/stream_analytics_output_cosmosdb

@mohanajuhi166
Copy link
Author

I would also like to contribute to the same by implementing this functionality

@jiaweitao001
Copy link
Contributor

Hi @mohanajuhi166 , thanks for raising this GH issue. However, authentication_mode is not currently supported by Azure stream analytics API. We will work on it once it's ready.

@Amier3 Amier3 added the upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR label Sep 19, 2022
@samuelhornbyparallo
Copy link

Hi, Could we please get an update on this request? It looks like authentication_mode with managed identity is now supported by azure api version 2021-10-01-preview.

@rcskosir rcskosir removed the upstream/microsoft Indicates that there's an upstream issue blocking this issue/PR label Mar 7, 2024
@Lachlan-White
Copy link
Contributor

Please can we have this added!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants