{"payload":{"allShortcutsEnabled":false,"fileTree":{"website/docs":{"items":[{"name":"r","path":"website/docs/r","contentType":"directory"},{"name":"index.html.markdown","path":"website/docs/index.html.markdown","contentType":"file"}],"totalCount":2},"website":{"items":[{"name":"docs","path":"website/docs","contentType":"directory"},{"name":"netlify.erb","path":"website/netlify.erb","contentType":"file"}],"totalCount":2},"":{"items":[{"name":"netlify","path":"netlify","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":"vendor","path":"vendor","contentType":"directory"},{"name":"website","path":"website","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"go.mod","path":"go.mod","contentType":"file"},{"name":"go.sum","path":"go.sum","contentType":"file"},{"name":"main.go","path":"main.go","contentType":"file"}],"totalCount":13}},"fileTreeProcessingTime":14.581546000000001,"foldersToFetch":[],"repo":{"id":113404153,"defaultBranch":"master","name":"terraform-provider-netlify","ownerLogin":"hashicorp","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-12-07T04:49:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/761456?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"stable-website","listCacheKey":"v0:1559941902.0","canEdit":false,"refType":"branch","currentOid":"f4b2c325df3cfaaaf93a23b77dd82021fb52f8f6"},"path":"website/docs/index.html.markdown","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/hashicorp/terraform-provider-netlify/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"index.html.markdown","displayUrl":"https://github.com/hashicorp/terraform-provider-netlify/blob/stable-website/website/docs/index.html.markdown?raw=true","headerInfo":{"blobSize":"1.18 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"c6ca2ee","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fhashicorp%2Fterraform-provider-netlify%2Fblob%2Fstable-website%2Fwebsite%2Fdocs%2Findex.html.markdown","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"Netlify Provider","anchor":"netlify-provider","htmlText":"Netlify Provider"},{"level":2,"text":"Example Usage","anchor":"example-usage","htmlText":"Example Usage"},{"level":2,"text":"Argument Reference","anchor":"argument-reference","htmlText":"Argument Reference"}],"lineInfo":{"truncatedLoc":"47","truncatedSloc":"36"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/hashicorp/terraform-provider-netlify/blob/stable-website/website/docs/index.html.markdown","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/hashicorp/terraform-provider-netlify/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/hashicorp/terraform-provider-netlify/raw/stable-website/website/docs/index.html.markdown","renderImageOrRaw":false,"richText":"
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
layoutpage_titlesidebar_currentdescription
netlify
Provider: Netlify
docs-netlify-index
The Netlify provider is used to deploy netlify resources
\n\n

Netlify Provider

\n

The Netlify provider allows you to provision and deploy netlify sites and manage webhooks. The provider needs to be configured with the proper credentials before it can be used.

\n

Use the navigation to the left to read about the available resources.

\n

Example Usage

\n
# Configure the Netlify Provider\nprovider \"netlify\" {\n  token    = \"${var.netlify_token}\"\n  base_url = \"${var.netlify_base_url}\"\n}\n\n# Create a new deploy key for this specific website\nresource \"netlify_deploy_key\" \"key\" {}\n\n# Define your site\nresource \"netlify_site\" \"main\" {\n  name = \"my-site\"\n\n  repo {\n    repo_branch   = \"master\"\n    command       = \"middleman build\"\n    deploy_key_id = \"${netlify_deploy_key.key.id}\"\n    dir           = \"build\"\n    provider      = \"github\"\n    repo_path     = \"username/reponame\"\n  }\n}
\n

Argument Reference

\n

The following arguments are supported in the provider block:

\n\n
","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"Netlify Provider","kind":"section_1","ident_start":174,"ident_end":190,"extent_start":172,"extent_end":1213,"fully_qualified_name":"Netlify Provider","ident_utf16":{"start":{"line_number":8,"utf16_col":2},"end":{"line_number":8,"utf16_col":18}},"extent_utf16":{"start":{"line_number":8,"utf16_col":0},"end":{"line_number":47,"utf16_col":0}}},{"name":"Example Usage","kind":"section_2","ident_start":445,"ident_end":458,"extent_start":442,"extent_end":998,"fully_qualified_name":"Example Usage","ident_utf16":{"start":{"line_number":14,"utf16_col":3},"end":{"line_number":14,"utf16_col":16}},"extent_utf16":{"start":{"line_number":14,"utf16_col":0},"end":{"line_number":41,"utf16_col":0}}},{"name":"Argument Reference","kind":"section_2","ident_start":1001,"ident_end":1019,"extent_start":998,"extent_end":1213,"fully_qualified_name":"Argument Reference","ident_utf16":{"start":{"line_number":41,"utf16_col":3},"end":{"line_number":41,"utf16_col":21}},"extent_utf16":{"start":{"line_number":41,"utf16_col":0},"end":{"line_number":47,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/hashicorp/terraform-provider-netlify/branches":{"post":"ENyi8TMPn1SIw0Xxfd65664phnXUDxn-59JX2dTBZFkaX4R8Dp6PpZxR2Gam5UXaP79BdaTmvEnHXqxdcMV7Yw"},"/repos/preferences":{"post":"5smqg5D7NF3pH5VuDzAVqJb_I42nMPLyaSwfRkColGVOEr78Bl3IDKJuMwgmEYBRUbUDhmNmDI84vQhVpeZhuA"}}},"title":"terraform-provider-netlify/website/docs/index.html.markdown at stable-website ยท hashicorp/terraform-provider-netlify"}