-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New features and improvements (#437)
* Add Atmos custom commands * Update Go and packages versions * Add Sprig functions support to Atmos vendoring Go templates * Update `context` in imports * Update `context` in imports * Update `context` in imports * Update `context` in imports * Update `context` in imports * Update `context` in imports * Add global `terraform.command` and `helmfile.command` sections * Update `atmos terraform clean` command * Update Atmos help * Update Atmos help * Update Atmos help * Update Atmos help * Update Atmos help * Add OCI support to `atmos vendor` * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add OCI support to `atmos vendor` command * Add examples of Rego policies for Atmos components and stacks validation * Add examples of Rego policies for Atmos components and stacks validation * Add examples of Rego policies for Atmos components and stacks validation * Add examples of Rego policies for Atmos components and stacks validation * Update internal/exec/oci_utils.go Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * updates * Update website/docs/core-concepts/components/component-validation.md Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]> * updates * updates * updates * updates * updates --------- Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
- Loading branch information
Showing
27 changed files
with
1,322 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
examples/complete/components/terraform/infra/vpc2/component.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This is an example of how to download a Terraform component from an OCI registry (https://opencontainers.org), e.g. AWS Public ECR | ||
|
||
# 'component.yaml' in the component folder is processed by the 'atmos' commands | ||
# 'atmos vendor pull -c infra/vpc2' or 'atmos vendor pull --component infra/vpc2' | ||
|
||
apiVersion: atmos/v1 | ||
kind: ComponentVendorConfig | ||
metadata: | ||
name: stable/aws/vpc | ||
description: Config for vendoring of 'stable/aws/vpc' component | ||
spec: | ||
source: | ||
# Source 'uri' supports the following protocols: OCI (https://opencontainers.org), Git, Mercurial, HTTP, HTTPS, Amazon S3, Google GCP, | ||
# and all URL and archive formats as described in https://github.com/hashicorp/go-getter | ||
# In 'uri', Golang templates are supported https://pkg.go.dev/text/template | ||
# If 'version' is provided, '{{.Version}}' will be replaced with the 'version' value before pulling the files from 'uri' | ||
# Download the component from the AWS public ECR registry (https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html) | ||
uri: "oci://public.ecr.aws/cloudposse/components/terraform/stable/aws/vpc:{{.Version}}" | ||
version: "latest" | ||
# Only include the files that match the 'included_paths' patterns | ||
# If 'included_paths' is not specified, all files will be matched except those that match the patterns from 'excluded_paths' | ||
# 'included_paths' support POSIX-style Globs for file names/paths (double-star `**` is supported) | ||
# https://en.wikipedia.org/wiki/Glob_(programming) | ||
# https://github.com/bmatcuk/doublestar#patterns | ||
included_paths: | ||
- "**/*.*" |
Oops, something went wrong.