scaleway/terraform-provider-scaleway
소개
Scaleway용 Terraform 프로바이더.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTerraform Provider for Scaleway
Requirements
All the development tools (Go, Terraform, OpenTofu, golangci-lint, ...) and their versions are pinned in mise.toml and installed with mise.
This single configuration drives the CI as well, so you can rely on it being complete.
Getting started
On your machine (recommended)
Install mise, then clone the repository and install the pinned tools:
mise install
As an alternative: devcontainer
If you prefer an isolated environment, a devcontainer with mise and the VS Code setup already configured is provided as a convenience:
- Open the repository in VS Code and choose Reopen in Container (requires the Dev Containers extension).
- The tools declared in
mise.tomlare resolved lazily the first time you run a task; runmise installonce in the container to prefetch them all.
All the mise run ... commands below work the same in both setups.
Building The Provider
mise run build:provider
The binary is written to ./terraform-provider-scaleway (override the location with mise run build:provider --output <path>).
Using the provider
See the Scaleway Provider Documentation to get started using the Scaleway provider.
Developing the Provider
Run mise tasks to list every available task (build:*, test:*, lint:*, gen:*, ...). The most common ones are:
mise run build:provider # build the provider binary
mise run test:provider # run the unit tests
mise run test:provider --acceptance # run the acceptance tests against the recorded mocks
mise run test:provider --acceptance --cassettes # run the acceptance tests against the real API and record cassettes
mise run lint:go # lint the Go code
mise run gen:doc # regenerate the provider documentation
mise run default # fast local loop: build + test + lint the provider
If you want to use your locally built provider with Terraform instead of the published one, you can take advantage of development overrides (dev_overrides) in the Terraform CLI configuration, and point Terraform/OpenTofu at that configuration with TF_CLI_CONFIG_FILE set in the git-ignored .env file.
Please refer to the TESTING.md for testing.
관련 프로젝트 살펴보기
불러오는 중…