The given key does not identify an element in this collection value: a number is required. #25367
Labels
service/cloudwatch
Issues and PRs that pertain to the cloudwatch service.
service/ebs
Issues and PRs that pertain to the ebs service.
service/ec2ebs
Issues and PRs that pertain to the ec2ebs service.
service/ec2
Issues and PRs that pertain to the ec2 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
waiting-response
Maintainers are waiting on response from community or contributor.
Terraform Enterprise edition 0.13.7
provider aws version 3.37.0
data.tf
The resource section
error
on modules/notification/iops.tf line 34, in resource "aws_cloudwatch_metric_alarm" "iops":
34: VolumeId = toset(flatten(values(data.aws_ebs_volumes.cw_volumes)[each.key].*))
|----------------
| data.aws_ebs_volumes.cw_volumes is object with 2 attributes
| each.key is "i-078c2050de4851e93"
The given key does not identify an element in this collection value: a number
is required.
The text was updated successfully, but these errors were encountered: