Skip to content

Commit

Permalink
Merge pull request nat-henderson#1 from davewongillies/tf_fmt
Browse files Browse the repository at this point in the history
Fmt the example code
  • Loading branch information
nat-henderson authored May 7, 2019
2 parents c77a3cc + f44f975 commit 70f8407
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,39 @@ Then write your config. Here's a sample config - a variation on this worked for

```hcl
provider "dominos" {
first_name = "My"
last_name = "Name"
first_name = "My"
last_name = "Name"
email_address = "my@name.com"
phone_number = "15555555555"
phone_number = "15555555555"
credit_card {
number = 123456789101112
cvv = 1314
date = "15/16"
zip = 18192
cvv = 1314
date = "15/16"
zip = 18192
}
}
data "dominos_address" "addr" {
street = "123 Main St"
city = "Anytown"
state = "WA"
zip = "02122"
city = "Anytown"
state = "WA"
zip = "02122"
}
data "dominos_store" "store" {
address_url_object = "${data.dominos_address.addr.url_object}"
}
data "dominos_menu_item" "item" {
store_id = "${data.dominos_store.store.store_id}"
store_id = "${data.dominos_store.store.store_id}"
query_string = ["philly", "medium"]
}
resource "dominos_order" "order" {
address_api_object = "${data.dominos_address.addr.api_object}"
item_codes = ["${data.dominos_menu_item.item.matches.0.code}"]
store_id = "${data.dominos_store.store.store_id}"
item_codes = ["${data.dominos_menu_item.item.matches.0.code}"]
store_id = "${data.dominos_store.store.store_id}"
}
```

Expand Down
24 changes: 12 additions & 12 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,39 @@ chmod +x ~/.terraform.d/plugins/terraform-provider-dominos

```hcl
provider "dominos" {
first_name = "My"
last_name = "Name"
first_name = "My"
last_name = "Name"
email_address = "my@name.com"
phone_number = "15555555555"
phone_number = "15555555555"
credit_card {
number = 123456789101112
cvv = 1314
date = "15/16"
zip = 18192
cvv = 1314
date = "15/16"
zip = 18192
}
}
data "dominos_address" "addr" {
street = "123 Main St"
city = "Anytown"
state = "WA"
zip = "02122"
city = "Anytown"
state = "WA"
zip = "02122"
}
data "dominos_store" "store" {
address_url_object = "${data.dominos_address.addr.url_object}"
}
data "dominos_menu_item" "item" {
store_id = "${data.dominos_store.store.store_id}"
store_id = "${data.dominos_store.store.store_id}"
query_string = ["philly", "medium"]
}
resource "dominos_order" "order" {
address_api_object = "${data.dominos_address.addr.api_object}"
item_codes = ["${data.dominos_menu_item.item.matches.0.code}"]
store_id = "${data.dominos_store.store.store_id}"
item_codes = ["${data.dominos_menu_item.item.matches.0.code}"]
store_id = "${data.dominos_store.store.store_id}"
}
```

Expand Down

0 comments on commit 70f8407

Please sign in to comment.