cloudposse / terraform-aws-elasticache-redis

Terraform module to provision an ElastiCache Redis Cluster
https://cloudposse.com/accelerate
Apache License 2.0
142 stars 246 forks source link

Module Fails if Description is not added. #169

Closed dempti closed 2 years ago

dempti commented 2 years ago

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

expected "description" to not be an empty string, got "", when module.this (cloudposse/terraform-null-label) is not integrated with the code. Line number 120 of main.tf

Expected Behavior

The build should pass without issues.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Configure terraform module with the dependent configuration as per the example
  2. do not include module "this" as per README.md, on your local
  3. carry out terraform plan

Screenshots

Log.

╷
│ Error: expected "description" to not be an empty string, got 
│ 
│   with aws_elasticache_replication_group.default[0],
│   on main.tf line 120, in resource "aws_elasticache_replication_group" "default":
│  120:   description                = module.this.id
│ 
╵

Environment (please complete the following information):

Stack: Terraform
OS: Linux Arch
Terraform: > 0.13

Additional Context

Add any other context about the problem here.