Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Add Scaleway Instance Template#449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mossylion wants to merge4 commits intocoder:main
base:main
Choose a base branch
Loading
frommossylion:main

Conversation

mossylion
Copy link

Description

Adds a template forScaleway workspaces with a virtual instance backing it

Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Template Information

The readme should contain enough info for someone to go from 0 to deployment including required permissions. I couldn't figure out a nicer way of handling dynamic instance type selection so this is part of the template in the form of a json, I've added a command you can run to update this list. This felt nicer than getting the end user to hardcode it or providing a subset or types. Let me know if you'd prefer this was done a different way.

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Screen recording showing a template flow from publish to working workspace

output.mp4

Related Issues

None :) I wanted this so I made it and thought I'd contribute it back

The agent token was being set as a shell variable but not exportedto the environment, causing the coder agent to fail with "CODER_AGENT_TOKENmust be set" error during cloud-init execution.
@matifalimatifali requested a review fromCopilotOctober 3, 2025 12:19
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR adds a new Scaleway Instance template for creating Coder workspaces on Scaleway cloud infrastructure. The template provides comprehensive support for Scaleway's instance types, regions, and operating systems with persistent storage capabilities.

Key changes include:

  • Complete Terraform configuration for Scaleway workspace provisioning with dual-stack networking and persistent storage
  • Dynamic instance type selection using a comprehensive JSON configuration file
  • Cloud-init scripts for automated agent setup and persistent home directory mounting

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
FileDescription
registry/mossylion/README.mdNew contributor profile with template listing
registry/mossylion/templates/scaleway-instance/README.mdComprehensive documentation with setup instructions and architecture details
registry/mossylion/templates/scaleway-instance/main.tfMain Terraform configuration for Scaleway resources and Coder integration
registry/mossylion/templates/scaleway-instance/scaleway-config.jsonJSON configuration file containing all available Scaleway instance types
registry/mossylion/templates/scaleway-instance/cloud-init/cloud-config.yaml.tftplCloud-init configuration for user setup and persistent storage mounting
registry/mossylion/templates/scaleway-instance/cloud-init/userdata.sh.tftplShell script for Coder agent initialization

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees

@mossylionmossylion

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@mossylion

[8]ページ先頭

©2009-2025 Movatter.jp