Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If an include starts with another include, the nested include will not render #44

Open
greedy52 opened this issue May 6, 2024 · 0 comments

Comments

@greedy52
Copy link

greedy52 commented May 6, 2024

Steps to repro:
Screenshot 2024-05-06 at 10 20 21 AM

docs/pages/database-access/reference/aws.mdx page sources:

(!docs/pages/includes/database-access/reference/rds-action-notes-on-modify.mdx!)  

And this include has the following content:

(!docs/pages/includes/database-access/reference/rds-action-notes.mdx!)                                                                                                                                                                          
                                                                                                                                                                                                                    
Teleport uses `rds:ModifyDBInstance` and `rds:ModifyDBCluster` to automatically                                                                                                                                                  
enable [IAM                                                                                                                                                                                                    
authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html)                                                                                                        
on the RDS instance and the Aurora cluster, respectively. You can omit these                                                                                                                           
permissions if IAM authentication is already enabled. 

Workaround 1:
Remove the nested include and let the main page include both.

Workaround 2:
Add {{}} at the beginning for the include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant