You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added atmos readme
* Added migration
* Replace YQ with sed
* Remove includes docs/github-action.md and docs/target.md from README.yaml as atmos generate it on fly
* Remove github-action-atmos-dependencies-test GHA
@@ -64,6 +67,10 @@ To add all repository bootstrapping files to a new repo:
64
67
65
68
66
69
70
+
71
+
72
+
73
+
67
74
## ✨ Contributing
68
75
69
76
This project is under active development, and we encourage contributions from our community.
@@ -88,6 +95,38 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
88
95
89
96
**NOTE:** Be sure to merge the latest changes from "upstream" before making a pull request!
90
97
98
+
99
+
## Running Terraform Tests
100
+
101
+
We use [Atmos](https://atmos.tools) to streamline how Terraform tests are run. It centralizes configuration and wraps common test workflows with easy-to-use commands.
102
+
103
+
All tests are located in the [`test/`](test) folder.
104
+
105
+
Under the hood, tests are powered by Terratest together with our internal [Test Helpers](https://github.com/cloudposse/test-helpers) library, providing robust infrastructure validation.
- Install Go [1.24+ or newer](https://go.dev/doc/install)
110
+
- Install Terraform or OpenTofu
111
+
112
+
To run tests:
113
+
114
+
- Run all tests:
115
+
```sh
116
+
atmos test run
117
+
```
118
+
- Clean up test artifacts:
119
+
```sh
120
+
atmos test clean
121
+
```
122
+
- Explore additional test options:
123
+
```sh
124
+
atmos test --help
125
+
```
126
+
The configuration for test commands is centrally managed. To review what's being imported, see the [`atmos.yaml`](https://raw.githubusercontent.com/cloudposse/.github/refs/heads/main/.github/atmos/terraform-module.yaml) file.
127
+
128
+
Learn more about our [automated testing in our documentation](https://docs.cloudposse.com/community/contribute/automated-testing/) or implementing [custom commands](https://atmos.tools/core-concepts/custom-commands/) with atmos.
129
+
91
130
### 🌎 Slack Community
92
131
93
132
Join our [Open Source Community](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/.github&utm_content=slack) on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
@@ -139,7 +178,7 @@ All other trademarks referenced herein are the property of their respective owne
0 commit comments