Skip to content

Commit b171c04

Browse files
committed
Add no-cody deployment settings to Rest API docs
1 parent 38b1b9b commit b171c04

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

content/docs/pulumi-cloud/reference/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The Pulumi Cloud REST API is organized into the following resource categories:
5151
- [Resources Under Management](/docs/pulumi-cloud/reference/resources-under-management/) - Query managed resources
5252
- [Schedules](/docs/pulumi-cloud/reference/schedules/) - Configure scheduled tasks
5353
- [Services](/docs/pulumi-cloud/reference/services/) - Interact with service information
54+
- [Stack Config](/docs/pulumi-cloud/reference/stack-config/) - Manage configuration settings for stacks
5455
- [Stack Policy](/docs/pulumi-cloud/reference/stack-policy/) - Apply and manage policy on stacks
5556
- [Stack Tags](/docs/pulumi-cloud/reference/stack-tags/) - Manage metadata tags on stacks
5657
- [Stack Updates](/docs/pulumi-cloud/reference/stack-updates/) - Manage the update lifecycle for stacks

content/docs/pulumi-cloud/reference/deployments/_index.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,9 @@ or with credentials:
937937

938938
### SourceContext
939939

940-
The source context contains information about where the source code for your project is located. Currently, only git repos are supported as a source.
940+
The source context contains information about where the source code for your project is located. Currently, git repos or templates are supported as a source.
941+
942+
#### Git
941943

942944
```json
943945
{
@@ -949,8 +951,6 @@ The source context contains information about where the source code for your pro
949951
}
950952
```
951953

952-
#### Properties
953-
954954
| Name | Type | Description |
955955
|---------------|----------------|--------------------------------------------------|
956956
| `git.repoURL` | string | **Optional.** URL of the git repository. |
@@ -959,6 +959,24 @@ The source context contains information about where the source code for your pro
959959
| `git.commit` | string | **Optional.** Hash of the commit to deploy. Mutually exclusive with branch. |
960960
| `git.gitAuth` | object | **Optional.** Authentication information for the git repo. |
961961

962+
#### Template
963+
964+
Using templates as the source for the deployment enables users to deploy Pulumi programs without having to manage the underlying IaC code.
965+
Leverage [Stack Config](/docs/pulumi-cloud/reference/stack-config/) to manage configuration settings for these template based stacks, including environment settings and secrets management configuration.
966+
967+
```json
968+
{
969+
"template": {
970+
"sourceUrl": "https://github.com/pulumi/templates/kubernetes-aws-yaml"
971+
}
972+
}
973+
```
974+
975+
| Name | Type | Description |
976+
|-------------------------|--------|-----------------------------------------------------------------------------|
977+
| `template.sourceURL` | string | URL of the template. |
978+
| `template.gitAuth` | object | **Optional.** Authentication information for templates hosted in git repos. |
979+
962980
### OperationContext
963981

964982
The operation context describes any context required for Pulumi operations to execute such as pre-run commands and environment variables.

content/docs/pulumi-cloud/reference/stack-config/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ menu:
88
weight: 20
99
---
1010

11-
Stack config endpoints allow you to manage configuration settings for your Pulumi stacks, including environment settings and secrets management configuration. If stack configuration is returned by the API, it used in place of the local stack config file (e.g. `Pulumi.[stack].yaml`).
11+
Stack config endpoints allow you to manage configuration settings for your Pulumi stacks, including environment settings and secrets management configuration. If stack configuration is returned by the API, it is used in place of the local stack config file (e.g. `Pulumi.[stack].yaml`).
1212

1313
## Stack Config Operations
1414

0 commit comments

Comments
 (0)