Skip to content

Commit

Permalink
Fix incorrect example syntax for TF 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
davidweterings committed Nov 1, 2019
1 parent d5e76bd commit 7ae634e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/resource_product_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ A [Localized String][commercetool-localized-string] is used to provide a string
The way to define this in the template is as:

```hcl
value {
value = {
en = "Our new shiny value"
nl = "Onze versie nieuwe waarde"
}
Expand All @@ -181,7 +181,7 @@ The way to define this in the template is as:
```hcl
localized_value {
key = "phone"
label {
label = {
en = "Phone"
nl = "Telefoon"
}
Expand Down
10 changes: 5 additions & 5 deletions docs/resource_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ resource "commercetools_type" "my-custom-type" {
}
type {
name = "Enum"
values {
values = {
day = "Daytime"
evening = "Evening"
}
Expand Down Expand Up @@ -83,14 +83,14 @@ resource "commercetools_type" "my-custom-type" {
name = "LocalizedEnum"
localized_value {
key = "phone"
label {
label = {
en = "Phone"
nl = "Telefoon"
}
}
localized_value {
key = "skype"
label {
label = {
en = "Skype"
nl = "Skype"
}
Expand Down Expand Up @@ -184,7 +184,7 @@ A [Localized String][commercetool-localized-string] is used to provide a string
The way to define this in the template is as:

```hcl
value {
value = {
en = "Our new shiny value"
nl = "Onze versie nieuwe waarde"
}
Expand All @@ -198,7 +198,7 @@ The way to define this in the template is as:
```hcl
localized_value {
key = "phone"
label {
label = {
en = "Phone"
nl = "Telefoon"
}
Expand Down

0 comments on commit 7ae634e

Please sign in to comment.