Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewcummings committed Apr 10, 2024
1 parent b41bb2c commit ea4f4ac
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cloudtruth/resource_aws_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ at least one service must be specified`,
Description: "A list of tags to be set on all integration resources",
Type: schema.TypeMap,
Optional: true,
Default: nil,
Elem: &schema.Schema{
Type: schema.TypeString,
},
Default: nil,
},
"external_id": {
Description: `The generated external ID for the AWS integration, needed for CloudTruth to assume the specified role
Expand Down Expand Up @@ -242,10 +245,6 @@ func resourceAWSIntegrationUpdate(ctx context.Context, d *schema.ResourceData, m
}

if d.HasChange("aws_enabled_regions") {
x, y := d.GetChange("aws_enabled_regions")
fmt.Print(x)
fmt.Print(y)

rawRegions := d.Get("aws_enabled_regions").(*schema.Set)
regions, err := getIntegrationRegions(rawRegions.List())
if err != nil {
Expand Down

0 comments on commit ea4f4ac

Please sign in to comment.