Add variable type to pass the linter check

Open
#44 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
terraform

Research direction

Start in variables.tf and inspect the example variable definition shown in the issue. Add the specified type and run the Terraform lint checks; the work is done when all checks pass.

Written by the indexing model from the issue text.

Description

bug

Please change terraform-example-module
/variables.tf from:

variable "example" {
  description = "Example variable"
  default     = "hello world"
}

to

variable "example" {
  type        = string
  description = "Example variable"
  default     = "hello world"
}

in order for the terraform lint to pass all checks.

Dominant language
HCL
Stars
172
Forks
73
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudposse/terraform-example-module

All issues in cloudposse/terraform-example-module

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.