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

Allow networking stage to be disabled #2831

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

juliocc
Copy link
Collaborator

@juliocc juliocc commented Jan 21, 2025

This fix prevents

╷
│ Error: Invalid index
│
│   on stage-2-security.tf line 54, in module "sec-folder":
│   54:       "roles/resourcemanager.tagUser"        = [module.net-sa-rw[0].iam_email]
│     ├────────────────
│     │ module.net-sa-rw is empty tuple
│
│ The given key does not identify an element in this collection value: the collection has no elements.
╵
╷
│ Error: Invalid index
│
│   on stage-2-security.tf line 57, in module "sec-folder":
│   57:       "roles/resourcemanager.tagViewer"      = [module.net-sa-ro[0].iam_email]
│     ├────────────────
│     │ module.net-sa-ro is empty tuple

when

fast_stage_2 = {
  networking = { enabled = false }
}

@juliocc juliocc merged commit cbd66f8 into fast-dev Jan 22, 2025
18 checks passed
@juliocc juliocc deleted the jccb/fast-disable-net branch January 22, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants