Skip to content

Commit

Permalink
Terraform feature support (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzaakiirr authored Jan 22, 2025
1 parent 5d392e7 commit 016357d
Show file tree
Hide file tree
Showing 67 changed files with 5,797 additions and 24 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@

/spec.log
/spec/dummy/.controlplane/controlplane*-tmp-*.yml

# Generated configs
/terraform/
/.controlplane/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ development purposes.

## Scheduled Jobs

Control Plane supports scheduled jobs via [cron workloads](https://docs.controlplane.com/reference/workload/types#cron).
Control Plane supports scheduled jobs via [cron workloads](https://shakadocs.controlplane.com/reference/workload/types#cron).

Here's a partial example of a template for a cron workload, using the app image:

Expand Down
16 changes: 16 additions & 0 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,22 @@ cpflow run -a $APP_NAME --entrypoint /app/alternative-entrypoint.sh -- rails db:
cpflow setup-app -a $APP_NAME
```
### `terraform generate`
- Generates terraform configuration files based on `controlplane.yml` and `templates/` config
```sh
cpflow terraform generate
```
### `terraform import`
- Imports terraform resources from the generated configuration files
```sh
cpflow terraform import
```
### `version`
- Displays the current version of the CLI
Expand Down
Loading

0 comments on commit 016357d

Please sign in to comment.