Skip to content

Commit

Permalink
Respond to bernardjkim feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgott committed Sep 4, 2024
1 parent c7c7f48 commit a6888b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -239,15 +239,15 @@ and `system:masters` Kubernetes group:
```hcl
module "dev_role" {
principals = {
logins = ["dev"]
logins = ["dev"]
kubernetes_groups = ["developers"]
}
// ...
}
module "prod_role" {
principals = {
logins = ["root"]
logins = ["root"]
kubernetes_groups = ["system:masters"]
}
// ...
Expand All @@ -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.

</Admonition>
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit a6888b2

Please sign in to comment.