terraform: comment out WIP state
Some of the state was imported already but I'm stuck on those two resources. Since this blocks the deploys, let's merge this already.
This commit is contained in:
parent
d821d658d8
commit
28f02d6b94
1 changed files with 18 additions and 16 deletions
|
@ -9,15 +9,16 @@ locals {
|
||||||
zimbatm = "zimbatm@zimbatm.com"
|
zimbatm = "zimbatm@zimbatm.com"
|
||||||
}
|
}
|
||||||
|
|
||||||
tfe_org = tfe_organization.nix-community.name
|
tfe_org = "nix-community" #tfe_organization.nix-community.name
|
||||||
}
|
}
|
||||||
|
|
||||||
# Org setup
|
# Org setup
|
||||||
resource "tfe_organization" "nix-community" {
|
# FIXME: import is broken
|
||||||
name = "nix-community"
|
# resource "tfe_organization" "nix-community" {
|
||||||
# FIXME: host our own email
|
# name = "nix-community"
|
||||||
email = "nix-community@numtide.com"
|
# # FIXME: host our own email. See https://github.com/nix-community/infra/issues/393
|
||||||
}
|
# email = "nix-community@numtide.com"
|
||||||
|
# }
|
||||||
|
|
||||||
# Members setup
|
# Members setup
|
||||||
|
|
||||||
|
@ -26,17 +27,18 @@ resource "tfe_team" "owners" {
|
||||||
organization = "nix-community"
|
organization = "nix-community"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "tfe_organization_membership" "owners" {
|
# FIXME: I need to find the user ID for my account before this can be used
|
||||||
for_each = local.tfe_owners
|
# resource "tfe_organization_membership" "owners" {
|
||||||
organization = local.tfe_org
|
# for_each = local.tfe_owners
|
||||||
email = each.value
|
# organization = local.tfe_org
|
||||||
}
|
# email = each.value
|
||||||
|
# }
|
||||||
|
|
||||||
resource "tfe_team_organization_member" "owners" {
|
# resource "tfe_team_organization_member" "owners" {
|
||||||
for_each = local.tfe_owners
|
# for_each = local.tfe_owners
|
||||||
team_id = tfe_team.owners.id
|
# team_id = tfe_team.owners.id
|
||||||
organization_membership_id = tfe_organization_membership.owners[each.key].id
|
# organization_membership_id = tfe_organization_membership.owners[each.key].id
|
||||||
}
|
# }
|
||||||
|
|
||||||
# Workspaces setup
|
# Workspaces setup
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue