Skip to content

Commit

Permalink
Update Atmos stack manifest JSON schema. Fix docs (#842)
Browse files Browse the repository at this point in the history
* updates

* updates

* updates

* updates
  • Loading branch information
aknysh authored Dec 10, 2024
1 parent 36a595e commit 1bf5dc2
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 22 deletions.
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
4 changes: 2 additions & 2 deletions website/docs/core-concepts/components/terraform/backends.mdx
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

0 comments on commit 1bf5dc2

Please sign in to comment.