Skip to content

Commit 624b2df

Browse files
committed
initital workshop modules setup fixes
1 parent 5a1c165 commit 624b2df

21 files changed

+70
-61
lines changed

.terraform.lock.hcl

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/k8s-addons/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
terraform {
22
required_version = ">= 1.3"
3-
}
3+
}

main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ terraform {
2020
provider "equinix" {
2121
auth_token = var.metal_auth_token
2222
}
23-

modules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Equinix Labs Modules
22

3-
These are the Equinix Labs Modules
3+
These are the Equinix Labs Modules
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
metal_api_token="your_token_here" #This must be a user API token
2-
organization_id="your_organization_id"
2+
organization_id="your_organization_id"

modules/collaborator-project/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,3 @@ variable "send_invites" {
1313
description = "Wether Collaborator invitations should be sent. This could be toggled after a successful provision to prevent sending invitations to a project that could be deleted during a reprovision"
1414
default = true
1515
}
16-
17-
variable "metal_api_token" {
18-
description = "Equinix Metal user api token"
19-
type = string
20-
}

modules/invite-from-csv/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ terraform apply
1111

1212
<!-- BEGIN_TF_DOCS -->
1313

14-
<!-- END_TF_DOCS -->
14+
<!-- END_TF_DOCS -->

modules/invite-from-csv/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ data "equinix_metal_organization" "org" {
1717
organization_id = var.organization_id
1818
}
1919

20-
module "project-invite-setup" {
20+
module "project_invite_setup" {
2121
for_each = { for user in local.users : trimspace(user.email) => user }
2222
source = "../collaborator-project"
2323
organization_id = data.equinix_metal_organization.org.id
2424
collaborator = each.value.email
25-
metal_api_token = var.metal_api_token
25+
send_invites = var.send_invites
2626
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
metal_api_token="your_token_here" #This must be a user API token
2-
organization_id="your_organization_id"
2+
organization_id="your_organization_id"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
email,metro,plan
22
[email protected],da,m3.small.x86
33
[email protected],da,m3.small.x86
4-
[email protected],da,m3.small.x86
4+
[email protected],da,m3.small.x86

0 commit comments

Comments
 (0)