Write-Error: There are duplicate target meters for the same region.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- powershell
- Domain
- cloud
Research direction
Start with step 3 in Perform-RegionComparison.ps1 and inspect how it reads ..\1-Collect\resources.json and identifies target meters by region. Reproduce the run with the two tenant/subscription folders, then trace why the second input produces duplicate target meters; done means the report completes without this error for both tenants.
Written by the indexing model from the issue text.
Description
Hello,
I need to run this code for 2 tentants & different subscriptions.
I created 2 different folders to run the report.
For the first tenant it worked, but for the second tenant I get the following error.
When running step 3
3-CostInformation
.\Perform-RegionComparison.ps1 -regions $regions -outputFormat json -resourceFile ..\1-Collect\resources.json
Write-Error: There are duplicate target meters for the same region. Please report this issue to the script author.
Can you assist me in solving this.
Thx
- Dominant language
- PowerShell
- Stars
- 13
- Forks
- 17
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
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.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
bug needs-triage service/elbv2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
hashicorp/terraform-provider-aws#50100 · 1 comment ·