Skip to content

rizkimhd/terraform-aws-resource-naming

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-resource-naming

Terraform module to generate resource name with random_id added as suffix.

Usage

To understand better on how to implement this module, you can go into examples folder and try them.

Examples

Supported Resources

  • autoscaling_group
  • autoscaling_policy
  • cloudwatch_event_rule
  • cloudwatch_log_group
  • db_instance
  • db_parameter_group
  • dynamodb_table
  • elasticache_cluster
  • elasticsearch_domain
  • iam_instance_profile
  • iam_role
  • key_pair
  • lambda_function
  • launch_configuration
  • lb
  • lb_target_group
  • security_group
  • s3_bucket
  • sns_topic
  • sqs_queue

Contributing

You can increase the number of this module's supported resources by adding the information about maximum character allowed for resource naming from AWS.

Open resources.tf for more information.

Don't forget to also add the resource that you added to Supported Resources list

Terraform Version

This module was created using Terraform 0.11.6. So to be more safe, Terraform version 0.11.6 or newer is required to use this module.

Authors

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module to generate resource name with random_id added as suffix.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%