StackGuardian / StackGuardian/tirith
🐛 AWS RDS terraform count is not working
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 165
- Forks
- 42
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 11
Description
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_instance
- set the
countof therds_cluster_instanceto 2 - on tirith
- use the terraform provider
- use the count optype
- set the conditiontype lessthan 1
- and then it will pass even though the
countis larger than 1- meaning tirith can only ddetect one rds_cluster_instance
- even though terraform creates 2 rds instances in the background
Contributor guide
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
No repository files or tests are named. Start by reproducing the described rds_cluster_instance configuration with count set to 2, using Tirith's Terraform provider, count optype, and lessthan 1 condition; done means both instances are detected rather than the policy passing after detecting only one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python, terraform
- Domain
- cloud, databases, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100