Skip to content

Commit

Permalink
removes log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
LumaC0 committed Nov 29, 2023
1 parent 790fcfe commit 6ccf065
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions resource_alks_iamrole.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"log"

"github.com/Cox-Automotive/alks-go"
"github.com/hashicorp/terraform-plugin-log/tflog"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/customdiff"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down Expand Up @@ -233,22 +232,10 @@ func resourceAlksIamRoleRead(ctx context.Context, d *schema.ResourceData, meta i
return diag.FromErr(err)
}

// roleSpecificTags := localTags
tflog.Debug(ctx, "show raw data", map[string]interface{}{
"raw_config": d.GetRawConfig(),
"raw_plan": d.GetRawPlan(),
"raw_state": d.GetRawState(),
})

if err := d.Set("tags", removeIgnoredTags(resolveDuplicates(allTags, defaultTags, d), *ignoreTags)); err != nil {
return diag.FromErr(err)
}

// TODO: In the future, our API or tags need to dynamically grab these values.
// Till then, all imports require a destroy + create.
//_ = d.Set("type", foundrole.RoleType)
//_ = d.Set("include_default_policies", foundrole.InclDefaultPolicies)

return nil
}

Expand Down

0 comments on commit 6ccf065

Please sign in to comment.