Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error: Invalid index
- on ../../modules/sns/main.tf line 18, in resource "aws_sns_topic_policy" "CW-alerts-topic-policy":
- 18: arn = aws_sns_topic.CW-alerts[count.index].arn
- |----------------
- | aws_sns_topic.CW-alerts is empty tuple
- | count.index is 2
- The given key does not identify an element in this collection value.
- Error: Invalid index
- on ../../modules/sns/main.tf line 18, in resource "aws_sns_topic_policy" "CW-alerts-topic-policy":
- 18: arn = aws_sns_topic.CW-alerts[count.index].arn
- |----------------
- | aws_sns_topic.CW-alerts is empty tuple
- | count.index is 0
- The given key does not identify an element in this collection value.
- Error: Invalid index
- on ../../modules/sns/main.tf line 18, in resource "aws_sns_topic_policy" "CW-alerts-topic-policy":
- 18: arn = aws_sns_topic.CW-alerts[count.index].arn
- |----------------
- | aws_sns_topic.CW-alerts is empty tuple
- | count.index is 1
- The given key does not identify an element in this collection value.
- Error: Invalid index
- on ../../modules/sns/outputs.tf line 18, in resource "null_resource" "topic-mappings":
- 18: topic-id = aws_sns_topic.CW-alerts[count.index].id
- |----------------
- | aws_sns_topic.CW-alerts is empty tuple
- | count.index is 2
- The given key does not identify an element in this collection value.
- Error: Invalid index
- on ../../modules/sns/outputs.tf line 18, in resource "null_resource" "topic-mappings":
- 18: topic-id = aws_sns_topic.CW-alerts[count.index].id
- |----------------
- | aws_sns_topic.CW-alerts is empty tuple
- | count.index is 0
- The given key does not identify an element in this collection value.
- Error: Invalid index
- on ../../modules/sns/outputs.tf line 18, in resource "null_resource" "topic-mappings":
- 18: topic-id = aws_sns_topic.CW-alerts[count.index].id
- |----------------
- | aws_sns_topic.CW-alerts is empty tuple
- | count.index is 1
- The given key does not identify an element in this collection value.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement