{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1743","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1743/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1743/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1743/events","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/1743","id":348929407,"node_id":"MDU6SXNzdWUzNDg5Mjk0MDc=","number":1743,"title":"IoTHub Connection Strings","user":{"login":"szaroubi","id":7586983,"node_id":"MDQ6VXNlcjc1ODY5ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/7586983?v=4","gravatar_id":"","url":"https://api.github.com/users/szaroubi","html_url":"https://github.com/szaroubi","followers_url":"https://api.github.com/users/szaroubi/followers","following_url":"https://api.github.com/users/szaroubi/following{/other_user}","gists_url":"https://api.github.com/users/szaroubi/gists{/gist_id}","starred_url":"https://api.github.com/users/szaroubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szaroubi/subscriptions","organizations_url":"https://api.github.com/users/szaroubi/orgs","repos_url":"https://api.github.com/users/szaroubi/repos","events_url":"https://api.github.com/users/szaroubi/events{/privacy}","received_events_url":"https://api.github.com/users/szaroubi/received_events","type":"User","site_admin":false},"labels":[{"id":620326282,"node_id":"MDU6TGFiZWw2MjAzMjYyODI=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/enhancement","name":"enhancement","color":"e6e600","default":true},{"id":850786860,"node_id":"MDU6TGFiZWw4NTA3ODY4NjA=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/service/iothub","name":"service/iothub","color":"00CC00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-08T23:41:14Z","updated_at":"2018-08-17T18:05:58Z","closed_at":null,"author_association":"NONE","body":"<!--- Please keep this note for the community --->\r\n\r\n### Community Note\r\n\r\n* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request\r\n* Please do not leave \"+1\" or \"me too\" comments, they generate extra noise for issue followers and do not help prioritize the request\r\n* If you are interested in working on this issue or have submitted a pull request, please leave a comment\r\n\r\n<!--- Thank you for keeping this note for the community --->\r\n\r\n### Description\r\nAfter provisioning an IoT Hub and an Azure Function, I would like to set a Function App setting (app_setting) with one of the IoTHub connection strings.\r\n\r\nIn order to accomplish this, one can generate the connection strings according to this document.\r\nhttps://blogs.msdn.microsoft.com/iotdev/2017/05/09/understand-different-connection-strings-in-azure-iot-hub/\r\n\r\n<!--- Please leave a helpful description of the feature request here. --->\r\n\r\n### New or Affected Resource(s)\r\nNot sure, don't know the codebase enough.\r\n\r\n### Potential Terraform Configuration\r\n\r\n<!--- Information about code formatting: https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code --->\r\n\r\n```hcl\r\nresource \"azurerm_function_app\" \"main\" {\r\n  name                      = \"iot-function-test\"\r\n  .\r\n  .\r\n  .\r\n  app_settings{\r\n    IoTHubConnectionString = \"${azurerm_iothub.main.eventhubconnectionstring}\r\n  }\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/comments/413945360","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/1743#issuecomment-413945360","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/1743","id":413945360,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzk0NTM2MA==","user":{"login":"szaroubi","id":7586983,"node_id":"MDQ6VXNlcjc1ODY5ODM=","avatar_url":"https://avatars1.githubusercontent.com/u/7586983?v=4","gravatar_id":"","url":"https://api.github.com/users/szaroubi","html_url":"https://github.com/szaroubi","followers_url":"https://api.github.com/users/szaroubi/followers","following_url":"https://api.github.com/users/szaroubi/following{/other_user}","gists_url":"https://api.github.com/users/szaroubi/gists{/gist_id}","starred_url":"https://api.github.com/users/szaroubi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szaroubi/subscriptions","organizations_url":"https://api.github.com/users/szaroubi/orgs","repos_url":"https://api.github.com/users/szaroubi/repos","events_url":"https://api.github.com/users/szaroubi/events{/privacy}","received_events_url":"https://api.github.com/users/szaroubi/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T18:05:58Z","updated_at":"2018-08-17T18:05:58Z","author_association":"NONE","body":"Here is my PR: https://github.com/terraform-providers/terraform-provider-azurerm/pull/1789\r\n"}}
{"actor":{"display_login":"szaroubi"}}