Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cue-sh/cfn-cue
https://github.com/cue-sh/cfn-cue
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cue-sh/cfn-cue
- Owner: cue-sh
- License: apache-2.0
- Created: 2021-03-09T16:23:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T18:45:13.000Z (10 months ago)
- Last Synced: 2024-06-19T04:11:12.329Z (5 months ago)
- Language: CUE
- Homepage:
- Size: 19.9 MB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cue - cfn-cue - Generated CUE schema from CloudFormation Resource Specification. (Projects)
README
# cfn-cue
This generates CUE schema from [CloudFormation Resource Specification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html).
Specifically, it uses the [`cfn-python-lint`](https://github.com/aws-cloudformation/cfn-python-lint) extended specs (e.g. [`us-west-2`](https://raw.githubusercontent.com/aws-cloudformation/cfn-python-lint/master/src/cfnlint/data/CloudSpecs/us-west-2.json)).
You can get the latest specs by running `go run .` in the root of this repo. That will generate specs in [`pkg/github.com/TangoGroup/aws`](pkg/github.com/TangoGroup/aws).
Another important file is `pkg/github.com/TangoGroup/aws/fn/fn.cue`. This defines the [CloudFormation Intrinsic Functions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html).