Skip to content

Commit 5a1c165

Browse files
committed
initital workshop modules setup: collaborator-project, invite-from-csv, and workshop
1 parent c44dc65 commit 5a1c165

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+351
-139
lines changed

README.md

Lines changed: 3 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
# terraform-equinix-template
1+
# terraform-equinix-labs
22

33
<!-- TEMPLATE: Review all "TEMPLATE" comments and remove them when applied. -->
44
<!-- TEMPLATE: replace "template" with the name of your project. The prefix "terraform-equinix-" informs the Terraform registry that this project is a Terraform module associated with the Equinix provider, preserve this prefix. -->
55
[![Experimental](https://img.shields.io/badge/Stability-Experimental-red.svg)](https://github.com/equinix-labs/standards#about-uniform-standards)
6-
[![run-pre-commit-hooks](https://github.com/equinix-labs/terraform-equinix-template/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/equinix-labs/terraform-equinix-template/actions/workflows/pre-commit.yaml)
7-
[![generate-terraform-docs](https://github.com/equinix-labs/terraform-equinix-template/actions/workflows/documentation.yaml/badge.svg)](https://github.com/equinix-labs/terraform-equinix-template/actions/workflows/documentation.yaml)
8-
9-
`terraform-equinix-template` is a minimal Terraform module that utilizes [Terraform providers for Equinix](https://registry.terraform.io/namespaces/equinix) to provision digital infrastructure and demonstrate higher level integrations.
10-
11-
<!-- TEMPLATE: Insert an image here of the infrastructure diagram. You can generate a starting image using instructions found at https://www.terraform.io/docs/cli/commands/graph.html#generating-images -->
6+
[![run-pre-commit-hooks](https://github.com/equinix-labs/terraform-equinix-labs/actions/workflows/pre-commit.yaml/badge.svg)](https://github.com/equinix-labs/terraform-equinix-template/actions/workflows/pre-commit.yaml)
7+
[![generate-terraform-docs](https://github.com/equinix-labs/terraform-equinix-labs/actions/workflows/documentation.yaml/badge.svg)](https://github.com/equinix-labs/terraform-equinix-template/actions/workflows/documentation.yaml)
128

139
## Usage
1410

@@ -61,46 +57,8 @@ The main README.md, the modules README.md and the examples README.md are populat
6157

6258
To view examples for how you can leverage this module, please see the [examples](examples/) directory.
6359

64-
<!-- TEMPLATE: The following block has been generated by terraform-docs util: https://github.com/terraform-docs/terraform-docs -->
6560
<!-- BEGIN_TF_DOCS -->
66-
## Requirements
67-
68-
| Name | Version |
69-
|------|---------|
70-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
71-
| <a name="requirement_equinix"></a> [equinix](#requirement\_equinix) | >= 1.8.0 |
72-
73-
## Providers
74-
75-
| Name | Version |
76-
|------|---------|
77-
| <a name="provider_equinix"></a> [equinix](#provider\_equinix) | >= 1.8.1 |
78-
79-
## Modules
80-
81-
| Name | Source | Version |
82-
|------|--------|---------|
83-
| <a name="module_inline-module"></a> [inline-module](#module\_inline-module) | ./modules/inline-module | n/a |
84-
85-
## Resources
86-
87-
| Name | Type |
88-
|------|------|
89-
| [equinix_metal_device.example](https://registry.terraform.io/providers/equinix/equinix/latest/docs/resources/metal_device) | resource |
90-
91-
## Inputs
92-
93-
| Name | Description | Type | Default | Required |
94-
|------|-------------|------|---------|:--------:|
95-
| <a name="input_example_auth_token"></a> [example\_auth\_token](#input\_example\_auth\_token) | The example auth token value defines what will be included in the example resource in main.tf. This example is descriptive. | `string` | n/a | yes |
96-
| <a name="input_example_project_id"></a> [example\_project\_id](#input\_example\_project\_id) | The example project id value defines what will be included in the example resource in main.tf. This example is descriptive. | `string` | n/a | yes |
97-
98-
## Outputs
9961

100-
| Name | Description |
101-
|------|-------------|
102-
| <a name="output_example_device_hostname"></a> [example\_device\_hostname](#output\_example\_device\_hostname) | The example output. In practice, output value reference implicit resource attributes declared in main.tf |
103-
| <a name="output_example_gateway_id"></a> [example\_gateway\_id](#output\_example\_gateway\_id) | The example output. In practice, output value reference implicit resource attributes declared in main.tf |
10462
<!-- END_TF_DOCS -->
10563
## Contributing
10664

docs/template-doc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

examples/k8s-addons/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
terraform {
2+
required_version = ">= 1.3"
3+
}

examples/k8s-addons/outputs.tf

Whitespace-only changes.

examples/k8s-addons/variables.tf

Whitespace-only changes.

examples/simple/main.tf

Lines changed: 0 additions & 12 deletions
This file was deleted.

files/static-file.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

helpers/helper-script.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

main.tf

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# TEMPLATE: Before using "provider" blocks, consider https://www.terraform.io/docs/language/modules/develop/providers.html#implicit-provider-inheritance
2-
# TEMPLATE:
3-
# TEMPLATE: All ".tf" files are parsed at once. There is no benefit to numerically prefixed filenames. Keep all resource definitions in "main.tf".
4-
# TEMPLATE:
5-
# TEMPLATE: When main.tf becomes unwieldy, consider submodules (https://www.terraform.io/docs/language/modules/develop/structure.html)
6-
# TEMPLATE: and dependency inversion (https://www.terraform.io/docs/language/modules/develop/composition.html).
7-
# TEMPLATE:
81

92
# TEMPLATE: Replace sample provider described below with your own.
103
terraform {
@@ -28,23 +21,3 @@ provider "equinix" {
2821
auth_token = var.metal_auth_token
2922
}
3023

31-
# TEMPLATE: Replace sample resource described below with your own.
32-
resource "equinix_metal_device" "example_device" {
33-
hostname = "example-device"
34-
plan = "c3.small.x86"
35-
metro = "sv"
36-
operating_system = "ubuntu_20_04"
37-
billing_cycle = "hourly"
38-
project_id = var.metal_project_id
39-
}
40-
41-
# TEMPLATE: Run `terraform get` to install local module
42-
# TEMPLATE: Run `terraform init` to initialize backends and install plugins
43-
# TEMPLATE: Replace sample in-line local module described below with your own.
44-
# TEMPLATE
45-
module "inline_module" {
46-
source = "./modules/inline-module"
47-
48-
# Define any required variables
49-
inline_module_project_id = var.metal_project_id
50-
}

0 commit comments

Comments
 (0)