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

New Resource: azurerm_application_insights_workbook_template #17433

Merged
merged 8 commits into from
Jul 8, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix bug
ms-zhenhua committed Jul 7, 2022
commit 28f2210fd7a2e45c4f298098a78656e4352853df
Original file line number Diff line number Diff line change
@@ -6,6 +6,8 @@ import (
"fmt"
"time"

"github.com/hashicorp/terraform-provider-azurerm/utils"

"github.com/hashicorp/go-azure-helpers/lang/response"
"github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema"
"github.com/hashicorp/go-azure-helpers/resourcemanager/location"
@@ -383,11 +385,11 @@ func expandWorkbookTemplateGalleryModel(inputList []WorkbookTemplateGalleryModel
var outputList []applicationinsights.WorkbookTemplateGallery
for _, input := range inputList {
output := applicationinsights.WorkbookTemplateGallery{
Category: &input.Category,
Name: &input.Name,
Order: &input.Order,
ResourceType: &input.ResourceType,
Type: &input.Type,
Category: utils.String(input.Category),
Name: utils.String(input.Name),
Order: utils.Int64(input.Order),
ResourceType: utils.String(input.ResourceType),
Type: utils.String(input.Type),
}

outputList = append(outputList, output)