diff --git a/website/data/cli-nav-data.json b/website/data/cli-nav-data.json new file mode 100644 index 000000000..391816d6d --- /dev/null +++ b/website/data/cli-nav-data.json @@ -0,0 +1,498 @@ +[ + { "heading": "Terraform CLI" }, + { "title": "Overview", "path": "" }, + { "title": "Basic CLI Features", "href": "/cli/commands" }, + { + "title": "Initializing Working Directories", + "routes": [ + { "title": "Overview", "path": "init" }, + { "title": "init", "href": "/cli/commands/init" }, + { "title": "get", "href": "/cli/commands/get" } + ] + }, + { + "title": "Provisioning Infrastructure", + "routes": [ + { "title": "Overview", "path": "run" }, + { "title": "plan", "href": "/cli/commands/plan" }, + { "title": "apply", "href": "/cli/commands/apply" }, + { "title": "destroy", "href": "/cli/commands/destroy" } + ] + }, + { + "title": "Authenticating", + "routes": [ + { "title": "Overview", "path": "auth" }, + { "title": "login", "href": "/cli/commands/login" }, + { "title": "logout", "href": "/cli/commands/logout" } + ] + }, + { + "title": "Writing and Modifying Code", + "routes": [ + { "title": "Overview", "path": "code" }, + { "title": "console", "href": "/cli/commands/console" }, + { "title": "fmt", "href": "/cli/commands/fmt" }, + { "title": "validate", "href": "/cli/commands/validate" }, + { + "title": "0.13upgrade", + "href": "/cli/commands/0.13upgrade" + }, + { + "title": "0.12upgrade", + "href": "/cli/commands/0.12upgrade" + } + ] + }, + { + "title": "Inspecting Infrastructure", + "routes": [ + { "title": "Overview", "path": "inspect" }, + { "title": "graph", "href": "/cli/commands/graph" }, + { "title": "output", "href": "/cli/commands/output" }, + { "title": "show", "href": "/cli/commands/show" }, + { + "title": "state list", + "href": "/cli/commands/state/list" + }, + { + "title": "state show", + "href": "/cli/commands/state/show" + } + ] + }, + { + "title": "Importing Infrastructure", + "routes": [ + { "title": "Overview", "path": "import" }, + { + "title": "import", + "href": "/cli/commands/import" + }, + { "title": "Usage Tips", "path": "import/usage" }, + { + "title": "Resource Importability", + "path": "import/importability" + } + ] + }, + { + "title": "Manipulating State", + "routes": [ + { "title": "Overview", "path": "state" }, + { + "title": "Resource Addressing", + "path": "state/resource-addressing" + }, + { "title": "state", "href": "/cli/commands/state" }, + { + "title": "Inspecting State", + "routes": [ + { "title": "Overview", "path": "state/inspect" }, + { + "title": "state list", + "href": "/cli/commands/state/list" + }, + { + "title": "state show", + "href": "/cli/commands/state/show" + }, + { + "title": "refresh", + "href": "/cli/commands/refresh" + } + ] + }, + { + "title": "Forcing Re-creation (Tainting)", + "routes": [ + { "title": "Overview", "path": "state/taint" }, + { + "title": "taint", + "href": "/cli/commands/taint" + }, + { + "title": "untaint", + "href": "/cli/commands/untaint" + } + ] + }, + { + "title": "Moving Resources", + "routes": [ + { "title": "Overview", "path": "state/move" }, + { + "title": "state mv", + "href": "/cli/commands/state/mv" + }, + { + "title": "state rm", + "href": "/cli/commands/state/rm" + }, + { + "title": "state replace-provider", + "href": "/cli/commands/state/replace-provider" + } + ] + }, + { + "title": "Disaster Recovery", + "routes": [ + { + "title": "Overview", + "path": "state/recover" + }, + { + "title": "state pull", + "href": "/cli/commands/state/pull" + }, + { + "title": "state push", + "href": "/cli/commands/state/push" + }, + { + "title": "force-unlock", + "href": "/cli/commands/force-unlock" + } + ] + } + ] + }, + { + "title": "Managing Workspaces", + "routes": [ + { "title": "Overview", "path": "workspaces" }, + { + "title": "workspace", + "routes": [ + { "title": "Overview", "href": "/cli/commands/workspace" }, + { + "title": "workspace list", + "href": "/cli/commands/workspace/list" + }, + { + "title": "workspace select", + "href": "/cli/commands/workspace/select" + }, + { + "title": "workspace new", + "href": "/cli/commands/workspace/new" + }, + { + "title": "workspace delete", + "href": "/cli/commands/workspace/delete" + }, + { + "title": "workspace show", + "href": "/cli/commands/workspace/show" + } + ] + } + ] + }, + { + "title": "Managing Plugins", + "routes": [ + { "title": "Overview", "path": "plugins" }, + { "title": "Plugin Signing", "path": "plugins/signing" }, + { + "title": "providers", + "href": "/cli/commands/providers" + }, + { + "title": "version", + "href": "/cli/commands/version" + }, + { + "title": "providers lock", + "href": "/cli/commands/providers/lock" + }, + { + "title": "providers mirror", + "href": "/cli/commands/providers/mirror" + }, + { + "title": "providers schema", + "href": "/cli/commands/providers/schema" + } + ] + }, + { + "title": "CLI Configuration", + "routes": [ + { "title": "Overview", "path": "config" }, + { "title": "CLI Configuration", "path": "config/config-file" }, + { + "title": "Environment Variables", + "path": "config/environment-variables" + } + ] + }, + { + "title": "Using Terraform Cloud", + "routes": [ + { "title": "Overview", "path": "cloud" }, + { "title": "Terraform Cloud Settings", "path": "cloud/settings" }, + { + "title": "Initializing and Migrating", + "path": "cloud/migrating" + }, + { + "title": "Command Line Arguments", + "path": "cloud/command-line-arguments" + } + ] + }, + { + "title": "Automating Terraform", + "routes": [ + { + "title": "Running Terraform in Automation", + "href": "https://learn.hashicorp.com/tutorials/terraform/automate-terraform?in=terraform/automation&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS" + }, + { + "title": "GitHub Actions", + "href": "https://learn.hashicorp.com/tutorials/terraform/github-actions?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS" + } + ] + }, + { + "title": "Alphabetical List of Commands", + "routes": [ + { "title": "Overview", "href": "/cli/commands" }, + { "title": "apply", "href": "/cli/commands/apply" }, + { "title": "console", "href": "/cli/commands/console" }, + { "title": "destroy", "href": "/cli/commands/destroy" }, + { "title": "env", "href": "/cli/commands/env" }, + { "title": "fmt", "href": "/cli/commands/fmt" }, + { + "title": "force-unlock", + "href": "/cli/commands/force-unlock" + }, + { "title": "get", "href": "/cli/commands/get" }, + { "title": "graph", "href": "/cli/commands/graph" }, + { "title": "import", "href": "/cli/commands/import" }, + { "title": "init", "href": "/cli/commands/init" }, + { "title": "login", "href": "/cli/commands/login" }, + { "title": "logout", "href": "/cli/commands/logout" }, + { "title": "output", "href": "/cli/commands/output" }, + { "title": "plan", "href": "/cli/commands/plan" }, + { "title": "providers", "href": "/cli/commands/providers" }, + { + "title": "providers lock", + "href": "/cli/commands/providers/lock" + }, + { + "title": "providers mirror", + "href": "/cli/commands/providers/mirror" + }, + { + "title": "providers schema", + "href": "/cli/commands/providers/schema" + }, + { + "title": "push (deprecated)", + "href": "/cli/commands/push" + }, + { "title": "refresh", "href": "/cli/commands/refresh" }, + { "title": "show", "href": "/cli/commands/show" }, + { "title": "state", "href": "/cli/commands/state" }, + { + "title": "state list", + "href": "/cli/commands/state/list" + }, + { "title": "state mv", "href": "/cli/commands/state/mv" }, + { + "title": "state pull", + "href": "/cli/commands/state/pull" + }, + { + "title": "state push", + "href": "/cli/commands/state/push" + }, + { + "title": "state replace-provider", + "href": "/cli/commands/state/replace-provider" + }, + { "title": "state rm", "href": "/cli/commands/state/rm" }, + { + "title": "state show", + "href": "/cli/commands/state/show" + }, + { "title": "taint", "href": "/cli/commands/taint" }, + { + "title": "test (deprecated)", + "href": "/cli/commands/test" + }, + { "title": "untaint", "href": "/cli/commands/untaint" }, + { "title": "validate", "href": "/cli/commands/validate" }, + { "title": "version", "href": "/cli/commands/version" }, + { "title": "workspace", "href": "/cli/commands/workspace" }, + { + "title": "workspace list", + "href": "/cli/commands/workspace/list" + }, + { + "title": "workspace select", + "href": "/cli/commands/workspace/select" + }, + { + "title": "workspace new", + "href": "/cli/commands/workspace/new" + }, + { + "title": "workspace delete", + "href": "/cli/commands/workspace/delete" + }, + { + "title": "workspace show", + "href": "/cli/commands/workspace/show" + }, + { + "title": "0.12upgrade", + "href": "/cli/commands/0.12upgrade" + }, + { + "title": "0.13upgrade", + "href": "/cli/commands/0.13upgrade" + } + ] + }, + { + "title": "Alphabetical list of commands", + "hidden": true, + "routes": [ + { "title": "Overview", "path": "commands" }, + { "title": "apply", "path": "commands/apply" }, + { "title": "console", "path": "commands/console" }, + { "title": "destroy", "path": "commands/destroy" }, + { "title": "env", "path": "commands/env" }, + { "title": "fmt", "path": "commands/fmt" }, + { "title": "force-unlock", "path": "commands/force-unlock" }, + { "title": "get", "path": "commands/get" }, + { "title": "graph", "path": "commands/graph" }, + { "title": "import", "path": "commands/import" }, + { "title": "init", "path": "commands/init" }, + { "title": "login", "path": "commands/login" }, + { "title": "logout", "path": "commands/logout" }, + { "title": "output", "path": "commands/output" }, + { "title": "plan", "path": "commands/plan" }, + { + "title": "providers", + "routes": [ + { "title": "providers", "path": "commands/providers" }, + { "title": "providers lock", "path": "commands/providers/lock" }, + { "title": "providers mirror", "path": "commands/providers/mirror" }, + { "title": "providers schema", "path": "commands/providers/schema" } + ] + }, + { "title": "push (deprecated)", "path": "commands/push" }, + { "title": "refresh", "path": "commands/refresh" }, + { "title": "show", "path": "commands/show" }, + { + "title": "state", + "routes": [ + { "title": "state", "path": "commands/state" }, + { "title": "state list", "path": "commands/state/list" }, + { "title": "state mv", "path": "commands/state/mv" }, + { "title": "state pull", "path": "commands/state/pull" }, + { "title": "state push", "path": "commands/state/push" }, + { + "title": "state replace-provider", + "path": "commands/state/replace-provider" + }, + { "title": "state rm", "path": "commands/state/rm" }, + { "title": "state show", "path": "commands/state/show" } + ] + }, + { "title": "taint", "path": "commands/taint" }, + { "title": "test (deprecated)", "path": "commands/test", "hidden": true }, + { "title": "untaint", "path": "commands/untaint" }, + { "title": "validate", "path": "commands/validate" }, + { "title": "version", "path": "commands/version" }, + { + "title": "workspace", + "routes": [ + { + "title": "workspace", + "path": "commands/workspace" + }, + { "title": "workspace list", "path": "commands/workspace/list" }, + { "title": "workspace select", "path": "commands/workspace/select" }, + { "title": "workspace new", "path": "commands/workspace/new" }, + { "title": "workspace delete", "path": "commands/workspace/delete" }, + { "title": "workspace show", "path": "commands/workspace/show" } + ] + }, + { "title": "0.12upgrade", "path": "commands/0.12upgrade" }, + { "title": "0.13upgrade", "path": "commands/0.13upgrade" } + ] + }, + { + "title": "Internals", + "routes": [ + { + "title": "Overview", + "href": "/internals" + }, + { + "title": "Credentials Helpers", + "href": "/internals/credentials-helpers" + }, + { + "title": "Debugging Terraform", + "href": "/internals/debugging" + }, + { + "title": "Module Registry Protocol", + "href": "/internals/module-registry-protocol" + }, + { + "title": "Provider Network Mirror Protocol", + "href": "/internals/provider-network-mirror-protocol" + }, + { + "title": "Provider Registry Protocol", + "href": "/internals/provider-registry-protocol" + }, + { + "title": "Resource Graph", + "href": "/internals/graph" + }, + { + "title": "Resource Lifecycle", + "href": "/internals/lifecycle" + }, + { + "title": "Login Protocol", + "href": "/internals/login-protocol" + }, + { + "title": "JSON Output Format", + "href": "/internals/json-format" + }, + { + "title": "Remote Service Discovery", + "href": "/internals/remote-service-discovery" + }, + { + "title": "Provider Metadata", + "href": "/internals/provider-meta" + } + ] + }, + { + "title": "Installation", + "hidden": true, + "routes": [ + { + "title": "APT Packages for Debian and Ubuntu", + "path": "install/apt" + }, + { + "title": "Yum Packages for Red Hat Enterprise Linux, Fedora, and Amazon Linux", + "path": "install/yum" + } + ] + } +] diff --git a/website/data/configuration-nav-data.json b/website/data/configuration-nav-data.json new file mode 100644 index 000000000..b264d9bab --- /dev/null +++ b/website/data/configuration-nav-data.json @@ -0,0 +1,8 @@ +[ + { + "title": "Expressions Landing Page", + "path": "expressions" + }, + { "title": "Modules Landing Page", "path": "modules" }, + { "title": "Resources Landing Page", "path": "resources" } +] diff --git a/website/data/guides-nav-data.json b/website/data/guides-nav-data.json new file mode 100644 index 000000000..05d1727fb --- /dev/null +++ b/website/data/guides-nav-data.json @@ -0,0 +1,12 @@ +[ + { "title": "The Core Terraform Workflow", "href": "/intro/core-workflow" }, + { + "title": "Terraform Integration Program", + "href": "/docs/partnerships" + }, + { + "title": "Terraform Provider Development Program", + "path": "terraform-provider-development-program", + "hidden": true + } +] diff --git a/website/data/internals-nav-data.json b/website/data/internals-nav-data.json new file mode 100644 index 000000000..f3a38292a --- /dev/null +++ b/website/data/internals-nav-data.json @@ -0,0 +1,56 @@ +[ + { + "title": "Credentials Helpers", + "path": "credentials-helpers" + }, + { + "title": "Debugging Terraform", + "path": "debugging" + }, + { + "title": "Module Registry Protocol", + "path": "module-registry-protocol" + }, + { + "title": "Provider Network Mirror Protocol", + "path": "provider-network-mirror-protocol" + }, + { + "title": "Provider Registry Protocol", + "path": "provider-registry-protocol" + }, + { + "title": "Resource Graph", + "path": "graph" + }, + { + "title": "Resource Lifecycle", + "path": "lifecycle" + }, + { + "title": "Login Protocol", + "path": "login-protocol" + }, + { + "title": "JSON Output Format", + "path": "json-format" + }, + { + "title": "Remote Service Discovery", + "path": "remote-service-discovery" + }, + { + "title": "Provider Metadata", + "path": "provider-meta" + }, + { + "title": "Machine Readable UI", + "path": "machine-readable-ui", + "hidden": true + }, + { + "title": "Archiving", + "path": "archiving", + "hidden": true + } +] diff --git a/website/data/intro-nav-data.json b/website/data/intro-nav-data.json new file mode 100644 index 000000000..5df078cbd --- /dev/null +++ b/website/data/intro-nav-data.json @@ -0,0 +1,23 @@ +[ + { "heading": "Introduction to Terraform" }, + { "title": "What is Terraform?", "path": "" }, + { "title": "Use Cases", "path": "use-cases" }, + { + "title": "Getting Started", + "href": "https://learn.hashicorp.com/collections/terraform/aws-get-started?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS" + }, + { "title": "The Core Terraform Workflow", "path": "core-workflow" }, + { + "title": "Terraform vs. Other", + "routes": [ + { "title": "Overview", "path": "vs" }, + { "title": "Chef, Puppet, etc.", "path": "vs/chef-puppet" }, + { + "title": "CloudFormation, Heat, etc.", + "path": "vs/cloudformation" + }, + { "title": "Boto, Fog, etc.", "path": "vs/boto" }, + { "title": "Custom Solutions", "path": "vs/custom" } + ] + } +] diff --git a/website/data/language-nav-data.json b/website/data/language-nav-data.json new file mode 100644 index 000000000..24100696c --- /dev/null +++ b/website/data/language-nav-data.json @@ -0,0 +1,1220 @@ +[ + { "heading": "Terraform Language" }, + { "title": "Overview", "path": "" }, + { + "title": "Attributes as Blocks - Configuration Language", + "path": "attr-as-blocks", + "hidden": true + }, + { + "title": "Terraform v1.0 Compatibility Promises", + "path": "v1-compatibility-promises", + "hidden": true + }, + { + "title": "Files and Directories", + "routes": [ + { "title": "Overview", "path": "files" }, + { "title": "Override Files", "path": "files/override" }, + { + "title": "Dependency Lock File", + "path": "files/dependency-lock" + } + ] + }, + { + "title": "Syntax", + "routes": [ + { "title": "Overview", "path": "syntax" }, + { + "title": "Configuration Syntax", + "path": "syntax/configuration" + }, + { + "title": "JSON Configuration Syntax", + "path": "syntax/json" + }, + { "title": "Style Conventions", "path": "syntax/style" } + ] + }, + { + "title": "Resources", + "routes": [ + { "title": "Overview", "path": "resources" }, + { "title": "Resource Blocks", "path": "resources/syntax" }, + { + "title": "Resource Behavior", + "path": "resources/behavior" + }, + { + "title": "Meta-Arguments", + "routes": [ + { + "title": "depends_on", + "href": "/language/meta-arguments/depends_on" + }, + { + "title": "count", + "href": "/language/meta-arguments/count" + }, + { + "title": "for_each", + "href": "/language/meta-arguments/for_each" + }, + { + "title": "provider", + "href": "/language/meta-arguments/resource-provider" + }, + { + "title": "lifecycle", + "href": "/language/meta-arguments/lifecycle" + } + ] + }, + { + "title": "Provisioners", + "routes": [ + { + "title": "Overview", + "path": "resources/provisioners" + }, + { + "title": "Declaring Provisioners", + "path": "resources/provisioners/syntax" + }, + { + "title": "Provisioner Connections", + "path": "resources/provisioners/connection" + }, + { + "title": "Provisioners Without a Resource", + "path": "resources/provisioners/null_resource" + }, + { + "title": "file", + "path": "resources/provisioners/file" + }, + { + "title": "local-exec", + "path": "resources/provisioners/local-exec" + }, + { + "title": "remote-exec", + "path": "resources/provisioners/remote-exec" + }, + { "divider": true }, + { + "title": "chef", + "path": "resources/provisioners/chef" + }, + { + "title": "habitat", + "path": "resources/provisioners/habitat" + }, + { + "title": "puppet", + "path": "resources/provisioners/puppet" + }, + { + "title": "salt-masterless", + "path": "resources/provisioners/salt-masterless" + } + ] + } + ] + }, + { "title": "Data Sources", "path": "data-sources" }, + { + "title": "Meta-Arguments", + "hidden": true, + "routes": [ + { + "title": "count", + "path": "meta-arguments/count" + }, + { + "title": "depends_on", + "path": "meta-arguments/depends_on" + }, + { + "title": "for_each", + "path": "meta-arguments/for_each" + }, + { + "title": "lifecycle", + "path": "meta-arguments/lifecycle" + }, + { + "title": "providers", + "path": "meta-arguments/module-providers" + }, + { + "title": "provider", + "path": "meta-arguments/resource-provider" + } + ] + }, + + { + "title": "Providers", + "routes": [ + { "title": "Overview", "path": "providers" }, + { + "title": "Provider Configuration", + "path": "providers/configuration" + }, + { + "title": "Provider Requirements", + "path": "providers/requirements" + }, + { + "title": "Dependency Lock File", + "href": "/language/files/dependency-lock" + } + ] + }, + { + "title": "Variables and Outputs", + "routes": [ + { "title": "Overview", "path": "values" }, + { "title": "Input Variables", "path": "values/variables" }, + { "title": "Output Values", "path": "values/outputs" }, + { "title": "Local Values", "path": "values/locals" } + ] + }, + { + "title": "Modules", + "routes": [ + { "title": "Overview", "path": "modules" }, + + { "title": "Module Blocks", "path": "modules/syntax" }, + { "title": "Module Sources", "path": "modules/sources" }, + { + "title": "Meta-Arguments", + "routes": [ + { + "title": "providers", + "href": "/language/meta-arguments/module-providers" + }, + { + "title": "depends_on", + "href": "/language/meta-arguments/depends_on" + }, + { + "title": "count", + "href": "/language/meta-arguments/count" + }, + { + "title": "for_each", + "href": "/language/meta-arguments/for_each" + } + ] + }, + { + "title": "Module Development", + "routes": [ + { "title": "Overview", "path": "modules/develop" }, + { + "title": "Standard Module Structure", + "path": "modules/develop/structure" + }, + { + "title": "Providers Within Modules", + "path": "modules/develop/providers" + }, + { + "title": "Best Practices: Module Composition", + "path": "modules/develop/composition" + }, + { + "title": "Publishing Modules", + "path": "modules/develop/publish" + }, + { + "title": "Refactoring Modules", + "path": "modules/develop/refactoring" + } + ] + }, + { + "title": "Module Testing Experiment", + "path": "modules/testing-experiment", + "hidden": true + } + ] + }, + { + "title": "Expressions", + "routes": [ + { "title": "Overview", "path": "expressions" }, + { "title": "Types and Values", "path": "expressions/types" }, + { + "title": "Strings and Templates", + "path": "expressions/strings" + }, + { + "title": "References to Values", + "path": "expressions/references" + }, + { "title": "Operators", "path": "expressions/operators" }, + { + "title": "Function Calls", + "path": "expressions/function-calls" + }, + { + "title": "Conditional Expressions", + "path": "expressions/conditionals" + }, + { "title": "For Expressions", "path": "expressions/for" }, + { + "title": "Splat Expressions", + "path": "expressions/splat" + }, + + { + "title": "Dynamic Blocks", + "path": "expressions/dynamic-blocks" + }, + { + "title": "Type Constraints", + "path": "expressions/type-constraints" + }, + { + "title": "Version Constraints", + "path": "expressions/version-constraints" + } + ] + }, + { + "title": "Functions", + "routes": [ + { "title": "Overview", "path": "functions" }, + { + "title": "Numeric Functions", + "routes": [ + { "title": "abs", "href": "/language/functions/abs" }, + { "title": "ceil", "href": "/language/functions/ceil" }, + { + "title": "floor", + "href": "/language/functions/floor" + }, + { "title": "log", "href": "/language/functions/log" }, + { "title": "max", "href": "/language/functions/max" }, + { "title": "min", "href": "/language/functions/min" }, + { + "title": "parseint", + "href": "/language/functions/parseint" + }, + { "title": "pow", "href": "/language/functions/pow" }, + { + "title": "signum", + "href": "/language/functions/signum" + } + ] + }, + { + "title": "String Functions", + "routes": [ + { + "title": "chomp", + "href": "/language/functions/chomp" + }, + { + "title": "format", + "href": "/language/functions/format" + }, + { + "title": "formatlist", + "href": "/language/functions/formatlist" + }, + { + "title": "indent", + "href": "/language/functions/indent" + }, + { "title": "join", "href": "/language/functions/join" }, + { + "title": "lower", + "href": "/language/functions/lower" + }, + { + "title": "regex", + "href": "/language/functions/regex" + }, + { + "title": "regexall", + "href": "/language/functions/regexall" + }, + { + "title": "replace", + "href": "/language/functions/replace" + }, + { + "title": "split", + "href": "/language/functions/split" + }, + { + "title": "strrev", + "href": "/language/functions/strrev" + }, + { + "title": "substr", + "href": "/language/functions/substr" + }, + { + "title": "title", + "href": "/language/functions/title" + }, + { "title": "trim", "href": "/language/functions/trim" }, + { + "title": "trimprefix", + "href": "/language/functions/trimprefix" + }, + { + "title": "trimsuffix", + "href": "/language/functions/trimsuffix" + }, + { + "title": "trimspace", + "href": "/language/functions/trimspace" + }, + { "title": "upper", "href": "/language/functions/upper" } + ] + }, + { + "title": "Collection Functions", + "routes": [ + { + "title": "alltrue", + "href": "/language/functions/alltrue" + }, + { + "title": "anytrue", + "href": "/language/functions/anytrue" + }, + { + "title": "chunklist", + "href": "/language/functions/chunklist" + }, + { + "title": "coalesce", + "href": "/language/functions/coalesce" + }, + { + "title": "coalescelist", + "href": "/language/functions/coalescelist" + }, + { + "title": "compact", + "href": "/language/functions/compact" + }, + { + "title": "concat", + "href": "/language/functions/concat" + }, + { + "title": "contains", + "href": "/language/functions/contains" + }, + { + "title": "distinct", + "href": "/language/functions/distinct" + }, + { + "title": "element", + "href": "/language/functions/element" + }, + { + "title": "flatten", + "href": "/language/functions/flatten" + }, + { + "title": "index", + "href": "/language/functions/index_function" + }, + { "title": "keys", "href": "/language/functions/keys" }, + { + "title": "length", + "href": "/language/functions/length" + }, + { "title": "list", "href": "/language/functions/list" }, + { + "title": "lookup", + "href": "/language/functions/lookup" + }, + { "title": "map", "href": "/language/functions/map" }, + { + "title": "matchkeys", + "href": "/language/functions/matchkeys" + }, + { + "title": "merge", + "href": "/language/functions/merge" + }, + { "title": "one", "href": "/language/functions/one" }, + { + "title": "range", + "href": "/language/functions/range" + }, + { + "title": "reverse", + "href": "/language/functions/reverse" + }, + { + "title": "setintersection", + "href": "/language/functions/setintersection" + }, + { + "title": "setproduct", + "href": "/language/functions/setproduct" + }, + { + "title": "setsubtract", + "href": "/language/functions/setsubtract" + }, + { + "title": "setunion", + "href": "/language/functions/setunion" + }, + { + "title": "slice", + "href": "/language/functions/slice" + }, + { "title": "sort", "href": "/language/functions/sort" }, + { "title": "sum", "href": "/language/functions/sum" }, + { + "title": "transpose", + "href": "/language/functions/transpose" + }, + { + "title": "values", + "href": "/language/functions/values" + }, + { + "title": "zipmap", + "href": "/language/functions/zipmap" + } + ] + }, + { + "title": "Encoding Functions", + "routes": [ + { + "title": "base64decode", + "href": "/language/functions/base64decode" + }, + { + "title": "base64encode", + "href": "/language/functions/base64encode" + }, + { + "title": "base64gzip", + "href": "/language/functions/base64gzip" + }, + { + "title": "csvdecode", + "href": "/language/functions/csvdecode" + }, + { + "title": "jsondecode", + "href": "/language/functions/jsondecode" + }, + { + "title": "jsonencode", + "href": "/language/functions/jsonencode" + }, + { + "title": "textdecodebase64", + "href": "/language/functions/textdecodebase64" + }, + { + "title": "textencodebase64", + "href": "/language/functions/textencodebase64" + }, + { + "title": "urlencode", + "href": "/language/functions/urlencode" + }, + { + "title": "yamldecode", + "href": "/language/functions/yamldecode" + }, + { + "title": "yamlencode", + "href": "/language/functions/yamlencode" + } + ] + }, + { + "title": "Filesystem Functions", + "routes": [ + { + "title": "abspath", + "href": "/language/functions/abspath" + }, + { + "title": "dirname", + "href": "/language/functions/dirname" + }, + { + "title": "pathexpand", + "href": "/language/functions/pathexpand" + }, + { + "title": "basename", + "href": "/language/functions/basename" + }, + { "title": "file", "href": "/language/functions/file" }, + { + "title": "fileexists", + "href": "/language/functions/fileexists" + }, + { + "title": "fileset", + "href": "/language/functions/fileset" + }, + { + "title": "filebase64", + "href": "/language/functions/filebase64" + }, + { + "title": "templatefile", + "href": "/language/functions/templatefile" + } + ] + }, + { + "title": "Date and Time Functions", + "routes": [ + { + "title": "formatdate", + "href": "/language/functions/formatdate" + }, + { + "title": "timeadd", + "href": "/language/functions/timeadd" + }, + { + "title": "timestamp", + "href": "/language/functions/timestamp" + } + ] + }, + { + "title": "Hash and Crypto Functions", + "routes": [ + { + "title": "base64sha256", + "href": "/language/functions/base64sha256" + }, + { + "title": "base64sha512", + "href": "/language/functions/base64sha512" + }, + { + "title": "bcrypt", + "href": "/language/functions/bcrypt" + }, + { + "title": "filebase64sha256", + "href": "/language/functions/filebase64sha256" + }, + { + "title": "filebase64sha512", + "href": "/language/functions/filebase64sha512" + }, + { + "title": "filemd5", + "href": "/language/functions/filemd5" + }, + { + "title": "filesha1", + "href": "/language/functions/filesha1" + }, + { + "title": "filesha256", + "href": "/language/functions/filesha256" + }, + { + "title": "filesha512", + "href": "/language/functions/filesha512" + }, + { "title": "md5", "href": "/language/functions/md5" }, + { + "title": "rsadecrypt", + "href": "/language/functions/rsadecrypt" + }, + { "title": "sha1", "href": "/language/functions/sha1" }, + { + "title": "sha256", + "href": "/language/functions/sha256" + }, + { + "title": "sha512", + "href": "/language/functions/sha512" + }, + { "title": "uuid", "href": "/language/functions/uuid" }, + { + "title": "uuidv5", + "href": "/language/functions/uuidv5" + } + ] + }, + { + "title": "IP Network Functions", + "routes": [ + { + "title": "cidrhost", + "href": "/language/functions/cidrhost" + }, + { + "title": "cidrnetmask", + "href": "/language/functions/cidrnetmask" + }, + { + "title": "cidrsubnet", + "href": "/language/functions/cidrsubnet" + }, + { + "title": "cidrsubnets", + "href": "/language/functions/cidrsubnets" + } + ] + }, + { + "title": "Type Conversion Functions", + "routes": [ + { "title": "can", "href": "/language/functions/can" }, + { + "title": "defaults", + "href": "/language/functions/defaults" + }, + { + "title": "nonsensitive", + "href": "/language/functions/nonsensitive" + }, + { + "title": "sensitive", + "href": "/language/functions/sensitive" + }, + { + "title": "tobool", + "href": "/language/functions/tobool" + }, + { + "title": "tolist", + "href": "/language/functions/tolist" + }, + { + "title": "tomap", + "href": "/language/functions/tomap" + }, + { + "title": "tonumber", + "href": "/language/functions/tonumber" + }, + { + "title": "toset", + "href": "/language/functions/toset" + }, + { + "title": "tostring", + "href": "/language/functions/tostring" + }, + { "title": "try", "href": "/language/functions/try" }, + { "title": "type", "href": "/language/functions/type" } + ] + }, + { "title": "abs", "path": "functions/abs", "hidden": true }, + { "title": "abspath", "path": "functions/abspath", "hidden": true }, + { "title": "alltrue", "path": "functions/alltrue", "hidden": true }, + { "title": "anytrue", "path": "functions/anytrue", "hidden": true }, + { + "title": "base64decode", + "path": "functions/base64decode", + "hidden": true + }, + { + "title": "base64encode", + "path": "functions/base64encode", + "hidden": true + }, + { "title": "base64gzip", "path": "functions/base64gzip", "hidden": true }, + { + "title": "base64sha256", + "path": "functions/base64sha256", + "hidden": true + }, + { + "title": "base64sha512", + "path": "functions/base64sha512", + "hidden": true + }, + { "title": "basename", "path": "functions/basename", "hidden": true }, + { "title": "bcrypt", "path": "functions/bcrypt", "hidden": true }, + { "title": "can", "path": "functions/can", "hidden": true }, + { "title": "ceil", "path": "functions/ceil", "hidden": true }, + { "title": "chomp", "path": "functions/chomp", "hidden": true }, + { "title": "chunklist", "path": "functions/chunklist", "hidden": true }, + { "title": "cidrhost", "path": "functions/cidrhost", "hidden": true }, + { + "title": "cidrnetmask", + "path": "functions/cidrnetmask", + "hidden": true + }, + { "title": "cidrsubnet", "path": "functions/cidrsubnet", "hidden": true }, + { + "title": "cidrsubnets", + "path": "functions/cidrsubnets", + "hidden": true + }, + { "title": "coalesce", "path": "functions/coalesce", "hidden": true }, + { + "title": "coalescelist", + "path": "functions/coalescelist", + "hidden": true + }, + { "title": "compact", "path": "functions/compact", "hidden": true }, + { "title": "concat", "path": "functions/concat", "hidden": true }, + { "title": "contains", "path": "functions/contains", "hidden": true }, + { "title": "csvdecode", "path": "functions/csvdecode", "hidden": true }, + { "title": "defaults", "path": "functions/defaults", "hidden": true }, + { "title": "dirname", "path": "functions/dirname", "hidden": true }, + { "title": "distinct", "path": "functions/distinct", "hidden": true }, + { "title": "element", "path": "functions/element", "hidden": true }, + { "title": "file", "path": "functions/file", "hidden": true }, + { "title": "filebase64", "path": "functions/filebase64", "hidden": true }, + { + "title": "filebase64sha256", + "path": "functions/filebase64sha256", + "hidden": true + }, + { + "title": "filebase64sha512", + "path": "functions/filebase64sha512", + "hidden": true + }, + { "title": "fileexists", "path": "functions/fileexists", "hidden": true }, + { "title": "filemd5", "path": "functions/filemd5", "hidden": true }, + { "title": "fileset", "path": "functions/fileset", "hidden": true }, + { "title": "filesha1", "path": "functions/filesha1", "hidden": true }, + { "title": "filesha256", "path": "functions/filesha256", "hidden": true }, + { "title": "filesha512", "path": "functions/filesha512", "hidden": true }, + { "title": "flatten", "path": "functions/flatten", "hidden": true }, + { "title": "floor", "path": "functions/floor", "hidden": true }, + { "title": "format", "path": "functions/format", "hidden": true }, + { "title": "formatdate", "path": "functions/formatdate", "hidden": true }, + { "title": "formatlist", "path": "functions/formatlist", "hidden": true }, + { "title": "indent", "path": "functions/indent", "hidden": true }, + { "title": "index", "path": "functions/index_function", "hidden": true }, + { "title": "join", "path": "functions/join", "hidden": true }, + { "title": "jsondecode", "path": "functions/jsondecode", "hidden": true }, + { "title": "jsonencode", "path": "functions/jsonencode", "hidden": true }, + { "title": "keys", "path": "functions/keys", "hidden": true }, + { "title": "length", "path": "functions/length", "hidden": true }, + { "title": "list", "path": "functions/list", "hidden": true }, + { "title": "log", "path": "functions/log", "hidden": true }, + { "title": "lookup", "path": "functions/lookup", "hidden": true }, + { "title": "lower", "path": "functions/lower", "hidden": true }, + { "title": "map", "path": "functions/map", "hidden": true }, + { "title": "matchkeys", "path": "functions/matchkeys", "hidden": true }, + { "title": "max", "path": "functions/max", "hidden": true }, + { "title": "md5", "path": "functions/md5", "hidden": true }, + { "title": "merge", "path": "functions/merge", "hidden": true }, + { "title": "min", "path": "functions/min", "hidden": true }, + { + "title": "nonsensitive", + "path": "functions/nonsensitive", + "hidden": true + }, + { "title": "one", "path": "functions/one", "hidden": true }, + { "title": "parseint", "path": "functions/parseint", "hidden": true }, + { "title": "pathexpand", "path": "functions/pathexpand", "hidden": true }, + { "title": "pow", "path": "functions/pow", "hidden": true }, + { "title": "range", "path": "functions/range", "hidden": true }, + { "title": "regex", "path": "functions/regex", "hidden": true }, + { "title": "regexall", "path": "functions/regexall", "hidden": true }, + { "title": "replace", "path": "functions/replace", "hidden": true }, + { "title": "reverse", "path": "functions/reverse", "hidden": true }, + { "title": "rsadecrypt", "path": "functions/rsadecrypt", "hidden": true }, + { "title": "sensitive", "path": "functions/sensitive", "hidden": true }, + { + "title": "setintersection", + "path": "functions/setintersection", + "hidden": true + }, + { "title": "setproduct", "path": "functions/setproduct", "hidden": true }, + { + "title": "setsubtract", + "path": "functions/setsubtract", + "hidden": true + }, + { "title": "setunion", "path": "functions/setunion", "hidden": true }, + { "title": "sha1", "path": "functions/sha1", "hidden": true }, + { "title": "sha256", "path": "functions/sha256", "hidden": true }, + { "title": "sha512", "path": "functions/sha512", "hidden": true }, + { "title": "signum", "path": "functions/signum", "hidden": true }, + { "title": "slice", "path": "functions/slice", "hidden": true }, + { "title": "sort", "path": "functions/sort", "hidden": true }, + { "title": "split", "path": "functions/split", "hidden": true }, + { "title": "strrev", "path": "functions/strrev", "hidden": true }, + { "title": "substr", "path": "functions/substr", "hidden": true }, + { "title": "sum", "path": "functions/sum", "hidden": true }, + { + "title": "templatefile", + "path": "functions/templatefile", + "hidden": true + }, + { + "title": "textdecodebase64", + "path": "functions/textdecodebase64", + "hidden": true + }, + { + "title": "textencodebase64", + "path": "functions/textencodebase64", + "hidden": true + }, + { "title": "timeadd", "path": "functions/timeadd", "hidden": true }, + { "title": "timestamp", "path": "functions/timestamp", "hidden": true }, + { "title": "title", "path": "functions/title", "hidden": true }, + { "title": "tobool", "path": "functions/tobool", "hidden": true }, + { "title": "tolist", "path": "functions/tolist", "hidden": true }, + { "title": "tomap", "path": "functions/tomap", "hidden": true }, + { "title": "tonumber", "path": "functions/tonumber", "hidden": true }, + { "title": "toset", "path": "functions/toset", "hidden": true }, + { "title": "tostring", "path": "functions/tostring", "hidden": true }, + { "title": "transpose", "path": "functions/transpose", "hidden": true }, + { "title": "trim", "path": "functions/trim", "hidden": true }, + { "title": "trimprefix", "path": "functions/trimprefix", "hidden": true }, + { "title": "trimspace", "path": "functions/trimspace", "hidden": true }, + { "title": "trimsuffix", "path": "functions/trimsuffix", "hidden": true }, + { "title": "try", "path": "functions/try", "hidden": true }, + { "title": "type", "path": "functions/type", "hidden": true }, + { "title": "upper", "path": "functions/upper", "hidden": true }, + { "title": "urlencode", "path": "functions/urlencode", "hidden": true }, + { "title": "uuid", "path": "functions/uuid", "hidden": true }, + { "title": "uuidv5", "path": "functions/uuidv5", "hidden": true }, + { "title": "values", "path": "functions/values", "hidden": true }, + { "title": "yamldecode", "path": "functions/yamldecode", "hidden": true }, + { "title": "yamlencode", "path": "functions/yamlencode", "hidden": true }, + { "title": "zipmap", "path": "functions/zipmap", "hidden": true } + ] + }, + { + "title": "Terraform Settings", + "routes": [ + { "title": "Overview", "path": "settings" }, + { "title": "Terraform Cloud", "path": "settings/terraform-cloud" }, + { + "title": "Backends", + "routes": [ + { "title": "Overview", "path": "settings/backends" }, + { + "title": "Backend Configuration", + "path": "settings/backends/configuration" + }, + { + "title": "Available Backends", + "routes": [ + { + "title": "local", + "href": "/language/settings/backends/local" + }, + { + "title": "remote", + "href": "/language/settings/backends/remote" + }, + { + "title": "artifactory", + "href": "/language/settings/backends/artifactory" + }, + { + "title": "azurerm", + "href": "/language/settings/backends/azurerm" + }, + { + "title": "consul", + "href": "/language/settings/backends/consul" + }, + { + "title": "cos", + "href": "/language/settings/backends/cos" + }, + { + "title": "etcd", + "href": "/language/settings/backends/etcd" + }, + { + "title": "etcdv3", + "href": "/language/settings/backends/etcdv3" + }, + { + "title": "gcs", + "href": "/language/settings/backends/gcs" + }, + { + "title": "http", + "href": "/language/settings/backends/http" + }, + { + "title": "Kubernetes", + "href": "/language/settings/backends/kubernetes" + }, + { + "title": "manta", + "href": "/language/settings/backends/manta" + }, + { + "title": "oss", + "href": "/language/settings/backends/oss" + }, + { + "title": "pg", + "href": "/language/settings/backends/pg" + }, + { + "title": "s3", + "href": "/language/settings/backends/s3" + }, + { + "title": "swift", + "href": "/language/settings/backends/swift" + } + ] + }, + { + "title": "local", + "hidden": true, + "path": "settings/backends/local" + }, + { + "title": "remote", + "hidden": true, + "path": "settings/backends/remote" + }, + { + "title": "artifactory", + "hidden": true, + "path": "settings/backends/artifactory" + }, + { + "title": "azurerm", + "hidden": true, + "path": "settings/backends/azurerm" + }, + { + "title": "consul", + "hidden": true, + "path": "settings/backends/consul" + }, + { + "title": "cos", + "hidden": true, + "path": "settings/backends/cos" + }, + { + "title": "etcd", + "hidden": true, + "path": "settings/backends/etcd" + }, + { + "title": "etcdv3", + "hidden": true, + "path": "settings/backends/etcdv3" + }, + { + "title": "gcs", + "hidden": true, + "path": "settings/backends/gcs" + }, + { + "title": "http", + "hidden": true, + "path": "settings/backends/http" + }, + { + "title": "Kubernetes", + "hidden": true, + "path": "settings/backends/kubernetes" + }, + { + "title": "manta", + "hidden": true, + "path": "settings/backends/manta" + }, + { + "title": "oss", + "hidden": true, + "path": "settings/backends/oss" + }, + { + "title": "pg", + "hidden": true, + "path": "settings/backends/pg" + }, + { + "title": "s3", + "hidden": true, + "path": "settings/backends/s3" + }, + { + "title": "swift", + "hidden": true, + "path": "settings/backends/swift" + } + ] + } + ] + }, + { + "title": "State", + "routes": [ + { "title": "Overview", "path": "state" }, + { "title": "Purpose", "path": "state/purpose" }, + { + "title": "The terraform_remote_state Data Source", + "path": "state/remote-state-data" + }, + { + "title": "Backends: State Storage and Locking", + "path": "state/backends" + }, + { + "title": "Import Existing Resources", + "path": "state/import" + }, + { "title": "Locking", "path": "state/locking" }, + { "title": "Workspaces", "path": "state/workspaces" }, + { "title": "Remote State", "path": "state/remote" }, + { + "title": "Sensitive Data", + "path": "state/sensitive-data" + } + ] + }, + { + "title": "Upgrade Guides", + "routes": [ + { "title": "Overview", "path": "upgrade-guides" }, + { + "title": "Upgrading to Terraform v1.1", + "path": "upgrade-guides/1-1" + }, + { + "title": "Upgrading to Terraform v1.0", + "path": "upgrade-guides/1-0" + }, + { + "title": "v1.0 Compatibility Promises", + "href": "/language/v1-compatibility-promises" + }, + { + "title": "Upgrading to Terraform v0.15", + "path": "upgrade-guides/0-15" + }, + { + "title": "Upgrading to Terraform v0.14", + "path": "upgrade-guides/0-14" + }, + { + "title": "Upgrading to Terraform v0.13", + "path": "upgrade-guides/0-13" + }, + { + "title": "Upgrading to Terraform v0.12", + "path": "upgrade-guides/0-12" + }, + { + "title": "Upgrading to Terraform v0.11", + "path": "upgrade-guides/0-11" + }, + { + "title": "Upgrading to Terraform v0.10", + "path": "upgrade-guides/0-10" + }, + { + "title": "Upgrading to Terraform v0.9", + "path": "upgrade-guides/0-9" + }, + { + "title": "Upgrading to Terraform v0.8", + "path": "upgrade-guides/0-8" + }, + { + "title": "Upgrading to Terraform v0.7", + "path": "upgrade-guides/0-7" + } + ] + }, + { + "title": "Historical docs: 0.11 and Older", + "routes": [ + { "title": "Overview", "path": "configuration-0-11" }, + { + "title": "Load Order and Semantics", + "path": "configuration-0-11/load" + }, + { + "title": "Configuration Syntax", + "path": "configuration-0-11/syntax" + }, + { + "title": "Interpolation Syntax", + "path": "configuration-0-11/interpolation" + }, + { + "title": "Overrides", + "path": "configuration-0-11/override" + }, + { + "title": "Resources", + "path": "configuration-0-11/resources" + }, + { + "title": "Data Sources", + "path": "configuration-0-11/data-sources" + }, + { + "title": "Providers", + "href": "/language/providers" + }, + { + "title": "Variables", + "path": "configuration-0-11/variables" + }, + { + "title": "Outputs", + "path": "configuration-0-11/outputs" + }, + { + "title": "Local Values", + "path": "configuration-0-11/locals" + }, + { + "title": "Modules", + "path": "configuration-0-11/modules" + }, + { + "title": "Terraform", + "path": "configuration-0-11/terraform" + }, + { + "title": "Provisioners", + "href": "/language/resources/provisioners" + }, + { + "title": "Providers", + "path": "configuration-0-11/providers", + "hidden": true + }, + { + "title": "Terraform Push (deprecated)", + "path": "configuration-0-11/terraform-enterprise" + }, + { + "title": "Environment Variables", + "path": "configuration-0-11/environment-variables" + } + ] + } +]