diff --git a/.atmos.d/README.md b/.atmos.d/README.md new file mode 100644 index 0000000000..8a8cab7f21 --- /dev/null +++ b/.atmos.d/README.md @@ -0,0 +1,18 @@ +# Atmos Custom Commands + +This directory contains custom Atmos commands that are automatically loaded when you run `atmos` from the repository root. + +## Development Commands + +The `dev.yaml` file defines development workflow commands that help maintain code quality: + +- `atmos dev setup` - Set up local development environment +- `atmos dev check` - Run pre-commit hooks on staged files +- `atmos dev check-all` - Run pre-commit hooks on all files +- `atmos dev lint` - Run golangci-lint + +## Why Custom Commands? + +We use Atmos custom commands for our development workflow as a form of "dogfooding" - using our own tool to manage our development process. This ensures we experience the same workflows our users do and helps us identify areas for improvement. + +For more information on custom commands, see the [Atmos Custom Commands documentation](https://atmos.tools/core-concepts/custom-commands/). diff --git a/.atmos.d/dev.yaml b/.atmos.d/dev.yaml new file mode 100644 index 0000000000..4947be8e6a --- /dev/null +++ b/.atmos.d/dev.yaml @@ -0,0 +1,184 @@ +commands: + - name: dev + description: Development workflow commands for Atmos development + # Subcommands under 'atmos dev' + commands: + - name: setup + description: Set up local development environment + steps: + - | + echo "๐Ÿš€ Setting up Atmos development environment..." + + echo "1๏ธโƒฃ Installing Go dependencies..." + go mod download + + echo "2๏ธโƒฃ Installing pre-commit and golangci-lint..." + if ! command -v pre-commit >/dev/null 2>&1; then + if command -v brew >/dev/null 2>&1; then + echo "Installing pre-commit via Homebrew..." + brew install pre-commit + elif command -v apt-get >/dev/null 2>&1; then + echo "Installing pre-commit via apt..." + sudo apt-get update && sudo apt-get install -y pre-commit + else + echo "Installing pre-commit via pip..." + pip install --user pre-commit || pip install pre-commit + fi + else + echo "pre-commit is already installed: $(pre-commit --version)" + fi + + if ! command -v golangci-lint >/dev/null 2>&1; then + if command -v brew >/dev/null 2>&1; then + echo "Installing golangci-lint via Homebrew..." + brew install golangci-lint + else + echo "Installing golangci-lint via curl..." + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin + fi + else + echo "golangci-lint is already installed: $(golangci-lint --version)" + fi + + echo "3๏ธโƒฃ Installing pre-commit hooks..." + pre-commit install + + echo "4๏ธโƒฃ Installing Go tools..." + go install mvdan.cc/gofumpt@latest + + echo "โœ… Development environment setup complete!" + echo "" + echo "Run 'atmos dev check' to check staged files (read-only)" + echo "Run 'atmos dev check-pr' to check PR changes (read-only)" + echo "Run 'atmos dev format' to auto-format staged files" + echo "Run 'atmos dev format-pr' to auto-format PR changes" + + - name: check + description: Check staged files for issues (read-only, no modifications) + steps: + - | + echo "๐Ÿ” Checking staged files (read-only)..." + # Run checks without modifying files + STAGED_GO_FILES=$(git diff --cached --name-only --diff-filter=ACM -- '*.go' | grep -v -E '^(vendor/|tests/test-cases/|tests/testdata/|tests/snapshots/)' || true) + if [ -n "$STAGED_GO_FILES" ]; then + echo "Checking Go formatting..." + echo "$STAGED_GO_FILES" | xargs -I {} gofumpt -d {} 2>/dev/null | head -20 || true + echo "Running golangci-lint..." + golangci-lint run --new-from-rev=origin/main --config=.golangci.yml $STAGED_GO_FILES || true + fi + echo "๐Ÿ’ก To auto-fix issues, run: atmos dev format" + + - name: check-pr + description: Check PR changes for issues (read-only, no modifications) + steps: + - | + echo "๐Ÿ” Checking PR changes (read-only)..." + BASE_REF="${GITHUB_BASE_REF:-main}" + # Get changed Go files + CHANGED_GO_FILES=$(git diff origin/$BASE_REF...HEAD --name-only -- '*.go' | grep -v -E '^(vendor/|tests/test-cases/|tests/testdata/|tests/snapshots/)' || true) + if [ -n "$CHANGED_GO_FILES" ]; then + echo "Checking Go formatting..." + echo "$CHANGED_GO_FILES" | xargs -I {} gofumpt -d {} 2>/dev/null | head -20 || true + echo "Running golangci-lint..." + golangci-lint run --new-from-rev=origin/$BASE_REF --config=.golangci.yml || true + fi + echo "๐Ÿ’ก To auto-fix issues, run: atmos dev format-pr" + + - name: check-all + description: Check all files for issues (read-only, no modifications) + steps: + - | + echo "๐Ÿ” Checking all files (read-only)..." + echo "โš ๏ธ This may take a while..." + # Check formatting without modifying + echo "Checking Go formatting..." + find . -name '*.go' -not -path './vendor/*' -not -path './tests/test-cases/*' -not -path './tests/testdata/*' -not -path './tests/snapshots/*' | xargs gofumpt -d 2>/dev/null | head -50 || true + echo "Running comprehensive linting..." + golangci-lint run --config=.golangci.yml || true + echo "๐Ÿ’ก To auto-fix issues, run: atmos dev format-all (โš ๏ธ DANGEROUS)" + + - name: format + description: Auto-format staged files + steps: + - | + echo "๐Ÿ”ง Auto-formatting staged files..." + pre-commit run || true + echo "โœ… Formatting applied to staged files" + + - name: format-pr + description: Auto-format PR changes + steps: + - | + echo "๐Ÿ”ง Auto-formatting PR changes..." + BASE_REF="${GITHUB_BASE_REF:-main}" + pre-commit run --from-ref origin/$BASE_REF --to-ref HEAD || true + echo "โœ… Formatting applied to PR changes" + + - name: format-all + description: โš ๏ธ DANGEROUS - Auto-format ALL files (excludes golden snapshots) + steps: + - | + echo "โš ๏ธ WARNING: This will modify many files!" + echo " Excludes: vendor/, tests/test-cases/, tests/testdata/, tests/snapshots/" + echo " Golden snapshots and fixtures are protected." + echo "" + echo " Press Ctrl+C to cancel, or wait 5 seconds to continue..." + sleep 5 + echo "๐Ÿ”ง Auto-formatting all files..." + # Run pre-commit on all files with our exclude patterns + pre-commit run --all-files || true + echo "โœ… Formatting complete. Review changes with: git diff" + + - name: lint + description: Run golangci-lint + steps: + - golangci-lint run --config=.golangci.yml + + - name: test + description: Run tests + steps: + - go test ./... -v + + - name: validate + description: Validate code by running build, lint, and tests + steps: + - | + echo "๐Ÿ”จ Building..." + go build ./... || { echo "โŒ Build failed"; exit 1; } + + echo "๐Ÿ” Linting..." + if command -v golangci-lint >/dev/null 2>&1; then + golangci-lint run --config=.golangci.yml || { echo "โŒ Linting failed"; exit 1; } + else + echo "โš ๏ธ golangci-lint not found, falling back to go vet..." + go vet ./... || { echo "โŒ go vet failed"; exit 1; } + fi + + echo "๐Ÿงช Testing..." + go test ./... -v || { echo "โŒ Tests failed"; exit 1; } + + echo "โœ… Validation complete!" + + - name: build + description: Build the Atmos binary + steps: + - make build + + - name: quick + description: Quick build and test + steps: + - | + echo "๐Ÿƒ Running quick build and test..." + go build ./... || { echo "โŒ Build failed"; exit 1; } + go test ./... -short || { echo "โŒ Tests failed"; exit 1; } + echo "โœ… Quick check complete!" + + - name: coverage + description: Run tests with coverage report + steps: + - | + echo "๐Ÿ“Š Running tests with coverage..." + go test -coverprofile=coverage.out ./... + go tool cover -html=coverage.out -o coverage.html + echo "โœ… Coverage report generated: coverage.html" + echo " Run 'open coverage.html' to view in browser" diff --git a/.cursor/rules/atmos-rules.mdc b/.cursor/rules/atmos-rules.mdc index 808b603bf5..db5767922f 100644 --- a/.cursor/rules/atmos-rules.mdc +++ b/.cursor/rules/atmos-rules.mdc @@ -238,4 +238,4 @@ func initConfig() { ### Release Process - Follow semantic versioning - Update CHANGELOG.md with each release -- Create GitHub releases with detailed release notes \ No newline at end of file +- Create GitHub releases with detailed release notes diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f3df96b5dd..2f2014967c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -34,4 +34,4 @@ Anything that will help us triage the bug will help. Here are some ideas: - Version [e.g. 10.15] ## Additional Context -Add any other context about the problem here. \ No newline at end of file +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 94d3246036..f40fe2f560 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -8,7 +8,7 @@ body: attributes: value: | Found a bug? - + Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/). diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 76ae6d67a0..918f371c10 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -15,4 +15,4 @@ contact_links: - name: DevOps Accelerator Program url: https://cloudposse.com/accelerate/ about: |- - Own your infrastructure in record time. We build it. You drive it. + Own your infrastructure in record time. We build it. You drive it. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 7b8667277f..44047f02e9 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -8,7 +8,7 @@ body: attributes: value: | Have a question? - + Please checkout our [Slack Community](https://slack.cloudposse.com) or visit our [Slack Archive](https://archive.sweetops.com/). @@ -39,7 +39,7 @@ body: description: | Is your feature request related to a problem/challenge you are trying to solve? - + Please provide some additional context of why this feature or capability will be valuable. validations: diff --git a/.github/actions/remove-dependabot-semver-labels/action.yml b/.github/actions/remove-dependabot-semver-labels/action.yml index 318a65c7cd..5ecdf23f59 100644 --- a/.github/actions/remove-dependabot-semver-labels/action.yml +++ b/.github/actions/remove-dependabot-semver-labels/action.yml @@ -23,7 +23,7 @@ runs: console.log('Not a pull request event, skipping label cleanup'); return; } - + // Check if the PR author is Dependabot const prAuthor = context.payload.pull_request.user.login; if (prAuthor !== 'dependabot[bot]') { @@ -79,4 +79,3 @@ runs: console.log('โš ๏ธ Warning: no-release label is missing from this Dependabot PR'); console.log(' This label should be added via .github/dependabot.yml configuration'); } - diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 18ae65b31a..464d85827e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -51,4 +51,3 @@ updates: ignore: - dependency-name: "*" update-types: ["version-update:semver-major"] - diff --git a/.github/settings.yml b/.github/settings.yml index c523a6e313..5cbace5264 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -11,7 +11,7 @@ environments: custom_branches: - name: "**/*" type: branch - + - name: demo deployment_branch_policy: custom_branches: @@ -22,4 +22,3 @@ labels: - name: release/feature color: '#d73a4a' description: Create release from this PR - diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index daa8cc6bd8..0420d39436 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -1,6 +1,6 @@ --- # The workflow name **must** be "autofix.ci" for Autofix CI to function correctly. -# Any deviation from this name will cause Autofix CI to fail, as it relies on this +# Any deviation from this name will cause Autofix CI to fail, as it relies on this # specific identifier for execution. This is a strict requirement of Autofix CI. name: autofix.ci on: pull_request @@ -41,6 +41,6 @@ jobs: run: | # shellcheck disable=SC2086 gofumpt -l -w $ALL_CHANGED_FILES - + - uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1.3.1 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000000..07d859a13c --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,51 @@ +name: Pre-commit + +on: + pull_request: + types: [opened, synchronize, reopened] + +env: + # Ensure pre-commit uses the right Python version + PYTHON_VERSION: "3.11" + +jobs: + pre-commit: + name: Run pre-commit hooks + runs-on: ubuntu-latest + timeout-minutes: 15 + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + with: + # Fetch full history for proper diff checking + fetch-depth: 0 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + cache: true + + - name: Install Go tools + run: | + # Install gofumpt for pre-commit + go install mvdan.cc/gofumpt@latest + + # Install golangci-lint + go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest + + # Add Go bin to PATH + echo "$(go env GOPATH)/bin" >> $GITHUB_PATH + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + + - name: Run CloudPosse pre-commit action + uses: cloudposse/github-action-pre-commit@v4.0.0 + with: + # Run against files changed in the PR only + # This prevents formatting/checking unrelated files + extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref HEAD diff --git a/.github/workflows/screengrabs.yaml b/.github/workflows/screengrabs.yaml index 27d90896e0..9fe1bd1810 100644 --- a/.github/workflows/screengrabs.yaml +++ b/.github/workflows/screengrabs.yaml @@ -83,4 +83,3 @@ jobs: This PR updates the screengrabs for Atmos version ${{ needs.prepare.outputs.version }}. base: main labels: "no-release" - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1cf2c6af09..088296c6ff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -76,7 +76,7 @@ jobs: - name: Upload build artifacts uses: actions/upload-artifact@v4 - if: ${{ ! ( matrix.target == 'windows' && github.event.pull_request.draft ) }} + if: ${{ ! ( matrix.target == 'windows' && github.event.pull_request.draft ) }} with: name: build-artifacts-${{ matrix.target }} path: | diff --git a/.github/workflows/vhs.yaml b/.github/workflows/vhs.yaml index 529ee50743..d629e207fb 100644 --- a/.github/workflows/vhs.yaml +++ b/.github/workflows/vhs.yaml @@ -34,7 +34,7 @@ jobs: - name: Get modified .tape files id: tapes env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} run: | if [[ "${{ steps.labeled.outputs.labeled }}" == "true" ]]; then echo "files=$(find . -path './build-harness' -prune -o -type f -name '*.tape' ! -name 'style.tape' ! -name 'defaults.tape' -print | cut -d/ -f2-)" >> $GITHUB_OUTPUT @@ -51,7 +51,7 @@ jobs: outputs: matrix: ${{ steps.create-matrix.outputs.matrix }} labeled: ${{ steps.labeled.outputs.labeled }} - + vhs: needs: [prepare] if: needs.prepare.outputs.matrix != '[]' @@ -63,18 +63,18 @@ jobs: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.file }} cancel-in-progress: true steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - name: Install atmos uses: jaxxstorm/action-install-gh-release@v1.14.0 with: # Grab the latest version repo: cloudposse/atmos chmod: 0755 - extension-matching: disable - rename-to: atmos + extension-matching: disable + rename-to: atmos - uses: charmbracelet/vhs-action@v1 - with: + with: token: ${{ secrets.GITHUB_TOKEN }} path: ${{ matrix.file }} install-fonts: true diff --git a/.gitignore b/.gitignore index 8c4e602359..dbcd278e6c 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,11 @@ **/.atmos/cache.yaml **/cache.*.txt +# Development configs - track only specific files +.atmos.d/* +!.atmos.d/dev.yaml +!.atmos.d/README.md + # Ignore components vendored during tests examples/demo-vendoring/components/** tests/fixtures/scenarios/vendor-globs/components/** diff --git a/.golangci.yml b/.golangci.yml index 6417a2954a..78d85f13b6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -107,7 +107,6 @@ linters: - name: function-result-limit arguments: - 3 - severity: warning - name: cognitive-complexity arguments: - 25 @@ -129,7 +128,6 @@ linters: arguments: - mypragma - otherpragma - severity: warning disabled: false - name: var-declaration exclusions: @@ -160,17 +158,6 @@ linters: issues: max-issues-per-linter: 0 max-same-issues: 0 -severity: - default: error - rules: - - linters: - - cognitive-complexity - - cyclomatic - - function-length - - function-result-limit - - nestif - - nolintlint - severity: warning formatters: enable: - gofumpt diff --git a/.goreleaser.draft.yml b/.goreleaser.draft.yml index 9a1fb964da..753c9c22a0 100644 --- a/.goreleaser.draft.yml +++ b/.goreleaser.draft.yml @@ -13,7 +13,7 @@ builds: goos: - 'linux' - 'darwin' - goarch: + goarch: - 'amd64' - 'arm64' binary: atmos @@ -40,7 +40,7 @@ release: make_latest: false name_template: '{{.Tag}}' target_commitish: "{{ .Branch }}" - prerelease: auto + prerelease: auto ## ----- DO NOT CHANGE ----- ## changelog: diff --git a/.goreleaser.yml b/.goreleaser.yml index 0629689320..04a757f75b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,7 @@ builds: - 'darwin' - 'freebsd' - 'windows' - goarch: + goarch: - 'amd64' - 'arm64' - '386' @@ -44,7 +44,7 @@ release: make_latest: false name_template: '{{.Tag}}' target_commitish: "{{ .Branch }}" - prerelease: auto + prerelease: auto ## ----- DO NOT CHANGE ----- ## changelog: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000..2c261e1dfb --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,44 @@ +repos: + # Go-specific hooks + - repo: https://github.com/tekwizely/pre-commit-golang + rev: v1.0.0-rc.1 + hooks: + - id: go-fumpt + args: [-w] + exclude: ^(vendor/|tests/test-cases/|tests/testdata/|tests/snapshots/) + + - id: go-build-mod + name: Check Go build + description: Ensure code compiles before commit + + - id: go-mod-tidy + name: Tidy go.mod + description: Ensure go.mod and go.sum are clean + + # Run golangci-lint using system binary to avoid Go 1.25 compatibility issues + - repo: local + hooks: + - id: golangci-lint + name: golangci-lint + description: Run golangci-lint on modified Go files + entry: golangci-lint run --new-from-rev=origin/main --config=.golangci.yml + language: system + types: [go] + pass_filenames: false + require_serial: true + exclude: ^(vendor/|tests/test-cases/|tests/testdata/|tests/snapshots/) + + # General file hygiene + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: trailing-whitespace + exclude: ^(vendor/|tests/test-cases/|tests/testdata/|tests/snapshots/|.*\.md) + - id: end-of-file-fixer + exclude: ^(vendor/|tests/test-cases/|tests/testdata/|tests/snapshots/) + - id: check-yaml + exclude: ^(vendor/) + args: [--allow-multiple-documents, --unsafe] + - id: check-added-large-files + args: [--maxkb=500] + exclude: ^(docs/demo.gif|website/) diff --git a/CLAUDE.md b/CLAUDE.md index 352cad4816..9f30074d6b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -661,4 +661,4 @@ The project includes Cursor rules in `.cursor/rules/atmos-rules.mdc` covering: - **Never assume code changes work** without compilation verification - **Use build-and-test pattern**: `go build -o binary . && go test ./... 2>&1` - **Fix compilation errors immediately** - Do not proceed with additional changes until compilation succeeds -- **This prevents undefined function/variable errors** that waste time and create broken commits \ No newline at end of file +- **This prevents undefined function/variable errors** that waste time and create broken commits diff --git a/cmd/aws_eks.go b/cmd/aws_eks.go index 2e6cba71d6..adef3f27a9 100644 --- a/cmd/aws_eks.go +++ b/cmd/aws_eks.go @@ -11,7 +11,7 @@ var awsEksCmd = &cobra.Command{ Long: `Manage Amazon EKS clusters using AWS CLI, including configuring kubeconfig and performing cluster-related operations. You can use this command to interact with AWS EKS, including operations like configuring kubeconfig, managing clusters, and more. - + For a list of available AWS EKS commands, refer to the Atmos documentation: https://atmos.tools/cli/commands/aws/eks-update-kubeconfig`, FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, diff --git a/cmd/markdown/atmos_about_usage.md b/cmd/markdown/atmos_about_usage.md index 13fed245d6..57193313fe 100644 --- a/cmd/markdown/atmos_about_usage.md +++ b/cmd/markdown/atmos_about_usage.md @@ -2,4 +2,4 @@ ``` $ atmos about -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_atlantis_generate_repo_config_usage.md b/cmd/markdown/atmos_atlantis_generate_repo_config_usage.md index 3e9373c235..f5e0205d8f 100644 --- a/cmd/markdown/atmos_atlantis_generate_repo_config_usage.md +++ b/cmd/markdown/atmos_atlantis_generate_repo_config_usage.md @@ -58,4 +58,4 @@ ```bash $ atmos atlantis generate repo-config --affected-only --ssh-key --ssh-key-password -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_describe_component_usage.md b/cmd/markdown/atmos_describe_component_usage.md index 235c80d6e2..eef370c6a1 100644 --- a/cmd/markdown/atmos_describe_component_usage.md +++ b/cmd/markdown/atmos_describe_component_usage.md @@ -26,4 +26,4 @@ ``` $ atmos describe component -s --skip=terraform.output -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_describe_config_usage.md b/cmd/markdown/atmos_describe_config_usage.md index 0894c5a8fc..f19f71e2fb 100644 --- a/cmd/markdown/atmos_describe_config_usage.md +++ b/cmd/markdown/atmos_describe_config_usage.md @@ -2,4 +2,4 @@ ``` $ atmos describe config -f json|yaml -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_describe_dependents_usage.md b/cmd/markdown/atmos_describe_dependents_usage.md index 7f90433055..ad28f40657 100644 --- a/cmd/markdown/atmos_describe_dependents_usage.md +++ b/cmd/markdown/atmos_describe_dependents_usage.md @@ -8,4 +8,4 @@ ``` $ atmos describe dependents -s --file dependents.yaml -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_describe_stacks_usage.md b/cmd/markdown/atmos_describe_stacks_usage.md index 375da4eb5a..523efd8483 100644 --- a/cmd/markdown/atmos_describe_stacks_usage.md +++ b/cmd/markdown/atmos_describe_stacks_usage.md @@ -56,4 +56,4 @@ ``` $ atmos describe stacks --skip=terraform.output -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_helmfile_generate_varfile_usage.md b/cmd/markdown/atmos_helmfile_generate_varfile_usage.md index 0dcc3d07e9..c1f78d5411 100644 --- a/cmd/markdown/atmos_helmfile_generate_varfile_usage.md +++ b/cmd/markdown/atmos_helmfile_generate_varfile_usage.md @@ -2,4 +2,4 @@ ``` $ atmos helmfile generate varfile -s -f -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_list_values_usage.md b/cmd/markdown/atmos_list_values_usage.md index 4ca03ac491..300c0c3ee8 100644 --- a/cmd/markdown/atmos_list_values_usage.md +++ b/cmd/markdown/atmos_list_values_usage.md @@ -67,4 +67,3 @@ ``` - Stack patterns support glob matching (e.g., `*-dev-*`, `prod-*`, `*-{dev,staging}-*`) - diff --git a/cmd/markdown/atmos_list_vars_usage.md b/cmd/markdown/atmos_list_vars_usage.md index 58f147fb4d..f6290e238c 100644 --- a/cmd/markdown/atmos_list_vars_usage.md +++ b/cmd/markdown/atmos_list_vars_usage.md @@ -42,4 +42,3 @@ ``` - Stack patterns support glob matching (e.g., `*-dev-*`, `prod-*`, `*-{dev,staging}-*`) - diff --git a/cmd/markdown/atmos_terraform_apply_usage.md b/cmd/markdown/atmos_terraform_apply_usage.md index c8c51664bf..185e3796c9 100644 --- a/cmd/markdown/atmos_terraform_apply_usage.md +++ b/cmd/markdown/atmos_terraform_apply_usage.md @@ -2,4 +2,4 @@ ``` $ atmos terraform apply -s -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_terraform_plan_usage.md b/cmd/markdown/atmos_terraform_plan_usage.md index ee997862cc..d4b2cbfbbb 100644 --- a/cmd/markdown/atmos_terraform_plan_usage.md +++ b/cmd/markdown/atmos_terraform_plan_usage.md @@ -2,4 +2,4 @@ ``` $ atmos terraform plan -s -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_terraform_usage.md b/cmd/markdown/atmos_terraform_usage.md index 3eb82f7978..50da97e553 100644 --- a/cmd/markdown/atmos_terraform_usage.md +++ b/cmd/markdown/atmos_terraform_usage.md @@ -2,4 +2,4 @@ ``` $ atmos terraform [subcommand] -s -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_validate_component_usage.md b/cmd/markdown/atmos_validate_component_usage.md index 472431e0fb..413c2e90eb 100644 --- a/cmd/markdown/atmos_validate_component_usage.md +++ b/cmd/markdown/atmos_validate_component_usage.md @@ -20,4 +20,4 @@ ```bash $ atmos validate component -s --timeout 15 -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_validate_schema_usage.md b/cmd/markdown/atmos_validate_schema_usage.md index d4c7400c93..a69e0054ed 100644 --- a/cmd/markdown/atmos_validate_schema_usage.md +++ b/cmd/markdown/atmos_validate_schema_usage.md @@ -8,4 +8,4 @@ ``` $ atmos validate schema [schemaToValidate] -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_validate_stacks_usage.md b/cmd/markdown/atmos_validate_stacks_usage.md index 1fdc6866e8..2edb5cd369 100644 --- a/cmd/markdown/atmos_validate_stacks_usage.md +++ b/cmd/markdown/atmos_validate_stacks_usage.md @@ -2,4 +2,4 @@ ```bash $ atmos validate stacks --schemas-atmos-manifest -``` \ No newline at end of file +``` diff --git a/cmd/markdown/atmos_vendor_pull_usage.md b/cmd/markdown/atmos_vendor_pull_usage.md index d2961fdc44..42d430a6f7 100644 --- a/cmd/markdown/atmos_vendor_pull_usage.md +++ b/cmd/markdown/atmos_vendor_pull_usage.md @@ -26,4 +26,4 @@ ```bash $ atmos vendor pull --everything -``` \ No newline at end of file +``` diff --git a/cmd/markdown/support.md b/cmd/markdown/support.md index 2ac92034a6..f79027b2a2 100644 --- a/cmd/markdown/support.md +++ b/cmd/markdown/support.md @@ -28,4 +28,4 @@ Included with sponsorship, we host **30-minute workshops twice a week** to: Workshops are tailored to help you succeed with Atmos, our AWS Reference Architectures, and related tools. > **Note**: Paid support includes priority responses. -> [](https://github.com/sponsors/cloudposse) \ No newline at end of file +> [](https://github.com/sponsors/cloudposse) diff --git a/cmd/packer_inspect.go b/cmd/packer_inspect.go index 4b107024d5..a93b32e30b 100644 --- a/cmd/packer_inspect.go +++ b/cmd/packer_inspect.go @@ -13,8 +13,8 @@ var ( Example usage: atmos packer inspect --stack - atmos packer inspect --stack --template