Skip to content

Commit

Permalink
r/Logic App: ensuring parameters are strings prior to setting (#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Aug 30, 2018
1 parent 6ab46f8 commit 032fbe6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion azurerm/resource_arm_logic_app_workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,13 @@ func flattenLogicAppWorkflowParameters(input map[string]*logic.WorkflowParameter

for k, v := range input {
if v != nil {
output[k] = v.Value.(string)
// we only support string parameters at this time
val, ok := v.Value.(string)
if !ok {
log.Printf("[DEBUG] Skipping parameter %q since it's not a string", k)
}

output[k] = val
}
}

Expand Down

0 comments on commit 032fbe6

Please sign in to comment.