netology-code / netology-code/ter-homeworks
Ошибка в файле 02/demostration2.tf
Open
Nobody has claimed this yet.
- Dominant language
- HCL
- Stars
- 2
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
terraform init ругается:
╷
│ Error: Invalid type specification
│
│ on demostration2.tf line 87, in variable "user_contacts2":
│ 87: type = map(object(map(list(tuple([string, string, bool])))))
│
│ Object type constructor requires a map whose keys are attribute names and whose values are the corresponding attribute types.
╵
╷
│ Error: Invalid type specification
│
│ on demostration2.tf line 87, in variable "user_contacts2":
│ 87: type = map(object(map(list(tuple([string, string, bool])))))
│
│ Object type constructor requires a map whose keys are attribute names and whose values are the corresponding attribute types.
╵
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open 02/demostration2.tf and inspect variable "user_contacts2" at line 87. Run terraform init in that directory to reproduce the Invalid type specification error, then compare the nested declaration with Terraform's object type syntax and verify that initialization succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- terraform
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100