Skip to content

Commit

Permalink
Add more Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
voatsap committed Oct 5, 2023
1 parent 43b9431 commit 3b3bf7f
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions docs/get-started-cdev-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ aws s3 mb s3://cdev-states

### Project Configuration (`project.yaml`)

* Defines the overarching project settings. All subsequent stack configurations will inherit and can override these settings.
* It points to aws-backend as the backend, meaning that the Cluster.dev state for resources defined in this project will be stored in the S3 bucket specified in `backend.yaml`.
* Project-level variables are defined here and can be referenced in other configurations.
- Defines the overarching project settings. All subsequent stack configurations will inherit and can override these settings.
- It points to aws-backend as the backend, meaning that the Cluster.dev state for resources defined in this project will be stored in the S3 bucket specified in `backend.yaml`.
- Project-level variables are defined here and can be referenced in other configurations.

```bash
cat <<EOF > project.yaml
Expand Down Expand Up @@ -141,10 +141,10 @@ EOF
### Stack Configuration (`stack.yaml`)
* This represents a distinct set of infrastructure resources to be provisioned.
* It references a local template (in this case, the previously provided stack template) to know what resources to create.
* Variables specified in this file will be passed to the Terraform modules called in the template.
* The content variable here is especially useful; it dynamically populates the content of an S3 bucket object (a webpage in this case) using the local `index.html` file.
- This represents a distinct set of infrastructure resources to be provisioned.
- It references a local template (in this case, the previously provided stack template) to know what resources to create.
- Variables specified in this file will be passed to the Terraform modules called in the template.
- The content variable here is especially useful; it dynamically populates the content of an S3 bucket object (a webpage in this case) using the local `index.html` file.
```bash
cat <<EOF > stack.yaml
Expand Down Expand Up @@ -323,3 +323,12 @@ To remove the cluster with created resources run the command:
```bash
cdev destroy
```
## More Examples
In the Examples section you will find ready-to-use advanced Cluster.dev samples that will help you bootstrap more complex cloud infrastructures with Helm and Terraform compositions:
- [EKS cluster in AWS](https://docs.cluster.dev/-examples-aws-eks/)
- [Modify AWS-EKS](https://docs.cluster.dev/examples-modify-aws-eks/)
- [K3s cluster in AWS](https://docs.cluster.dev/examples-aws-k3s/)
- [AWS-K3s Prometheus](https://docs.cluster.dev/examples-aws-k3s-prometheus/)

0 comments on commit 3b3bf7f

Please sign in to comment.