This is an example of how to utilize the root module to deploy the invite-from-csv module and the metal module. In this example, each user identified in the users.csv
file (see users.csv.example) will have a project provisioned and an invitation sent by email to join that project. Kubernetes will then be provisioned into each user's project with the configurations set within the variables.tf file.
Name | Version |
---|---|
terraform | >= 1.3 |
equinix | >= 1.10.0 |
No providers.
Name | Source | Version |
---|---|---|
deploy_metal | ../../ | n/a |
workshop_setup | ../../ | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
metal_auth_token | Equinix Metal user api token. | string |
n/a | yes |
metal_organization_id | Equinix Metal organization id | string |
n/a | yes |
enable_metal | Enable Metal module | bool |
true |
no |
enable_workshop_setup | Enable Workshop Setup module | bool |
true |
no |
metal_config | Configuration for Metal Setup config | object({ |
{ |
no |
Name | Description |
---|---|
deploy_metal_outputs | Outputs of the Deploy Metal module |
workshop_setup_outputs | Outputs of the Workshop Setup module |