diff --git a/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/enroll-resources.mdx b/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/enroll-resources.mdx index bb6cbc04daf75..f9ba0a9859851 100644 --- a/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/enroll-resources.mdx +++ b/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/enroll-resources.mdx @@ -1,7 +1,7 @@ --- title: "Part 1: Enroll Infrastructure with Terraform" h1: "Terraform Starter: Enroll Infrastructure" -description: Explains you how to deploy a pool of Teleport Agents so you can apply dynamic resources to enroll your infrastructure with Teleport. +description: Explains how to deploy a pool of Teleport Agents so you can apply dynamic resources to enroll your infrastructure with Teleport. --- *This guide is Part One of the Teleport Terraform starter guide. Read the diff --git a/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/rbac.mdx b/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/rbac.mdx index 2ee1c21704be1..867d2748f03b2 100644 --- a/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/rbac.mdx +++ b/docs/pages/admin-guides/infrastructure-as-code/terraform-starter/rbac.mdx @@ -141,14 +141,14 @@ production. } module "prod_role" { - source = "./env_role" + source = "./env_role" env_label = "prod" principals = {} request_roles = [] } module "dev_role" { - source = "./env_role" + source = "./env_role" env_label = "dev" principals = {} request_roles = [module.prod_role.role_name] @@ -239,7 +239,7 @@ and `system:masters` Kubernetes group: ```hcl module "dev_role" { principals = { - logins = ["dev"] + logins = ["dev"] kubernetes_groups = ["developers"] } // ... @@ -247,7 +247,7 @@ module "dev_role" { module "prod_role" { principals = { - logins = ["root"] + logins = ["root"] kubernetes_groups = ["system:masters"] } // ... @@ -272,7 +272,7 @@ do so, you can: - Create a new `teleport_user` resource that includes the roles ([documentation](../managing-resources/user-and-role.mdx). -If you plan to skip this stip, make sure to remove the `module "saml"` or +If you plan to skip this step, make sure to remove the `module "saml"` or `module "oidc"` block from your Terraform configuration. @@ -385,14 +385,14 @@ If you plan to skip this stip, make sure to remove the `module "saml"` or ```hcl saml_attributes_to_roles = [ { - name = "group" + name = "group" value = "developers" roles = [ module.dev_role.role_name ] }, { - name = "group" + name = "group" value = "admins" roles = module.dev_role.reviewer_role_names }