29 lines
871 B
Text
29 lines
871 B
Text
|
|
# KCL Version configuration for AWS provider tools
|
||
|
|
# Uses centralized schema definitions from provisioning.version
|
||
|
|
import provisioning.version as prv_schema
|
||
|
|
|
||
|
|
# AWS CLI tool configuration
|
||
|
|
_version = prv_schema.TaskservVersion {
|
||
|
|
name = "aws"
|
||
|
|
version = prv_schema.Version {
|
||
|
|
current = "2.32.11"
|
||
|
|
source = "https://github.com/aws/aws-cli/releases"
|
||
|
|
tags = "https://github.com/aws/aws-cli/tags"
|
||
|
|
site = "https://aws.amazon.com/cli/"
|
||
|
|
# Can auto-update for CLI tools
|
||
|
|
check_latest = True
|
||
|
|
grace_period = 86400
|
||
|
|
}
|
||
|
|
dependencies = []
|
||
|
|
# Detection configuration to check if AWS CLI is installed
|
||
|
|
detector = {
|
||
|
|
method = "command"
|
||
|
|
command = "aws --version"
|
||
|
|
pattern = r"aws-cli/(?P<capture0>[\d.]+)"
|
||
|
|
capture = "capture0"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
# Output for dynamic version loading system
|
||
|
|
_version
|