Skip to content

Commit

Permalink
Add uses suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlarkworthy committed Jun 11, 2020
1 parent 9187401 commit bbf05e8
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 71 deletions.
140 changes: 70 additions & 70 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,122 +10,122 @@ Lots of Terraform recipes for doing things, aimed for copy and pasting into proj

- [aws](aws)
- [aws/aws_domain_redirect](aws/aws_domain_redirect)
- [aws/aws_domain_redirect/main.tf](aws/aws_domain_redirect/main.tf)
- [aws/aws_domain_redirect/variables.tf](aws/aws_domain_redirect/variables.tf)
- [aws/aws_domain_redirect/main.tf](aws/aws_domain_redirect/main.tf) uses:
- [aws/aws_domain_redirect/variables.tf](aws/aws_domain_redirect/variables.tf) uses:
- [aws/aws_ec2_ebs_docker_host](aws/aws_ec2_ebs_docker_host)
- [aws/aws_ec2_ebs_docker_host/data.tf](aws/aws_ec2_ebs_docker_host/data.tf)
- [aws/aws_ec2_ebs_docker_host/main.tf](aws/aws_ec2_ebs_docker_host/main.tf)
- [aws/aws_ec2_ebs_docker_host/data.tf](aws/aws_ec2_ebs_docker_host/data.tf) uses:
- [aws/aws_ec2_ebs_docker_host/main.tf](aws/aws_ec2_ebs_docker_host/main.tf) uses:
- resource aws_instance
- resource aws_volume_attachment
- resource null_resource
- [aws/aws_ec2_ebs_docker_host/outputs.tf](aws/aws_ec2_ebs_docker_host/outputs.tf)
- [aws/aws_ec2_ebs_docker_host/security.tf](aws/aws_ec2_ebs_docker_host/security.tf)
- [aws/aws_ec2_ebs_docker_host/outputs.tf](aws/aws_ec2_ebs_docker_host/outputs.tf) uses:
- [aws/aws_ec2_ebs_docker_host/security.tf](aws/aws_ec2_ebs_docker_host/security.tf) uses:
- resource aws_key_pair
- resource aws_security_group
- resource aws_security_group_rule
- [aws/aws_ec2_ebs_docker_host/variables.tf](aws/aws_ec2_ebs_docker_host/variables.tf)
- [aws/aws_ec2_ebs_docker_host/variables.tf](aws/aws_ec2_ebs_docker_host/variables.tf) uses:
- [aws/aws_lambda_api](aws/aws_lambda_api)
- [aws/aws_lambda_api/api_gateway_config.tf](aws/aws_lambda_api/api_gateway_config.tf)
- [aws/aws_lambda_api/api_gateway_config.tf](aws/aws_lambda_api/api_gateway_config.tf) uses:
- resource aws_api_gateway_base_path_mapping
- resource aws_api_gateway_deployment
- resource aws_api_gateway_domain_name
- resource aws_api_gateway_method_settings
- resource aws_api_gateway_rest_api
- resource aws_api_gateway_stage
- [aws/aws_lambda_api/api_gateway_resources.tf](aws/aws_lambda_api/api_gateway_resources.tf)
- [aws/aws_lambda_api/api_gateway_resources.tf](aws/aws_lambda_api/api_gateway_resources.tf) uses:
- resource aws_api_gateway_integration
- resource aws_api_gateway_integration_response
- resource aws_api_gateway_method
- resource aws_api_gateway_method_response
- resource aws_api_gateway_resource
- [aws/aws_lambda_api/certificate.tf](aws/aws_lambda_api/certificate.tf)
- [aws/aws_lambda_api/certificate.tf](aws/aws_lambda_api/certificate.tf) uses:
- resource aws_acm_certificate
- resource aws_acm_certificate_validation
- resource aws_route53_record
- [aws/aws_lambda_api/data.tf](aws/aws_lambda_api/data.tf)
- [aws/aws_lambda_api/main.tf](aws/aws_lambda_api/main.tf)
- [aws/aws_lambda_api/data.tf](aws/aws_lambda_api/data.tf) uses:
- [aws/aws_lambda_api/main.tf](aws/aws_lambda_api/main.tf) uses:
- resource aws_lambda_function
- [aws/aws_lambda_api/outputs.tf](aws/aws_lambda_api/outputs.tf)
- [aws/aws_lambda_api/permissions.tf](aws/aws_lambda_api/permissions.tf)
- [aws/aws_lambda_api/outputs.tf](aws/aws_lambda_api/outputs.tf) uses:
- [aws/aws_lambda_api/permissions.tf](aws/aws_lambda_api/permissions.tf) uses:
- resource aws_iam_policy
- resource aws_iam_role
- resource aws_iam_role_policy_attachment
- resource aws_lambda_permission
- [aws/aws_lambda_api/route53.tf](aws/aws_lambda_api/route53.tf)
- [aws/aws_lambda_api/route53.tf](aws/aws_lambda_api/route53.tf) uses:
- resource aws_route53_record
- [aws/aws_lambda_api/variables.tf](aws/aws_lambda_api/variables.tf)
- [aws/aws_lambda_api/variables.tf](aws/aws_lambda_api/variables.tf) uses:
- [aws/aws_lambda_cronjob](aws/aws_lambda_cronjob)
- [aws/aws_lambda_cronjob/main.tf](aws/aws_lambda_cronjob/main.tf)
- [aws/aws_lambda_cronjob/main.tf](aws/aws_lambda_cronjob/main.tf) uses:
- resource aws_lambda_function
- [aws/aws_lambda_cronjob/outputs.tf](aws/aws_lambda_cronjob/outputs.tf)
- [aws/aws_lambda_cronjob/permissions.tf](aws/aws_lambda_cronjob/permissions.tf)
- [aws/aws_lambda_cronjob/outputs.tf](aws/aws_lambda_cronjob/outputs.tf) uses:
- [aws/aws_lambda_cronjob/permissions.tf](aws/aws_lambda_cronjob/permissions.tf) uses:
- resource aws_cloudwatch_event_rule
- resource aws_cloudwatch_event_target
- resource aws_iam_policy
- resource aws_iam_role
- resource aws_iam_role_policy_attachment
- resource aws_lambda_permission
- [aws/aws_lambda_cronjob/variables.tf](aws/aws_lambda_cronjob/variables.tf)
- [aws/aws_lambda_cronjob/variables.tf](aws/aws_lambda_cronjob/variables.tf) uses:
- [aws/aws_mailgun_domain](aws/aws_mailgun_domain)
- [aws/aws_mailgun_domain/data.tf](aws/aws_mailgun_domain/data.tf)
- [aws/aws_mailgun_domain/main.tf](aws/aws_mailgun_domain/main.tf)
- [aws/aws_mailgun_domain/data.tf](aws/aws_mailgun_domain/data.tf) uses:
- [aws/aws_mailgun_domain/main.tf](aws/aws_mailgun_domain/main.tf) uses:
- resource aws_route53_record
- resource mailgun_domain
- [aws/aws_mailgun_domain/outputs.tf](aws/aws_mailgun_domain/outputs.tf)
- [aws/aws_mailgun_domain/variables.tf](aws/aws_mailgun_domain/variables.tf)
- [aws/aws_mailgun_domain/outputs.tf](aws/aws_mailgun_domain/outputs.tf) uses:
- [aws/aws_mailgun_domain/variables.tf](aws/aws_mailgun_domain/variables.tf) uses:
- [aws/aws_reverse_proxy](aws/aws_reverse_proxy)
- [aws/aws_reverse_proxy/certificate.tf](aws/aws_reverse_proxy/certificate.tf)
- [aws/aws_reverse_proxy/certificate.tf](aws/aws_reverse_proxy/certificate.tf) uses:
- resource aws_acm_certificate
- resource aws_acm_certificate_validation
- resource aws_route53_record
- [aws/aws_reverse_proxy/cloudfront.tf](aws/aws_reverse_proxy/cloudfront.tf)
- [aws/aws_reverse_proxy/cloudfront.tf](aws/aws_reverse_proxy/cloudfront.tf) uses:
- resource aws_cloudfront_distribution
- [aws/aws_reverse_proxy/data.tf](aws/aws_reverse_proxy/data.tf)
- [aws/aws_reverse_proxy/lambda.tf](aws/aws_reverse_proxy/lambda.tf)
- [aws/aws_reverse_proxy/data.tf](aws/aws_reverse_proxy/data.tf) uses:
- [aws/aws_reverse_proxy/lambda.tf](aws/aws_reverse_proxy/lambda.tf) uses:
- resource aws_iam_policy
- resource aws_iam_role
- resource aws_iam_role_policy_attachment
- resource aws_lambda_function
- [aws/aws_reverse_proxy/outputs.tf](aws/aws_reverse_proxy/outputs.tf)
- [aws/aws_reverse_proxy/route53.tf](aws/aws_reverse_proxy/route53.tf)
- [aws/aws_reverse_proxy/outputs.tf](aws/aws_reverse_proxy/outputs.tf) uses:
- [aws/aws_reverse_proxy/route53.tf](aws/aws_reverse_proxy/route53.tf) uses:
- resource aws_route53_record
- [aws/aws_reverse_proxy/variables.tf](aws/aws_reverse_proxy/variables.tf)
- [aws/aws_reverse_proxy/variables.tf](aws/aws_reverse_proxy/variables.tf) uses:
- [aws/aws_static_site](aws/aws_static_site)
- [aws/aws_static_site/data.tf](aws/aws_static_site/data.tf)
- [aws/aws_static_site/data.tf](aws/aws_static_site/data.tf) uses:
- resource random_string
- [aws/aws_static_site/main.tf](aws/aws_static_site/main.tf)
- [aws/aws_static_site/outputs.tf](aws/aws_static_site/outputs.tf)
- [aws/aws_static_site/s3.tf](aws/aws_static_site/s3.tf)
- [aws/aws_static_site/main.tf](aws/aws_static_site/main.tf) uses:
- [aws/aws_static_site/outputs.tf](aws/aws_static_site/outputs.tf) uses:
- [aws/aws_static_site/s3.tf](aws/aws_static_site/s3.tf) uses:
- resource aws_s3_bucket
- resource aws_s3_bucket_policy
- [aws/aws_static_site/variables.tf](aws/aws_static_site/variables.tf)
- [aws/aws_static_site/variables.tf](aws/aws_static_site/variables.tf) uses:
- [aws/static_website_ssl_cloudfront_private_s3](aws/static_website_ssl_cloudfront_private_s3)
- [aws/static_website_ssl_cloudfront_private_s3/init.tf](aws/static_website_ssl_cloudfront_private_s3/init.tf)
- [aws/static_website_ssl_cloudfront_private_s3/main.tf](aws/static_website_ssl_cloudfront_private_s3/main.tf)
- [aws/static_website_ssl_cloudfront_private_s3/init.tf](aws/static_website_ssl_cloudfront_private_s3/init.tf) uses:
- [aws/static_website_ssl_cloudfront_private_s3/main.tf](aws/static_website_ssl_cloudfront_private_s3/main.tf) uses:
- resource aws_cloudfront_distribution
- resource aws_cloudfront_origin_access_identity
- resource aws_route53_record
- resource aws_s3_bucket
- resource aws_s3_bucket_policy
- resource aws_s3_bucket_public_access_block
- [aws/static_website_ssl_cloudfront_private_s3/variables.tf](aws/static_website_ssl_cloudfront_private_s3/variables.tf)
- [aws/static_website_ssl_cloudfront_private_s3/variables.tf](aws/static_website_ssl_cloudfront_private_s3/variables.tf) uses:
- [aws/wordpress_fargate](aws/wordpress_fargate)
- [aws/wordpress_fargate/alb.tf](aws/wordpress_fargate/alb.tf)
- [aws/wordpress_fargate/alb.tf](aws/wordpress_fargate/alb.tf) uses:
- resource aws_security_group
- [aws/wordpress_fargate/cloudfront.tf](aws/wordpress_fargate/cloudfront.tf)
- [aws/wordpress_fargate/cloudfront.tf](aws/wordpress_fargate/cloudfront.tf) uses:
- resource aws_cloudfront_distribution
- [aws/wordpress_fargate/data.tf](aws/wordpress_fargate/data.tf)
- [aws/wordpress_fargate/db.tf](aws/wordpress_fargate/db.tf)
- [aws/wordpress_fargate/data.tf](aws/wordpress_fargate/data.tf) uses:
- [aws/wordpress_fargate/db.tf](aws/wordpress_fargate/db.tf) uses:
- resource aws_db_subnet_group
- resource aws_rds_cluster
- resource aws_security_group
- resource aws_ssm_parameter
- resource random_string
- [aws/wordpress_fargate/efs.tf](aws/wordpress_fargate/efs.tf)
- [aws/wordpress_fargate/efs.tf](aws/wordpress_fargate/efs.tf) uses:
- resource aws_efs_file_system
- resource aws_efs_mount_target
- resource aws_security_group
- [aws/wordpress_fargate/fargate.tf](aws/wordpress_fargate/fargate.tf)
- [aws/wordpress_fargate/fargate.tf](aws/wordpress_fargate/fargate.tf) uses:
- resource aws_appautoscaling_policy
- resource aws_appautoscaling_target
- resource aws_cloudwatch_log_group
Expand All @@ -140,64 +140,64 @@ Lots of Terraform recipes for doing things, aimed for copy and pasting into proj
- resource aws_lb_target_group
- resource aws_route53_record
- resource aws_security_group
- [aws/wordpress_fargate/output.tf](aws/wordpress_fargate/output.tf)
- [aws/wordpress_fargate/provider.tf](aws/wordpress_fargate/provider.tf)
- [aws/wordpress_fargate/route53.tf](aws/wordpress_fargate/route53.tf)
- [aws/wordpress_fargate/output.tf](aws/wordpress_fargate/output.tf) uses:
- [aws/wordpress_fargate/provider.tf](aws/wordpress_fargate/provider.tf) uses:
- [aws/wordpress_fargate/route53.tf](aws/wordpress_fargate/route53.tf) uses:
- resource aws_route53_record
- [aws/wordpress_fargate/variables.tf](aws/wordpress_fargate/variables.tf)
- [aws/wordpress_fargate/vpc.tf](aws/wordpress_fargate/vpc.tf)
- [aws/wordpress_fargate/variables.tf](aws/wordpress_fargate/variables.tf) uses:
- [aws/wordpress_fargate/vpc.tf](aws/wordpress_fargate/vpc.tf) uses:
- [azure](azure)
- [azure/layers](azure/layers)
- [azure/layers/layers.tf](azure/layers/layers.tf)
- [azure/layers/layers.tf](azure/layers/layers.tf) uses:
- resource null_resource
- [azure/layers/main.tf](azure/layers/main.tf)
- [azure/layers/main.tf](azure/layers/main.tf) uses:
- resource azurerm_resource_group
- resource azurerm_storage_account
- resource azurerm_storage_blob
- resource azurerm_storage_container
- resource azurerm_subnet
- resource azurerm_virtual_network
- [azure/layers/variables.tf](azure/layers/variables.tf)
- [azure/layers/variables.tf](azure/layers/variables.tf) uses:
- [generic](generic)
- [generic/docker_compose_host](generic/docker_compose_host)
- [generic/docker_compose_host/main.tf](generic/docker_compose_host/main.tf)
- [generic/docker_compose_host/main.tf](generic/docker_compose_host/main.tf) uses:
- resource null_resource
- [generic/docker_compose_host/outputs.tf](generic/docker_compose_host/outputs.tf)
- [generic/docker_compose_host/variables.tf](generic/docker_compose_host/variables.tf)
- [generic/docker_compose_host/outputs.tf](generic/docker_compose_host/outputs.tf) uses:
- [generic/docker_compose_host/variables.tf](generic/docker_compose_host/variables.tf) uses:
- [google_cloud](google_cloud)
- [google_cloud/camunda-secure](google_cloud/camunda-secure)
- [google_cloud/camunda-secure/build.tf](google_cloud/camunda-secure/build.tf)
- [google_cloud/camunda-secure/build.tf](google_cloud/camunda-secure/build.tf) uses:
- resource local_file
- resource null_resource
- [google_cloud/camunda-secure/camunda.tf](google_cloud/camunda-secure/camunda.tf)
- [google_cloud/camunda-secure/camunda.tf](google_cloud/camunda-secure/camunda.tf) uses:
- resource google_cloud_run_service
- resource google_project_iam_member
- resource google_service_account
- [google_cloud/camunda-secure/cloudsql.tf](google_cloud/camunda-secure/cloudsql.tf)
- [google_cloud/camunda-secure/cloudsql.tf](google_cloud/camunda-secure/cloudsql.tf) uses:
- resource google_sql_database
- resource google_sql_database_instance
- resource google_sql_user
- [google_cloud/camunda-secure/main.tf](google_cloud/camunda-secure/main.tf)
- [google_cloud/camunda-secure/main.tf](google_cloud/camunda-secure/main.tf) uses:
- [google_cloud/camunda](google_cloud/camunda)
- [google_cloud/camunda/build.tf](google_cloud/camunda/build.tf)
- [google_cloud/camunda/build.tf](google_cloud/camunda/build.tf) uses:
- resource local_file
- resource null_resource
- [google_cloud/camunda/camunda.tf](google_cloud/camunda/camunda.tf)
- [google_cloud/camunda/camunda.tf](google_cloud/camunda/camunda.tf) uses:
- resource google_cloud_run_service
- resource google_cloud_run_service_iam_policy
- resource google_project_iam_member
- resource google_service_account
- [google_cloud/camunda/cloudsql.tf](google_cloud/camunda/cloudsql.tf)
- [google_cloud/camunda/cloudsql.tf](google_cloud/camunda/cloudsql.tf) uses:
- resource google_sql_database
- resource google_sql_database_instance
- resource google_sql_user
- [google_cloud/camunda/main.tf](google_cloud/camunda/main.tf)
- [google_cloud/camunda/main.tf](google_cloud/camunda/main.tf) uses:
- [google_cloud/CQRS_bigquery_memorystore](google_cloud/CQRS_bigquery_memorystore)
- [google_cloud/CQRS_bigquery_memorystore/main.tf](google_cloud/CQRS_bigquery_memorystore/main.tf)
- [google_cloud/CQRS_bigquery_memorystore/main.tf](google_cloud/CQRS_bigquery_memorystore/main.tf) uses:
- resource google_storage_bucket
- resource google_storage_bucket_object
- [google_cloud/minecraft](google_cloud/minecraft)
- [google_cloud/minecraft/main.tf](google_cloud/minecraft/main.tf)
- [google_cloud/minecraft/main.tf](google_cloud/minecraft/main.tf) uses:
- resource google_compute_address
- resource google_compute_disk
- resource google_compute_firewall
Expand All @@ -208,21 +208,21 @@ Lots of Terraform recipes for doing things, aimed for copy and pasting into proj
- resource google_project_iam_member
- resource google_service_account
- [google_cloud/oathkeeper](google_cloud/oathkeeper)
- [google_cloud/oathkeeper/build.tf](google_cloud/oathkeeper/build.tf)
- [google_cloud/oathkeeper/build.tf](google_cloud/oathkeeper/build.tf) uses:
- resource local_file
- resource null_resource
- [google_cloud/oathkeeper/main.tf](google_cloud/oathkeeper/main.tf)
- [google_cloud/oathkeeper/main.tf](google_cloud/oathkeeper/main.tf) uses:
- resource google_cloud_run_service
- resource google_cloud_run_service_iam_policy
- resource google_service_account
- resource google_storage_bucket
- resource google_storage_bucket_iam_member
- resource google_storage_bucket_object
- [google_cloud/openresty-beyondcorp](google_cloud/openresty-beyondcorp)
- [google_cloud/openresty-beyondcorp/build.tf](google_cloud/openresty-beyondcorp/build.tf)
- [google_cloud/openresty-beyondcorp/build.tf](google_cloud/openresty-beyondcorp/build.tf) uses:
- resource local_file
- resource null_resource
- [google_cloud/openresty-beyondcorp/main.tf](google_cloud/openresty-beyondcorp/main.tf)
- [google_cloud/openresty-beyondcorp/main.tf](google_cloud/openresty-beyondcorp/main.tf) uses:
- resource google_cloud_run_service
- resource google_cloud_run_service_iam_policy
- resource google_project_iam_member
Expand Down
2 changes: 1 addition & 1 deletion repotools/generate_readme.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class AddSection extends Transform {
let resources = [...str.toString().matchAll(hclResourceRegex)].map(
match => match[1]
).sort();
this.push(`\n${indentation} - [${file}](${file})`);
this.push(`\n${indentation} - [${file}](${file}) uses:`);
new Set(resources).forEach(resource => {
this.push(`\n${indentation} - resource ${resource}`);
})
Expand Down

0 comments on commit bbf05e8

Please sign in to comment.