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

Support for creation of serviceProviderConnections in logic_apps_standard #25357

Open
1 task done
niksjk92 opened this issue Mar 21, 2024 · 1 comment
Open
1 task done

Comments

@niksjk92
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

Standard plan logic apps need to use In-App connectors for SFTP and Blob triggers and actions.
azurerm_api_connection does not support the creation of these connections to be used in the logic app workflows

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

azurerm_api_connection

Potential Terraform Configuration

resource "azurerm_api_connection" "blob_storage" {
  name                = "azure-blob-connection"
  resource_group_name = var.resource_group_name
  location            = var.location

  type = "AzureBlob"
  properties = {
    displayName       = "Blob Storage Connection"
    parameter_values = {
      "authProvider": {
        "Type": "ManagedServiceIdentity"
      },
      "blobStorageEndpoint": "@appsetting('AzureBlob_blobStorageEndpoint')"
    }
  }
}

and similarly for SFTP

resource "azurerm_api_connection" "blob_storage" {
  name                = "azure-blob-connection"
  resource_group_name = var.resource_group_name
  location            = var.location

  type = "AzureBlob"
  properties = {
    displayName       = "Blob Storage Connection"
    parameter_values = {
       "disableConnectionCache": "true",
                "portNumber": "22",
                "rootDirectory": "/home",
                "sshHostAddress": "127.0.0.1",
                "sshPrivateKey": "----RSA OPEN SSH KEY----",
                "username": "sftp_user_1"
    }
  }
}

References

No response

@nelakolundzija
Copy link

any info about terraform setup for
"serviceProviderConnections": { "AzureBlob": { "displayName": "blobconnection", "parameterSetName": "connectionString", "parameterValues": { "connectionString": "@appsetting('AzureBlob_connectionString')" }, "serviceProvider": { "id": "/serviceProviders/AzureBlob" } },

    ?

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

No branches or pull requests

3 participants