Skip to content

Commit

Permalink
terraform-provider-appstream - compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnvid Lau Karstad committed May 3, 2020
1 parent 1e08288 commit 275d468
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 21 deletions.
12 changes: 5 additions & 7 deletions appstream/config.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package appstream

import (
"fmt"
"log"
"strings"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/endpoints"
"github.com/aws/aws-sdk-go/service/appstream"
"github.com/aws/aws-sdk-go/service/imagebuilder"
awsbase "github.com/hashicorp/aws-sdk-go-base"
"github.com/hashicorp/terraform-plugin-sdk/helper/logging"
"fmt"
"log"
)


Expand All @@ -31,9 +30,8 @@ type Config struct {
ForbiddenAccountIds []string

Endpoints map[string]string
IgnoreTagsConfig []string
IgnoreTagPrefixes []string
IgnoreTags []string
IgnoreTagPrefixes []string
IgnoreTags []string
Insecure bool

SkipCredsValidation bool
Expand Down Expand Up @@ -133,4 +131,4 @@ func (c *Config) Client() (interface{}, error) {
terraformVersion: c.terraformVersion,
}
return client, nil
}
}
6 changes: 3 additions & 3 deletions appstream/provider.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package appstream

import (
"log"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
homedir "github.com/mitchellh/go-homedir"
"log"
)

func Provider() terraform.ResourceProvider {
Expand Down Expand Up @@ -211,4 +211,4 @@ func assumeRoleSchema() *schema.Schema {
},
},
}
}
}
6 changes: 3 additions & 3 deletions appstream/resource_fleet.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package appstream

import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/appstream"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"log"
"strings"
"time"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/appstream"
)


Expand Down
6 changes: 3 additions & 3 deletions appstream/resource_image_builder.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package appstream

import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/appstream"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"log"
"strings"
"time"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/appstream"
)


Expand Down
5 changes: 2 additions & 3 deletions appstream/resource_stack.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package appstream

import (
"log"
"time"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/appstream"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"log"
"time"
)

func resourceAppstreamStack() *schema.Resource {
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module github.com/arnvid/terraform-provider-appstream

go 1.13
go 1.14

require (
github.com/aws/aws-sdk-go v1.30.19
github.com/hashicorp/aws-sdk-go-base v0.4.0
github.com/hashicorp/terraform v0.12.24
github.com/hashicorp/terraform-plugin-sdk v1.11.0
github.com/mitchellh/go-homedir v1.1.0
)
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"github.com/hashicorp/terraform-plugin-sdk/plugin"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
"github.com/arnvid/terraform-provider-appstream/appstream"
)

Expand Down

0 comments on commit 275d468

Please sign in to comment.