Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditionally reference the aws_vpc_endpoint.s3 #318

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

miguelhar
Copy link
Collaborator

plan: 32 to add, 4 to change, 0 to destroy.
╷
│ Error: Invalid index
│
│   on .terraform/modules/infra/modules/infra/submodules/network/vpc.tf line 53, in data "aws_prefix_list" "s3":
│   53:   prefix_list_id = aws_vpc_endpoint.s3[0].prefix_list_id
│     ├────────────────
│     │ aws_vpc_endpoint.s3 is empty tuple
│
│ The given key does not identify an element in this collection value: the collection has no elements.

@miguelhar miguelhar requested a review from a team as a code owner January 10, 2025 22:00
Copy link
Contributor

@msingermann-domino msingermann-domino left a comment

Choose a reason for hiding this comment

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

Lgtm. Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants