Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Atmos stack manifest JSON schema. Fix docs #842

Merged
merged 4 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions examples/demo-context/schemas/atmos-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,21 +320,29 @@
"real"
]
},
"enabled": {
"type": "boolean",
"description": "Flag to enable or disable the component"
},
"component": {
"type": "string"
"type": "string",
"description": "Terraform/OpenTofu/Helmfile component"
},
"inherits": {
"type": "array",
"description": "A list of Atmos components that the current component inherits from",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"terraform_workspace": {
"type": "string"
"type": "string",
"description": "Terraform workspace"
},
"terraform_workspace_pattern": {
"type": "string"
"type": "string",
"description": "Terraform workspace pattern"
},
"custom": {
"type": "object",
Expand Down
14 changes: 11 additions & 3 deletions examples/demo-helmfile/schemas/atmos-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,21 +320,29 @@
"real"
]
},
"enabled": {
"type": "boolean",
"description": "Flag to enable or disable the component"
},
"component": {
"type": "string"
"type": "string",
"description": "Terraform/OpenTofu/Helmfile component"
},
"inherits": {
"type": "array",
"description": "A list of Atmos components that the current component inherits from",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"terraform_workspace": {
"type": "string"
"type": "string",
"description": "Terraform workspace"
},
"terraform_workspace_pattern": {
"type": "string"
"type": "string",
"description": "Terraform workspace pattern"
},
"custom": {
"type": "object",
Expand Down
14 changes: 11 additions & 3 deletions examples/demo-localstack/schemas/atmos-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,21 +320,29 @@
"real"
]
},
"enabled": {
"type": "boolean",
"description": "Flag to enable or disable the component"
},
"component": {
"type": "string"
"type": "string",
"description": "Terraform/OpenTofu/Helmfile component"
},
"inherits": {
"type": "array",
"description": "A list of Atmos components that the current component inherits from",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"terraform_workspace": {
"type": "string"
"type": "string",
"description": "Terraform workspace"
},
"terraform_workspace_pattern": {
"type": "string"
"type": "string",
"description": "Terraform workspace pattern"
},
"custom": {
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion examples/quick-start-advanced/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG GEODESIC_OS=debian
# https://atmos.tools/
# https://github.com/cloudposse/atmos
# https://github.com/cloudposse/atmos/releases
ARG ATMOS_VERSION=1.121.0
ARG ATMOS_VERSION=1.122.0

# Terraform: https://github.com/hashicorp/terraform/releases
ARG TF_VERSION=1.5.7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,21 +320,29 @@
"real"
]
},
"enabled": {
"type": "boolean",
"description": "Flag to enable or disable the component"
},
"component": {
"type": "string"
"type": "string",
"description": "Terraform/OpenTofu/Helmfile component"
},
"inherits": {
"type": "array",
"description": "A list of Atmos components that the current component inherits from",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"terraform_workspace": {
"type": "string"
"type": "string",
"description": "Terraform workspace"
},
"terraform_workspace_pattern": {
"type": "string"
"type": "string",
"description": "Terraform workspace pattern"
},
"custom": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ Configuring Terraform S3 backend with Atmos consists of three steps:
```yaml
components:
terraform:
# Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_AUTO_GENERATE_BACKEND_FILE' ENV var, or '--auto-generate-backend-file' command-line argument
auto_generate_backend_file: true
# Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_AUTO_GENERATE_BACKEND_FILE' ENV var, or '--auto-generate-backend-file' command-line argument
auto_generate_backend_file: true
```
</Terminal>

Expand Down
2 changes: 1 addition & 1 deletion website/docs/core-concepts/stacks/overrides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -362,5 +362,5 @@ terraform:
:::

:::tip
Refer to [`atmosxw describe component`](/cli/commands/describe/component) CLI command for more details
Refer to [`atmos describe component`](/cli/commands/describe/component) CLI command for more details
:::
2 changes: 1 addition & 1 deletion website/docs/integrations/atlantis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ on:
branches: [ main ]
env:
ATMOS_VERSION: 1.121.0
ATMOS_VERSION: 1.122.0
ATMOS_CLI_CONFIG_PATH: ./
jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ Configuring Terraform S3 backend with Atmos consists of the three steps:
```yaml
components:
terraform:
# Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_AUTO_GENERATE_BACKEND_FILE' ENV var, or '--auto-generate-backend-file' command-line argument
auto_generate_backend_file: true
# Can also be set using 'ATMOS_COMPONENTS_TERRAFORM_AUTO_GENERATE_BACKEND_FILE' ENV var, or '--auto-generate-backend-file' command-line argument
auto_generate_backend_file: true
```
</File>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,21 +320,29 @@
"real"
]
},
"enabled": {
"type": "boolean",
"description": "Flag to enable or disable the component"
},
"component": {
"type": "string"
"type": "string",
"description": "Terraform/OpenTofu/Helmfile component"
},
"inherits": {
"type": "array",
"description": "A list of Atmos components that the current component inherits from",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"terraform_workspace": {
"type": "string"
"type": "string",
"description": "Terraform workspace"
},
"terraform_workspace_pattern": {
"type": "string"
"type": "string",
"description": "Terraform workspace pattern"
},
"custom": {
"type": "object",
Expand Down
Loading