Skip to content

Commit

Permalink
adding some ressources in config and changing name of ressources in wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
nolan committed Jul 26, 2024
1 parent 12aec69 commit 21dde1a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
43 changes: 41 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ resources:
aws_rds_cluster:
header: Aurora clusters
attributes:
- cluster_identifier
- endpoint
- reader_endpoint
- id
- engine
aws_sqs_queue:
header: SQS Queues
attributes:
Expand All @@ -40,14 +41,15 @@ resources:
header: ECR repository
attributes:
- repository_url
- mutable_url
- image_tag_mutability
aws_sns_topic:
header: SNS topic
attributes:
- name
aws_cloudfront_distribution:
header: Cloudfront
attributes:
- name
- id
kubernetes_secret:
header: Secrets
Expand All @@ -57,3 +59,40 @@ resources:
header: Config map
attributes:
- id
mongodbatlas_cluster:
header: MongoDB Atlas cluster
attributes:
- name
- mongo_uri_with_options
aws_dynamodb_table:
header: DynamoDB table
attributes:
- id
- arn
aws_wafv2_web_acl:
header: WAF
attributes:
- name
- arn
aws_msk_cluster:
header: MSK cluster
attributes:
- cluster_name
- arn
- bootstrap_brokers_tls
aws_cloudwatch_log_group:
header: Cloudwatch log group
attributes:
- name
- arn
aws_lambda_function:
header: Lambda function
attributes:
- function_name
- arn
aws_elasticsearch_domain:
header: Elasticsearch domain
attributes:
- domain_name
- endpoint
- kibana_endpoint
3 changes: 1 addition & 2 deletions gen-wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ def process_directory(directory, config):
markdown_content += table

if markdown_content:
module_name = os.path.basename(directory)
markdown_content = f"## {module_name.capitalize()}\n\n" + markdown_content
markdown_content = f"## {directory.capitalize()}\n\n" + markdown_content

return markdown_content

Expand Down

0 comments on commit 21dde1a

Please sign in to comment.