Skip to content
This repository was archived by the owner on Dec 9, 2020. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion website/docs/r/netlify_site.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Primary settings for a Netlify site - should contain the bulk of your configurat
```hcl
resource "netlify_site" "main" {
name = "my-site"

account_slug = "site-team"

repo {
command = "middleman build"
deploy_key_id = "${netlify_deploy_key.key.id}"
Expand All @@ -32,6 +33,7 @@ resource "netlify_site" "main" {
The following arguments are supported:

* `name` - (Required) - Name of your site on Netlify (e.g. **mysite**.netlify.com)
* `account_slug` - (Optional) - Account slug for the targeted team, defaults to user's default team.
* `repo` - (Required) - See [Repository](#repo)
* `custom_domain` - (Optional) - Custom domain of the site, must be configured using a CNAME in accordance with [Netlify's docs](https://www.netlify.com/docs/custom-domains). (e.g. `www.example.com`)
* `deploy_url` - (Optional)
Expand Down