Skip to content

Module Fails if Description is not added. #169

@dempti

Description

@dempti

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions