You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Terraform Version
1.3.7
AzureRM Provider Version
3.5.0
Affected Resource(s)/Data Source(s)
azurerm_managed_application
Terraform Configuration Files
terraform {
required_providers {
azurerm={
source ="hashicorp/azurerm"
}
}
}
variable"ux4iot_application_definition_id" {
type=stringdescription="Application Definition ID of ux4iot"
}
variable"resource_group_name" {
type=stringdescription="Resource group to install Service Bus ux4iot and the IoT Hub into"default="my-rg"
}
variable"location" {
type=stringdescription="Azure location where to deploy ux4iot and the IoT Hub into"default="WestEurope"
}
resource"azurerm_iothub""main" {
location=var.locationname="my-iothub"resource_group_name=var.resource_group_namesku {
capacity=1name="S1"
}
}
resource"azurerm_iothub_shared_access_policy""ux4iot" {
iothub_name=azurerm_iothub.main.namename="ux4iot"resource_group_name=var.resource_group_nameregistry_read=trueservice_connect=true
}
data"azurerm_iothub_shared_access_policy""iothubowner" {
iothub_name=azurerm_iothub.main.namename="iothubowner"resource_group_name=var.resource_group_name
}
resource"azurerm_managed_application""ux4iot" {
application_definition_id=var.ux4iot_application_definition_idkind="ServiceCatalog"location=var.locationmanaged_resource_group_name="ux4iot-resources"name="ux4iot"resource_group_name=var.resource_group_nameparameters={
iotHubEventHubConnectionString = azurerm_iothub_shared_access_policy.ux4iot.primary_connection_string
iotHubServiceConnectionString ="Endpoint=${azurerm_iothub.main.event_hub_events_endpoint};SharedAccessKeyName=iothubowner;SharedAccessKey=${data.azurerm_iothub_shared_access_policy.iothubowner.primary_key};EntityPath=${azurerm_iothub.main.event_hub_events_path}"
sku ="small"
}
tags=var.tags
}
Debug Output/Panic Output
Terraform reports the following error after successful provisioning
╷
│ Error: missing key 'value'in parameters or output map map[]
│
│ with module.ux4iot[0].azurerm_managed_application.ux4iot,
│ on modules/ux4iot/main.tf line 35, in resource "azurerm_managed_application""ux4iot":
│ 35: resource "azurerm_managed_application""ux4iot" {
│
╵
The output from the Microsoft.Solutions/applications looks fine:
Hi @sflandergan thanks for raising the issue! The SecureString type seems not having its value returned, it probably needs some special handling for this type in the provider.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.5.0
Affected Resource(s)/Data Source(s)
azurerm_managed_application
Terraform Configuration Files
Debug Output/Panic Output
The output from the
Microsoft.Solutions/applications
looks fine:The text was updated successfully, but these errors were encountered: