Skip to content

Commit 45f7462

Browse files
authored
Merge pull request #15 from contentful-labs/remove-id-field
Remove unused id field
2 parents 104c529 + 3668e7f commit 45f7462

6 files changed

Lines changed: 1 addition & 21 deletions

Dockerfile-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.8
1+
FROM golang:1.9
22

33
WORKDIR /go/src/github.com/danihodovic/contentful-terraform
44

resource_contentful_apikey.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ func resourceContentfulAPIKey() *schema.Resource {
1313
Delete: resourceDeleteAPIKey,
1414

1515
Schema: map[string]*schema.Schema{
16-
"id": &schema.Schema{
17-
Type: schema.TypeString,
18-
Computed: true,
19-
},
2016
"version": &schema.Schema{
2117
Type: schema.TypeInt,
2218
Computed: true,

resource_contentful_contenttype.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ func resourceContentfulContentType() *schema.Resource {
1818
Required: true,
1919
ForceNew: true,
2020
},
21-
"id": &schema.Schema{
22-
Type: schema.TypeString,
23-
Computed: true,
24-
},
2521
"version": &schema.Schema{
2622
Type: schema.TypeInt,
2723
Computed: true,

resource_contentful_locale.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ func resourceContentfulLocale() *schema.Resource {
1313
Delete: resourceDeleteLocale,
1414

1515
Schema: map[string]*schema.Schema{
16-
"id": &schema.Schema{
17-
Type: schema.TypeString,
18-
Computed: true,
19-
},
2016
"version": &schema.Schema{
2117
Type: schema.TypeInt,
2218
Computed: true,

resource_contentful_space.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ func resourceContentfulSpace() *schema.Resource {
1313
Delete: resourceSpaceDelete,
1414

1515
Schema: map[string]*schema.Schema{
16-
"id": &schema.Schema{
17-
Type: schema.TypeString,
18-
Computed: true,
19-
},
2016
"version": &schema.Schema{
2117
Type: schema.TypeInt,
2218
Computed: true,

resource_contentful_webhook.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ func resourceContentfulWebhook() *schema.Resource {
1313
Delete: resourceDeleteWebhook,
1414

1515
Schema: map[string]*schema.Schema{
16-
"id": &schema.Schema{
17-
Type: schema.TypeString,
18-
Computed: true,
19-
},
2016
"version": &schema.Schema{
2117
Type: schema.TypeInt,
2218
Computed: true,

0 commit comments

Comments
 (0)