- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
55 lines
943 B
Plaintext
55 lines
943 B
Plaintext
# AWS Provider Configuration Schema
|
|
|
|
let defaults = import "./aws-defaults.ncl" in
|
|
|
|
{
|
|
# Contract definitions
|
|
|
|
AWSAuth = {
|
|
interface | String, # API or CLI
|
|
region | String,
|
|
},
|
|
|
|
AWSPaths = {
|
|
base | String,
|
|
cache | String,
|
|
state | String,
|
|
},
|
|
|
|
AWSAPI = {
|
|
url | String,
|
|
timeout | Number,
|
|
region | String,
|
|
},
|
|
|
|
AWSProvider = {
|
|
name | String,
|
|
enabled | Bool,
|
|
workspace | String,
|
|
auth | AWSAuth,
|
|
paths | AWSPaths,
|
|
api | AWSAPI,
|
|
},
|
|
|
|
# Hybrid interface
|
|
defaults = defaults,
|
|
|
|
make_auth | not_exported = fun o =>
|
|
defaults.auth & o,
|
|
|
|
make_paths | not_exported = fun o =>
|
|
defaults.paths & o,
|
|
|
|
make_api | not_exported = fun o =>
|
|
defaults.api & o,
|
|
|
|
make_aws | not_exported = fun o =>
|
|
defaults.aws & o,
|
|
|
|
# Default instances
|
|
DefaultAuth = defaults.auth,
|
|
DefaultPaths = defaults.paths,
|
|
DefaultAPI = defaults.api,
|
|
DefaultAWSProvider = defaults.aws,
|
|
}
|