Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Aatishsharma77
Copy link
Contributor

@Aatishsharma77 Aatishsharma77 commented Apr 5, 2024

what

Fixed count condition for module "kms_key" {}, data "aws_iam_policy_document" "cloudwatch" {} in main.tf
This was causing below error on terraform plan

│ Error: Invalid index
│ 
│   on ../../../main.tf line 543, in module "kms_key":
│  543:   policy              = data.aws_iam_policy_document.cloudwatch[0].json
│     ├────────────────
│     │ data.aws_iam_policy_document.cloudwatch is empty tuple
│ 
│ The given key does not identify an element in this collection value: the collection has no elements.

@Aatishsharma77 Aatishsharma77 changed the title Fix: Enable of kms_key in HTTP Api-Gateway Fix: Error in count condition of HTTP-Api-Gateway Apr 8, 2024
h1manshu98
h1manshu98 previously approved these changes Apr 10, 2024
Copy link
Contributor

@h1manshu98 h1manshu98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

clouddrove-ci
clouddrove-ci previously approved these changes Mar 14, 2025
@clouddrove-ci clouddrove-ci dismissed stale reviews from h1manshu98 and themself via e477d9b March 14, 2025 12:17
@clouddrove-ci clouddrove-ci merged commit 2d0cee3 into master Mar 14, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants