Terraform module for Scaleway metal servers
Go to file
Jakub Sokołowski 849eaa1a84
versions: upgrade cloudflare from 3.26.0 to 4.26.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-14 23:29:45 +01:00
README.md switch domain from statusim.net to status.im 2024-03-14 19:52:01 +01:00
main.tf switch domain from statusim.net to status.im 2024-03-14 19:52:01 +01:00
outputs.tf upgrade Terraform to 1.0, upgrade providers 2021-06-23 10:27:32 +02:00
variables.tf switch domain from statusim.net to status.im 2024-03-14 19:52:01 +01:00
versions.tf versions: upgrade cloudflare from 3.26.0 to 4.26.0 2024-03-14 23:29:45 +01:00

README.md

Description

This is a helper module used by Status internal repos like: infra-ci

It allows for deploying bare metal servers on Scaleway.

Usage

Simply import the module using the source directive:

module "scaleway-bare-metal" {
  source = "github.com/status-im/infra-tf-scaleway-metal"
}

More details.

Variables

  • Scaling
    • host_count - Number of hosts to start in this region.
    • os_id - ID of OS image used to create host. (default: d859aa89-8b4a-4551-af42-ff7c0c27260a)
    • type - Type of host to create. (default: GP-BM1-S)
    • zone - Zone in which the server will be created. (default: fr-par-2)
  • General
    • name - Prefix of hostname before index. (default: node)
    • group - Name of Ansible group to add hosts to.
    • env - Environment for these hosts, affects DNS entries.
    • stage - Name of stage, like prod, dev, or staging.
  • Security
    • ssh_user - Name of SSH user for first login. (default: root)
    • ssh_key_id - ID of SSH key uploaded to Scaleway.
  • DNS
    • cf_zone_id - CloudFlare DNS domain zone ID. (ID for status.im)
    • domain - DNS Domain for hostnames. (default: status.im)

Known Issues

Currently the scaleway_baremetal_server resource does not support;

  • Configuring floating IPs with ip_id setting
  • Configuring firewall rules with security_group_id setting

It also appears to be only available in the fr-par-2 zone.