published on Friday, Nov 13, 2026 by cloudfoundry
published on Friday, Nov 13, 2026 by cloudfoundry
Provides a Cloud Foundry resource to manage applications.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudfoundry from "@pulumi/cloudfoundry";
import * as zipper from "@pulumi/zipper";
const fixture = new zipper.File("fixture", {
source: "https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git",
outputPath: "cf-sample-app-nodejs.zip",
});
const gobis_server = new cloudfoundry.App("gobis-server", {
name: "tf-test-do-not-delete-nodejs",
spaceName: "tf-space-1",
orgName: "PerformanceTeamBLR",
path: fixture.outputPath,
sourceCodeHash: fixture.outputSha,
instances: 1,
environment: {
MY_ENV: "red",
},
strategy: "rolling",
serviceBindings: [{
serviceInstance: "xsuaa-tf",
params: `{
\\"xsappname\\": \\"tf-test-app\\",
\\"tenant-mode\\": \\"dedicated\\",
\\"description\\": \\"tf test123\\",
\\"foreign-scope-references\\": [\\"user_attributes\\"],
\\"scopes\\": [
{
\\"name\\": \\"uaa.user\\",
\\"description\\": \\"UAA\\"
}
],
\\"role-templates\\": [
{
\\"name\\": \\"Token_Exchange\\",
\\"description\\": \\"UAA\\",
\\"scope-references\\": [\\"uaa.user\\"]
}
]
}
`,
}],
routes: [{
route: "tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com",
}],
});
const http_bin_server = new cloudfoundry.App("http-bin-server", {
name: "tf-test-do-not-delete-http-bin",
spaceName: "tf-space-1",
orgName: "PerformanceTeamBLR",
dockerImage: "kennethreitz/httpbin",
strategy: "blue-green",
appDeployedRunningTimeout: 2,
appDeployedRunningCheckInterval: 10,
labels: {
app: "backend",
env: "production",
},
annotations: {
"created-by": "me",
},
processes: [{
type: "web",
instances: 1,
memory: "256M",
diskQuota: "1024M",
healthCheckType: "http",
healthCheckHttpEndpoint: "/get",
readinessHealthCheckType: "http",
readinessHealthCheckHttpEndpoint: "/get",
}],
noRoute: true,
});
const http_bin_sidecar = new cloudfoundry.App("http-bin-sidecar", {
name: "tf-test-do-not-delete-http-bin-sidecar",
spaceName: "tf-space-1",
orgName: "PerformanceTeamBLR",
dockerImage: "kennethreitz/httpbin",
sidecars: [{
name: "sidecar-1",
processTypes: ["worker"],
command: "sleep 5200",
memory: "256M",
}],
noRoute: true,
});
import pulumi
import pulumi_cloudfoundry as cloudfoundry
import pulumi_zipper as zipper
fixture = zipper.File("fixture",
source="https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git",
output_path="cf-sample-app-nodejs.zip")
gobis_server = cloudfoundry.App("gobis-server",
name="tf-test-do-not-delete-nodejs",
space_name="tf-space-1",
org_name="PerformanceTeamBLR",
path=fixture.output_path,
source_code_hash=fixture.output_sha,
instances=1,
environment={
"MY_ENV": "red",
},
strategy="rolling",
service_bindings=[{
"service_instance": "xsuaa-tf",
"params": """{
\"xsappname\": \"tf-test-app\",
\"tenant-mode\": \"dedicated\",
\"description\": \"tf test123\",
\"foreign-scope-references\": [\"user_attributes\"],
\"scopes\": [
{
\"name\": \"uaa.user\",
\"description\": \"UAA\"
}
],
\"role-templates\": [
{
\"name\": \"Token_Exchange\",
\"description\": \"UAA\",
\"scope-references\": [\"uaa.user\"]
}
]
}
""",
}],
routes=[{
"route": "tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com",
}])
http_bin_server = cloudfoundry.App("http-bin-server",
name="tf-test-do-not-delete-http-bin",
space_name="tf-space-1",
org_name="PerformanceTeamBLR",
docker_image="kennethreitz/httpbin",
strategy="blue-green",
app_deployed_running_timeout=2,
app_deployed_running_check_interval=10,
labels={
"app": "backend",
"env": "production",
},
annotations={
"created-by": "me",
},
processes=[{
"type": "web",
"instances": 1,
"memory": "256M",
"disk_quota": "1024M",
"health_check_type": "http",
"health_check_http_endpoint": "/get",
"readiness_health_check_type": "http",
"readiness_health_check_http_endpoint": "/get",
}],
no_route=True)
http_bin_sidecar = cloudfoundry.App("http-bin-sidecar",
name="tf-test-do-not-delete-http-bin-sidecar",
space_name="tf-space-1",
org_name="PerformanceTeamBLR",
docker_image="kennethreitz/httpbin",
sidecars=[{
"name": "sidecar-1",
"process_types": ["worker"],
"command": "sleep 5200",
"memory": "256M",
}],
no_route=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/cloudfoundry/cloudfoundry"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/zipper/zipper"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fixture, err := zipper.NewFile(ctx, "fixture", &zipper.FileArgs{
Source: pulumi.String("https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git"),
OutputPath: pulumi.String("cf-sample-app-nodejs.zip"),
})
if err != nil {
return err
}
_, err = cloudfoundry.NewApp(ctx, "gobis-server", &cloudfoundry.AppArgs{
Name: pulumi.String("tf-test-do-not-delete-nodejs"),
SpaceName: pulumi.String("tf-space-1"),
OrgName: pulumi.String("PerformanceTeamBLR"),
Path: fixture.OutputPath,
SourceCodeHash: fixture.OutputSha,
Instances: pulumi.Float64(1),
Environment: pulumi.StringMap{
"MY_ENV": pulumi.String("red"),
},
Strategy: pulumi.String("rolling"),
ServiceBindings: cloudfoundry.AppServiceBindingArray{
&cloudfoundry.AppServiceBindingArgs{
ServiceInstance: pulumi.String("xsuaa-tf"),
Params: pulumi.String(`{
\"xsappname\": \"tf-test-app\",
\"tenant-mode\": \"dedicated\",
\"description\": \"tf test123\",
\"foreign-scope-references\": [\"user_attributes\"],
\"scopes\": [
{
\"name\": \"uaa.user\",
\"description\": \"UAA\"
}
],
\"role-templates\": [
{
\"name\": \"Token_Exchange\",
\"description\": \"UAA\",
\"scope-references\": [\"uaa.user\"]
}
]
}
`),
},
},
Routes: cloudfoundry.AppRouteArray{
&cloudfoundry.AppRouteArgs{
Route: pulumi.String("tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com"),
},
},
})
if err != nil {
return err
}
_, err = cloudfoundry.NewApp(ctx, "http-bin-server", &cloudfoundry.AppArgs{
Name: pulumi.String("tf-test-do-not-delete-http-bin"),
SpaceName: pulumi.String("tf-space-1"),
OrgName: pulumi.String("PerformanceTeamBLR"),
DockerImage: pulumi.String("kennethreitz/httpbin"),
Strategy: pulumi.String("blue-green"),
AppDeployedRunningTimeout: pulumi.Float64(2),
AppDeployedRunningCheckInterval: pulumi.Float64(10),
Labels: pulumi.StringMap{
"app": pulumi.String("backend"),
"env": pulumi.String("production"),
},
Annotations: pulumi.StringMap{
"created-by": pulumi.String("me"),
},
Processes: cloudfoundry.AppProcessArray{
&cloudfoundry.AppProcessArgs{
Type: pulumi.String("web"),
Instances: pulumi.Float64(1),
Memory: pulumi.String("256M"),
DiskQuota: pulumi.String("1024M"),
HealthCheckType: pulumi.String("http"),
HealthCheckHttpEndpoint: pulumi.String("/get"),
ReadinessHealthCheckType: pulumi.String("http"),
ReadinessHealthCheckHttpEndpoint: pulumi.String("/get"),
},
},
NoRoute: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = cloudfoundry.NewApp(ctx, "http-bin-sidecar", &cloudfoundry.AppArgs{
Name: pulumi.String("tf-test-do-not-delete-http-bin-sidecar"),
SpaceName: pulumi.String("tf-space-1"),
OrgName: pulumi.String("PerformanceTeamBLR"),
DockerImage: pulumi.String("kennethreitz/httpbin"),
Sidecars: cloudfoundry.AppSidecarArray{
&cloudfoundry.AppSidecarArgs{
Name: pulumi.String("sidecar-1"),
ProcessTypes: pulumi.StringArray{
pulumi.String("worker"),
},
Command: pulumi.String("sleep 5200"),
Memory: pulumi.String("256M"),
},
},
NoRoute: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudfoundry = Pulumi.Cloudfoundry;
using Zipper = Pulumi.Zipper;
return await Deployment.RunAsync(() =>
{
var fixture = new Zipper.File("fixture", new()
{
Source = "https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git",
OutputPath = "cf-sample-app-nodejs.zip",
});
var gobis_server = new Cloudfoundry.App("gobis-server", new()
{
Name = "tf-test-do-not-delete-nodejs",
SpaceName = "tf-space-1",
OrgName = "PerformanceTeamBLR",
Path = fixture.OutputPath,
SourceCodeHash = fixture.OutputSha,
Instances = 1,
Environment =
{
{ "MY_ENV", "red" },
},
Strategy = "rolling",
ServiceBindings = new[]
{
new Cloudfoundry.Inputs.AppServiceBindingArgs
{
ServiceInstance = "xsuaa-tf",
Params = @"{
\""xsappname\"": \""tf-test-app\"",
\""tenant-mode\"": \""dedicated\"",
\""description\"": \""tf test123\"",
\""foreign-scope-references\"": [\""user_attributes\""],
\""scopes\"": [
{
\""name\"": \""uaa.user\"",
\""description\"": \""UAA\""
}
],
\""role-templates\"": [
{
\""name\"": \""Token_Exchange\"",
\""description\"": \""UAA\"",
\""scope-references\"": [\""uaa.user\""]
}
]
}
",
},
},
Routes = new[]
{
new Cloudfoundry.Inputs.AppRouteArgs
{
Route = "tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com",
},
},
});
var http_bin_server = new Cloudfoundry.App("http-bin-server", new()
{
Name = "tf-test-do-not-delete-http-bin",
SpaceName = "tf-space-1",
OrgName = "PerformanceTeamBLR",
DockerImage = "kennethreitz/httpbin",
Strategy = "blue-green",
AppDeployedRunningTimeout = 2,
AppDeployedRunningCheckInterval = 10,
Labels =
{
{ "app", "backend" },
{ "env", "production" },
},
Annotations =
{
{ "created-by", "me" },
},
Processes = new[]
{
new Cloudfoundry.Inputs.AppProcessArgs
{
Type = "web",
Instances = 1,
Memory = "256M",
DiskQuota = "1024M",
HealthCheckType = "http",
HealthCheckHttpEndpoint = "/get",
ReadinessHealthCheckType = "http",
ReadinessHealthCheckHttpEndpoint = "/get",
},
},
NoRoute = true,
});
var http_bin_sidecar = new Cloudfoundry.App("http-bin-sidecar", new()
{
Name = "tf-test-do-not-delete-http-bin-sidecar",
SpaceName = "tf-space-1",
OrgName = "PerformanceTeamBLR",
DockerImage = "kennethreitz/httpbin",
Sidecars = new[]
{
new Cloudfoundry.Inputs.AppSidecarArgs
{
Name = "sidecar-1",
ProcessTypes = new[]
{
"worker",
},
Command = "sleep 5200",
Memory = "256M",
},
},
NoRoute = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zipper.File;
import com.pulumi.zipper.FileArgs;
import com.pulumi.cloudfoundry.App;
import com.pulumi.cloudfoundry.AppArgs;
import com.pulumi.cloudfoundry.inputs.AppServiceBindingArgs;
import com.pulumi.cloudfoundry.inputs.AppRouteArgs;
import com.pulumi.cloudfoundry.inputs.AppProcessArgs;
import com.pulumi.cloudfoundry.inputs.AppSidecarArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var fixture = new File("fixture", FileArgs.builder()
.source("https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git")
.outputPath("cf-sample-app-nodejs.zip")
.build());
var gobis_server = new App("gobis-server", AppArgs.builder()
.name("tf-test-do-not-delete-nodejs")
.spaceName("tf-space-1")
.orgName("PerformanceTeamBLR")
.path(fixture.outputPath())
.sourceCodeHash(fixture.outputSha())
.instances(1.0)
.environment(Map.of("MY_ENV", "red"))
.strategy("rolling")
.serviceBindings(AppServiceBindingArgs.builder()
.serviceInstance("xsuaa-tf")
.params("""
{
\"xsappname\": \"tf-test-app\",
\"tenant-mode\": \"dedicated\",
\"description\": \"tf test123\",
\"foreign-scope-references\": [\"user_attributes\"],
\"scopes\": [
{
\"name\": \"uaa.user\",
\"description\": \"UAA\"
}
],
\"role-templates\": [
{
\"name\": \"Token_Exchange\",
\"description\": \"UAA\",
\"scope-references\": [\"uaa.user\"]
}
]
}
""")
.build())
.routes(AppRouteArgs.builder()
.route("tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com")
.build())
.build());
var http_bin_server = new App("http-bin-server", AppArgs.builder()
.name("tf-test-do-not-delete-http-bin")
.spaceName("tf-space-1")
.orgName("PerformanceTeamBLR")
.dockerImage("kennethreitz/httpbin")
.strategy("blue-green")
.appDeployedRunningTimeout(2.0)
.appDeployedRunningCheckInterval(10.0)
.labels(Map.ofEntries(
Map.entry("app", "backend"),
Map.entry("env", "production")
))
.annotations(Map.of("created-by", "me"))
.processes(AppProcessArgs.builder()
.type("web")
.instances(1.0)
.memory("256M")
.diskQuota("1024M")
.healthCheckType("http")
.healthCheckHttpEndpoint("/get")
.readinessHealthCheckType("http")
.readinessHealthCheckHttpEndpoint("/get")
.build())
.noRoute(true)
.build());
var http_bin_sidecar = new App("http-bin-sidecar", AppArgs.builder()
.name("tf-test-do-not-delete-http-bin-sidecar")
.spaceName("tf-space-1")
.orgName("PerformanceTeamBLR")
.dockerImage("kennethreitz/httpbin")
.sidecars(AppSidecarArgs.builder()
.name("sidecar-1")
.processTypes("worker")
.command("sleep 5200")
.memory("256M")
.build())
.noRoute(true)
.build());
}
}
resources:
fixture:
type: zipper:File
properties:
source: https://github.com/cloudfoundry-samples/cf-sample-app-nodejs.git
outputPath: cf-sample-app-nodejs.zip
gobis-server:
type: cloudfoundry:App
properties:
name: tf-test-do-not-delete-nodejs
spaceName: tf-space-1
orgName: PerformanceTeamBLR
path: ${fixture.outputPath}
sourceCodeHash: ${fixture.outputSha}
instances: 1
environment:
MY_ENV: red
strategy: rolling
serviceBindings:
- serviceInstance: xsuaa-tf
params: |
{
\"xsappname\": \"tf-test-app\",
\"tenant-mode\": \"dedicated\",
\"description\": \"tf test123\",
\"foreign-scope-references\": [\"user_attributes\"],
\"scopes\": [
{
\"name\": \"uaa.user\",
\"description\": \"UAA\"
}
],
\"role-templates\": [
{
\"name\": \"Token_Exchange\",
\"description\": \"UAA\",
\"scope-references\": [\"uaa.user\"]
}
]
}
routes:
- route: tf-test-do-not-delete-nodejs.cfapps.sap.hana.ondemand.com
http-bin-server:
type: cloudfoundry:App
properties:
name: tf-test-do-not-delete-http-bin
spaceName: tf-space-1
orgName: PerformanceTeamBLR
dockerImage: kennethreitz/httpbin
strategy: blue-green
appDeployedRunningTimeout: 2
appDeployedRunningCheckInterval: 10
labels:
app: backend
env: production
annotations:
created-by: me
processes:
- type: web
instances: 1
memory: 256M
diskQuota: 1024M
healthCheckType: http
healthCheckHttpEndpoint: /get
readinessHealthCheckType: http
readinessHealthCheckHttpEndpoint: /get
noRoute: true
http-bin-sidecar:
type: cloudfoundry:App
properties:
name: tf-test-do-not-delete-http-bin-sidecar
spaceName: tf-space-1
orgName: PerformanceTeamBLR
dockerImage: kennethreitz/httpbin
sidecars:
- name: sidecar-1
processTypes:
- worker
command: sleep 5200
memory: 256M
noRoute: true
Example coming soon!
Create App Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new App(name: string, args: AppArgs, opts?: CustomResourceOptions);@overload
def App(resource_name: str,
args: AppArgs,
opts: Optional[ResourceOptions] = None)
@overload
def App(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_name: Optional[str] = None,
space_name: Optional[str] = None,
memory: Optional[str] = None,
buildpacks: Optional[Sequence[str]] = None,
command: Optional[str] = None,
disk_quota: Optional[str] = None,
docker_credentials: Optional[AppDockerCredentialsArgs] = None,
docker_image: Optional[str] = None,
enable_ssh: Optional[bool] = None,
environment: Optional[Mapping[str, str]] = None,
health_check_http_endpoint: Optional[str] = None,
health_check_interval: Optional[float] = None,
health_check_invocation_timeout: Optional[float] = None,
health_check_type: Optional[str] = None,
instances: Optional[float] = None,
labels: Optional[Mapping[str, str]] = None,
lifecycle_type: Optional[str] = None,
log_rate_limit_per_second: Optional[str] = None,
name: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
service_bindings: Optional[Sequence[AppServiceBindingArgs]] = None,
app_deployed_running_timeout: Optional[float] = None,
path: Optional[str] = None,
processes: Optional[Sequence[AppProcessArgs]] = None,
random_route: Optional[bool] = None,
readiness_health_check_http_endpoint: Optional[str] = None,
readiness_health_check_interval: Optional[float] = None,
readiness_health_check_invocation_timeout: Optional[float] = None,
readiness_health_check_type: Optional[str] = None,
routes: Optional[Sequence[AppRouteArgs]] = None,
no_route: Optional[bool] = None,
sidecars: Optional[Sequence[AppSidecarArgs]] = None,
source_code_hash: Optional[str] = None,
app_deployed_running_check_interval: Optional[float] = None,
stack: Optional[str] = None,
stopped: Optional[bool] = None,
strategy: Optional[str] = None,
timeout: Optional[float] = None)func NewApp(ctx *Context, name string, args AppArgs, opts ...ResourceOption) (*App, error)public App(string name, AppArgs args, CustomResourceOptions? opts = null)type: cloudfoundry:App
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "cloudfoundry_app" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appResource = new Cloudfoundry.App("appResource", new()
{
OrgName = "string",
SpaceName = "string",
Memory = "string",
Buildpacks = new[]
{
"string",
},
Command = "string",
DiskQuota = "string",
DockerCredentials = new Cloudfoundry.Inputs.AppDockerCredentialsArgs
{
Username = "string",
Password = "string",
},
DockerImage = "string",
EnableSsh = false,
Environment =
{
{ "string", "string" },
},
HealthCheckHttpEndpoint = "string",
HealthCheckInterval = 0.0,
HealthCheckInvocationTimeout = 0.0,
HealthCheckType = "string",
Instances = 0.0,
Labels =
{
{ "string", "string" },
},
LifecycleType = "string",
LogRateLimitPerSecond = "string",
Name = "string",
Annotations =
{
{ "string", "string" },
},
ServiceBindings = new[]
{
new Cloudfoundry.Inputs.AppServiceBindingArgs
{
Params = "string",
ServiceInstance = "string",
},
},
AppDeployedRunningTimeout = 0.0,
Path = "string",
Processes = new[]
{
new Cloudfoundry.Inputs.AppProcessArgs
{
Type = "string",
Instances = 0.0,
Memory = "string",
HealthCheckInterval = 0.0,
HealthCheckInvocationTimeout = 0.0,
HealthCheckType = "string",
Command = "string",
LogRateLimitPerSecond = "string",
HealthCheckHttpEndpoint = "string",
ReadinessHealthCheckHttpEndpoint = "string",
ReadinessHealthCheckInterval = 0.0,
ReadinessHealthCheckInvocationTimeout = 0.0,
ReadinessHealthCheckType = "string",
Timeout = 0.0,
DiskQuota = "string",
},
},
RandomRoute = false,
ReadinessHealthCheckHttpEndpoint = "string",
ReadinessHealthCheckInterval = 0.0,
ReadinessHealthCheckInvocationTimeout = 0.0,
ReadinessHealthCheckType = "string",
Routes = new[]
{
new Cloudfoundry.Inputs.AppRouteArgs
{
Protocol = "string",
Route = "string",
},
},
NoRoute = false,
Sidecars = new[]
{
new Cloudfoundry.Inputs.AppSidecarArgs
{
Name = "string",
Command = "string",
Memory = "string",
ProcessTypes = new[]
{
"string",
},
},
},
SourceCodeHash = "string",
AppDeployedRunningCheckInterval = 0.0,
Stack = "string",
Stopped = false,
Strategy = "string",
Timeout = 0.0,
});
example, err := cloudfoundry.NewApp(ctx, "appResource", &cloudfoundry.AppArgs{
OrgName: pulumi.String("string"),
SpaceName: pulumi.String("string"),
Memory: pulumi.String("string"),
Buildpacks: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.String("string"),
DiskQuota: pulumi.String("string"),
DockerCredentials: &cloudfoundry.AppDockerCredentialsArgs{
Username: pulumi.String("string"),
Password: pulumi.String("string"),
},
DockerImage: pulumi.String("string"),
EnableSsh: pulumi.Bool(false),
Environment: pulumi.StringMap{
"string": pulumi.String("string"),
},
HealthCheckHttpEndpoint: pulumi.String("string"),
HealthCheckInterval: pulumi.Float64(0),
HealthCheckInvocationTimeout: pulumi.Float64(0),
HealthCheckType: pulumi.String("string"),
Instances: pulumi.Float64(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
LifecycleType: pulumi.String("string"),
LogRateLimitPerSecond: pulumi.String("string"),
Name: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
ServiceBindings: cloudfoundry.AppServiceBindingArray{
&cloudfoundry.AppServiceBindingArgs{
Params: pulumi.String("string"),
ServiceInstance: pulumi.String("string"),
},
},
AppDeployedRunningTimeout: pulumi.Float64(0),
Path: pulumi.String("string"),
Processes: cloudfoundry.AppProcessArray{
&cloudfoundry.AppProcessArgs{
Type: pulumi.String("string"),
Instances: pulumi.Float64(0),
Memory: pulumi.String("string"),
HealthCheckInterval: pulumi.Float64(0),
HealthCheckInvocationTimeout: pulumi.Float64(0),
HealthCheckType: pulumi.String("string"),
Command: pulumi.String("string"),
LogRateLimitPerSecond: pulumi.String("string"),
HealthCheckHttpEndpoint: pulumi.String("string"),
ReadinessHealthCheckHttpEndpoint: pulumi.String("string"),
ReadinessHealthCheckInterval: pulumi.Float64(0),
ReadinessHealthCheckInvocationTimeout: pulumi.Float64(0),
ReadinessHealthCheckType: pulumi.String("string"),
Timeout: pulumi.Float64(0),
DiskQuota: pulumi.String("string"),
},
},
RandomRoute: pulumi.Bool(false),
ReadinessHealthCheckHttpEndpoint: pulumi.String("string"),
ReadinessHealthCheckInterval: pulumi.Float64(0),
ReadinessHealthCheckInvocationTimeout: pulumi.Float64(0),
ReadinessHealthCheckType: pulumi.String("string"),
Routes: cloudfoundry.AppRouteArray{
&cloudfoundry.AppRouteArgs{
Protocol: pulumi.String("string"),
Route: pulumi.String("string"),
},
},
NoRoute: pulumi.Bool(false),
Sidecars: cloudfoundry.AppSidecarArray{
&cloudfoundry.AppSidecarArgs{
Name: pulumi.String("string"),
Command: pulumi.String("string"),
Memory: pulumi.String("string"),
ProcessTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
SourceCodeHash: pulumi.String("string"),
AppDeployedRunningCheckInterval: pulumi.Float64(0),
Stack: pulumi.String("string"),
Stopped: pulumi.Bool(false),
Strategy: pulumi.String("string"),
Timeout: pulumi.Float64(0),
})
resource "cloudfoundry_app" "appResource" {
lifecycle {
create_before_destroy = true
}
org_name = "string"
space_name = "string"
memory = "string"
buildpacks = ["string"]
command = "string"
disk_quota = "string"
docker_credentials = {
username = "string"
password = "string"
}
docker_image = "string"
enable_ssh = false
environment = {
"string" = "string"
}
health_check_http_endpoint = "string"
health_check_interval = 0
health_check_invocation_timeout = 0
health_check_type = "string"
instances = 0
labels = {
"string" = "string"
}
lifecycle_type = "string"
log_rate_limit_per_second = "string"
name = "string"
annotations = {
"string" = "string"
}
service_bindings {
params = "string"
service_instance = "string"
}
app_deployed_running_timeout = 0
path = "string"
processes {
type = "string"
instances = 0
memory = "string"
health_check_interval = 0
health_check_invocation_timeout = 0
health_check_type = "string"
command = "string"
log_rate_limit_per_second = "string"
health_check_http_endpoint = "string"
readiness_health_check_http_endpoint = "string"
readiness_health_check_interval = 0
readiness_health_check_invocation_timeout = 0
readiness_health_check_type = "string"
timeout = 0
disk_quota = "string"
}
random_route = false
readiness_health_check_http_endpoint = "string"
readiness_health_check_interval = 0
readiness_health_check_invocation_timeout = 0
readiness_health_check_type = "string"
routes {
protocol = "string"
route = "string"
}
no_route = false
sidecars {
name = "string"
command = "string"
memory = "string"
process_types = ["string"]
}
source_code_hash = "string"
app_deployed_running_check_interval = 0
stack = "string"
stopped = false
strategy = "string"
timeout = 0
}
var appResource = new App("appResource", AppArgs.builder()
.orgName("string")
.spaceName("string")
.memory("string")
.buildpacks("string")
.command("string")
.diskQuota("string")
.dockerCredentials(AppDockerCredentialsArgs.builder()
.username("string")
.password("string")
.build())
.dockerImage("string")
.enableSsh(false)
.environment(Map.of("string", "string"))
.healthCheckHttpEndpoint("string")
.healthCheckInterval(0.0)
.healthCheckInvocationTimeout(0.0)
.healthCheckType("string")
.instances(0.0)
.labels(Map.of("string", "string"))
.lifecycleType("string")
.logRateLimitPerSecond("string")
.name("string")
.annotations(Map.of("string", "string"))
.serviceBindings(AppServiceBindingArgs.builder()
.params("string")
.serviceInstance("string")
.build())
.appDeployedRunningTimeout(0.0)
.path("string")
.processes(AppProcessArgs.builder()
.type("string")
.instances(0.0)
.memory("string")
.healthCheckInterval(0.0)
.healthCheckInvocationTimeout(0.0)
.healthCheckType("string")
.command("string")
.logRateLimitPerSecond("string")
.healthCheckHttpEndpoint("string")
.readinessHealthCheckHttpEndpoint("string")
.readinessHealthCheckInterval(0.0)
.readinessHealthCheckInvocationTimeout(0.0)
.readinessHealthCheckType("string")
.timeout(0.0)
.diskQuota("string")
.build())
.randomRoute(false)
.readinessHealthCheckHttpEndpoint("string")
.readinessHealthCheckInterval(0.0)
.readinessHealthCheckInvocationTimeout(0.0)
.readinessHealthCheckType("string")
.routes(AppRouteArgs.builder()
.protocol("string")
.route("string")
.build())
.noRoute(false)
.sidecars(AppSidecarArgs.builder()
.name("string")
.command("string")
.memory("string")
.processTypes("string")
.build())
.sourceCodeHash("string")
.appDeployedRunningCheckInterval(0.0)
.stack("string")
.stopped(false)
.strategy("string")
.timeout(0.0)
.build());
app_resource = cloudfoundry.App("appResource",
org_name="string",
space_name="string",
memory="string",
buildpacks=["string"],
command="string",
disk_quota="string",
docker_credentials={
"username": "string",
"password": "string",
},
docker_image="string",
enable_ssh=False,
environment={
"string": "string",
},
health_check_http_endpoint="string",
health_check_interval=float(0),
health_check_invocation_timeout=float(0),
health_check_type="string",
instances=float(0),
labels={
"string": "string",
},
lifecycle_type="string",
log_rate_limit_per_second="string",
name="string",
annotations={
"string": "string",
},
service_bindings=[{
"params": "string",
"service_instance": "string",
}],
app_deployed_running_timeout=float(0),
path="string",
processes=[{
"type": "string",
"instances": float(0),
"memory": "string",
"health_check_interval": float(0),
"health_check_invocation_timeout": float(0),
"health_check_type": "string",
"command": "string",
"log_rate_limit_per_second": "string",
"health_check_http_endpoint": "string",
"readiness_health_check_http_endpoint": "string",
"readiness_health_check_interval": float(0),
"readiness_health_check_invocation_timeout": float(0),
"readiness_health_check_type": "string",
"timeout": float(0),
"disk_quota": "string",
}],
random_route=False,
readiness_health_check_http_endpoint="string",
readiness_health_check_interval=float(0),
readiness_health_check_invocation_timeout=float(0),
readiness_health_check_type="string",
routes=[{
"protocol": "string",
"route": "string",
}],
no_route=False,
sidecars=[{
"name": "string",
"command": "string",
"memory": "string",
"process_types": ["string"],
}],
source_code_hash="string",
app_deployed_running_check_interval=float(0),
stack="string",
stopped=False,
strategy="string",
timeout=float(0))
const appResource = new cloudfoundry.App("appResource", {
orgName: "string",
spaceName: "string",
memory: "string",
buildpacks: ["string"],
command: "string",
diskQuota: "string",
dockerCredentials: {
username: "string",
password: "string",
},
dockerImage: "string",
enableSsh: false,
environment: {
string: "string",
},
healthCheckHttpEndpoint: "string",
healthCheckInterval: 0,
healthCheckInvocationTimeout: 0,
healthCheckType: "string",
instances: 0,
labels: {
string: "string",
},
lifecycleType: "string",
logRateLimitPerSecond: "string",
name: "string",
annotations: {
string: "string",
},
serviceBindings: [{
params: "string",
serviceInstance: "string",
}],
appDeployedRunningTimeout: 0,
path: "string",
processes: [{
type: "string",
instances: 0,
memory: "string",
healthCheckInterval: 0,
healthCheckInvocationTimeout: 0,
healthCheckType: "string",
command: "string",
logRateLimitPerSecond: "string",
healthCheckHttpEndpoint: "string",
readinessHealthCheckHttpEndpoint: "string",
readinessHealthCheckInterval: 0,
readinessHealthCheckInvocationTimeout: 0,
readinessHealthCheckType: "string",
timeout: 0,
diskQuota: "string",
}],
randomRoute: false,
readinessHealthCheckHttpEndpoint: "string",
readinessHealthCheckInterval: 0,
readinessHealthCheckInvocationTimeout: 0,
readinessHealthCheckType: "string",
routes: [{
protocol: "string",
route: "string",
}],
noRoute: false,
sidecars: [{
name: "string",
command: "string",
memory: "string",
processTypes: ["string"],
}],
sourceCodeHash: "string",
appDeployedRunningCheckInterval: 0,
stack: "string",
stopped: false,
strategy: "string",
timeout: 0,
});
type: cloudfoundry:App
properties:
annotations:
string: string
appDeployedRunningCheckInterval: 0
appDeployedRunningTimeout: 0
buildpacks:
- string
command: string
diskQuota: string
dockerCredentials:
password: string
username: string
dockerImage: string
enableSsh: false
environment:
string: string
healthCheckHttpEndpoint: string
healthCheckInterval: 0
healthCheckInvocationTimeout: 0
healthCheckType: string
instances: 0
labels:
string: string
lifecycleType: string
logRateLimitPerSecond: string
memory: string
name: string
noRoute: false
orgName: string
path: string
processes:
- command: string
diskQuota: string
healthCheckHttpEndpoint: string
healthCheckInterval: 0
healthCheckInvocationTimeout: 0
healthCheckType: string
instances: 0
logRateLimitPerSecond: string
memory: string
readinessHealthCheckHttpEndpoint: string
readinessHealthCheckInterval: 0
readinessHealthCheckInvocationTimeout: 0
readinessHealthCheckType: string
timeout: 0
type: string
randomRoute: false
readinessHealthCheckHttpEndpoint: string
readinessHealthCheckInterval: 0
readinessHealthCheckInvocationTimeout: 0
readinessHealthCheckType: string
routes:
- protocol: string
route: string
serviceBindings:
- params: string
serviceInstance: string
sidecars:
- command: string
memory: string
name: string
processTypes:
- string
sourceCodeHash: string
spaceName: string
stack: string
stopped: false
strategy: string
timeout: 0
App Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The App resource accepts the following input properties:
- Org
Name string - The name of the associated Cloud Foundry organization.
- Space
Name string - The name of the associated Cloud Foundry space.
- Annotations Dictionary<string, string>
- The annotations associated with Cloud Foundry resources. Add as described here.
- App
Deployed doubleRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- App
Deployed doubleRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- Buildpacks List<string>
- Multiple buildpacks used to stage the application.
- Command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- Disk
Quota string - The disk space to be allocated for each application instance.
- Docker
Credentials AppDocker Credentials - Defines login credentials for private docker repositories
- Docker
Image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- Enable
Ssh bool - Whether to enable or disable SSH access on an app level.
- Environment Dictionary<string, string>
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- Health
Check stringHttp Endpoint - The endpoint for the http health check type.
- Health
Check doubleInterval - The interval in seconds between health checks.
- Health
Check doubleInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- Health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- Instances double
- The number of app instances that you want to start. Defaults to 1.
- Labels Dictionary<string, string>
- The labels associated with Cloud Foundry resources. Add as described here.
- Lifecycle
Type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - Log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- Memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- Name string
- The name of the application.
- No
Route bool - The attribute with a value of true to prevent a route from being created for your app.
- Path string
- The path to the zip file for the application.
- Processes
List<App
Process> - List of configurations for individual process types.
- Random
Route bool - The random-route attribute to generate a unique route and avoid name collisions.
- Readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- Readiness
Health doubleCheck Interval - The interval in seconds between readiness health checks.
- Readiness
Health doubleCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- Readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- Routes
List<App
Route> - The routes to map to the application to control its ingress traffic.
- Service
Bindings List<AppService Binding> - Service instances to bind to the application.
- Sidecars
List<App
Sidecar> - The attribute specifies additional processes to run in the same container as your app
- Source
Code stringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- Stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- Stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- Strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- Timeout double
- Time in seconds at which the health-check will report failure.
- Org
Name string - The name of the associated Cloud Foundry organization.
- Space
Name string - The name of the associated Cloud Foundry space.
- Annotations map[string]string
- The annotations associated with Cloud Foundry resources. Add as described here.
- App
Deployed float64Running Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- App
Deployed float64Running Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- Buildpacks []string
- Multiple buildpacks used to stage the application.
- Command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- Disk
Quota string - The disk space to be allocated for each application instance.
- Docker
Credentials AppDocker Credentials Args - Defines login credentials for private docker repositories
- Docker
Image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- Enable
Ssh bool - Whether to enable or disable SSH access on an app level.
- Environment map[string]string
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- Health
Check stringHttp Endpoint - The endpoint for the http health check type.
- Health
Check float64Interval - The interval in seconds between health checks.
- Health
Check float64Invocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- Health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- Instances float64
- The number of app instances that you want to start. Defaults to 1.
- Labels map[string]string
- The labels associated with Cloud Foundry resources. Add as described here.
- Lifecycle
Type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - Log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- Memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- Name string
- The name of the application.
- No
Route bool - The attribute with a value of true to prevent a route from being created for your app.
- Path string
- The path to the zip file for the application.
- Processes
[]App
Process Args - List of configurations for individual process types.
- Random
Route bool - The random-route attribute to generate a unique route and avoid name collisions.
- Readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- Readiness
Health float64Check Interval - The interval in seconds between readiness health checks.
- Readiness
Health float64Check Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- Readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- Routes
[]App
Route Args - The routes to map to the application to control its ingress traffic.
- Service
Bindings []AppService Binding Args - Service instances to bind to the application.
- Sidecars
[]App
Sidecar Args - The attribute specifies additional processes to run in the same container as your app
- Source
Code stringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- Stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- Stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- Strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- Timeout float64
- Time in seconds at which the health-check will report failure.
- org_
name string - The name of the associated Cloud Foundry organization.
- space_
name string - The name of the associated Cloud Foundry space.
- annotations map(string)
- The annotations associated with Cloud Foundry resources. Add as described here.
- app_
deployed_ numberrunning_ check_ interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app_
deployed_ numberrunning_ timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks list(string)
- Multiple buildpacks used to stage the application.
- command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk_
quota string - The disk space to be allocated for each application instance.
- docker_
credentials object - Defines login credentials for private docker repositories
- docker_
image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable_
ssh bool - Whether to enable or disable SSH access on an app level.
- environment map(string)
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health_
check_ stringhttp_ endpoint - The endpoint for the http health check type.
- health_
check_ numberinterval - The interval in seconds between health checks.
- health_
check_ numberinvocation_ timeout - The timeout in seconds for the health check requests for http and port health checks.
- health_
check_ stringtype - The health check type which can be one of 'port', 'process', 'http'.
- instances number
- The number of app instances that you want to start. Defaults to 1.
- labels map(string)
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle_
type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log_
rate_ stringlimit_ per_ second - The attribute specifies the log rate limit for all instances of an app.
- memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name string
- The name of the application.
- no_
route bool - The attribute with a value of true to prevent a route from being created for your app.
- path string
- The path to the zip file for the application.
- processes list(object)
- List of configurations for individual process types.
- random_
route bool - The random-route attribute to generate a unique route and avoid name collisions.
- readiness_
health_ stringcheck_ http_ endpoint - The endpoint for the http readiness health check type.
- readiness_
health_ numbercheck_ interval - The interval in seconds between readiness health checks.
- readiness_
health_ numbercheck_ invocation_ timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness_
health_ stringcheck_ type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes list(object)
- The routes to map to the application to control its ingress traffic.
- service_
bindings list(object) - Service instances to bind to the application.
- sidecars list(object)
- The attribute specifies additional processes to run in the same container as your app
- source_
code_ stringhash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout number
- Time in seconds at which the health-check will report failure.
- org
Name String - The name of the associated Cloud Foundry organization.
- space
Name String - The name of the associated Cloud Foundry space.
- annotations Map<String,String>
- The annotations associated with Cloud Foundry resources. Add as described here.
- app
Deployed DoubleRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app
Deployed DoubleRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks List<String>
- Multiple buildpacks used to stage the application.
- command String
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk
Quota String - The disk space to be allocated for each application instance.
- docker
Credentials AppDocker Credentials - Defines login credentials for private docker repositories
- docker
Image String - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable
Ssh Boolean - Whether to enable or disable SSH access on an app level.
- environment Map<String,String>
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health
Check StringHttp Endpoint - The endpoint for the http health check type.
- health
Check DoubleInterval - The interval in seconds between health checks.
- health
Check DoubleInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check StringType - The health check type which can be one of 'port', 'process', 'http'.
- instances Double
- The number of app instances that you want to start. Defaults to 1.
- labels Map<String,String>
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle
Type String - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log
Rate StringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory String
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name String
- The name of the application.
- no
Route Boolean - The attribute with a value of true to prevent a route from being created for your app.
- path String
- The path to the zip file for the application.
- processes
List<App
Process> - List of configurations for individual process types.
- random
Route Boolean - The random-route attribute to generate a unique route and avoid name collisions.
- readiness
Health StringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health DoubleCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health DoubleCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health StringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes
List<App
Route> - The routes to map to the application to control its ingress traffic.
- service
Bindings List<AppService Binding> - Service instances to bind to the application.
- sidecars
List<App
Sidecar> - The attribute specifies additional processes to run in the same container as your app
- source
Code StringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- stack String
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped Boolean
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy String
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout Double
- Time in seconds at which the health-check will report failure.
- org
Name string - The name of the associated Cloud Foundry organization.
- space
Name string - The name of the associated Cloud Foundry space.
- annotations {[key: string]: string}
- The annotations associated with Cloud Foundry resources. Add as described here.
- app
Deployed numberRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app
Deployed numberRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks string[]
- Multiple buildpacks used to stage the application.
- command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk
Quota string - The disk space to be allocated for each application instance.
- docker
Credentials AppDocker Credentials - Defines login credentials for private docker repositories
- docker
Image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable
Ssh boolean - Whether to enable or disable SSH access on an app level.
- environment {[key: string]: string}
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health
Check stringHttp Endpoint - The endpoint for the http health check type.
- health
Check numberInterval - The interval in seconds between health checks.
- health
Check numberInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- instances number
- The number of app instances that you want to start. Defaults to 1.
- labels {[key: string]: string}
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle
Type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name string
- The name of the application.
- no
Route boolean - The attribute with a value of true to prevent a route from being created for your app.
- path string
- The path to the zip file for the application.
- processes
App
Process[] - List of configurations for individual process types.
- random
Route boolean - The random-route attribute to generate a unique route and avoid name collisions.
- readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health numberCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health numberCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes
App
Route[] - The routes to map to the application to control its ingress traffic.
- service
Bindings AppService Binding[] - Service instances to bind to the application.
- sidecars
App
Sidecar[] - The attribute specifies additional processes to run in the same container as your app
- source
Code stringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped boolean
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout number
- Time in seconds at which the health-check will report failure.
- org_
name str - The name of the associated Cloud Foundry organization.
- space_
name str - The name of the associated Cloud Foundry space.
- annotations Mapping[str, str]
- The annotations associated with Cloud Foundry resources. Add as described here.
- app_
deployed_ floatrunning_ check_ interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app_
deployed_ floatrunning_ timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks Sequence[str]
- Multiple buildpacks used to stage the application.
- command str
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk_
quota str - The disk space to be allocated for each application instance.
- docker_
credentials AppDocker Credentials Args - Defines login credentials for private docker repositories
- docker_
image str - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable_
ssh bool - Whether to enable or disable SSH access on an app level.
- environment Mapping[str, str]
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health_
check_ strhttp_ endpoint - The endpoint for the http health check type.
- health_
check_ floatinterval - The interval in seconds between health checks.
- health_
check_ floatinvocation_ timeout - The timeout in seconds for the health check requests for http and port health checks.
- health_
check_ strtype - The health check type which can be one of 'port', 'process', 'http'.
- instances float
- The number of app instances that you want to start. Defaults to 1.
- labels Mapping[str, str]
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle_
type str - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log_
rate_ strlimit_ per_ second - The attribute specifies the log rate limit for all instances of an app.
- memory str
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name str
- The name of the application.
- no_
route bool - The attribute with a value of true to prevent a route from being created for your app.
- path str
- The path to the zip file for the application.
- processes
Sequence[App
Process Args] - List of configurations for individual process types.
- random_
route bool - The random-route attribute to generate a unique route and avoid name collisions.
- readiness_
health_ strcheck_ http_ endpoint - The endpoint for the http readiness health check type.
- readiness_
health_ floatcheck_ interval - The interval in seconds between readiness health checks.
- readiness_
health_ floatcheck_ invocation_ timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness_
health_ strcheck_ type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes
Sequence[App
Route Args] - The routes to map to the application to control its ingress traffic.
- service_
bindings Sequence[AppService Binding Args] - Service instances to bind to the application.
- sidecars
Sequence[App
Sidecar Args] - The attribute specifies additional processes to run in the same container as your app
- source_
code_ strhash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- stack str
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy str
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout float
- Time in seconds at which the health-check will report failure.
- org
Name String - The name of the associated Cloud Foundry organization.
- space
Name String - The name of the associated Cloud Foundry space.
- annotations Map<String>
- The annotations associated with Cloud Foundry resources. Add as described here.
- app
Deployed NumberRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app
Deployed NumberRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks List<String>
- Multiple buildpacks used to stage the application.
- command String
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk
Quota String - The disk space to be allocated for each application instance.
- docker
Credentials Property Map - Defines login credentials for private docker repositories
- docker
Image String - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable
Ssh Boolean - Whether to enable or disable SSH access on an app level.
- environment Map<String>
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health
Check StringHttp Endpoint - The endpoint for the http health check type.
- health
Check NumberInterval - The interval in seconds between health checks.
- health
Check NumberInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check StringType - The health check type which can be one of 'port', 'process', 'http'.
- instances Number
- The number of app instances that you want to start. Defaults to 1.
- labels Map<String>
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle
Type String - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log
Rate StringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory String
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name String
- The name of the application.
- no
Route Boolean - The attribute with a value of true to prevent a route from being created for your app.
- path String
- The path to the zip file for the application.
- processes List<Property Map>
- List of configurations for individual process types.
- random
Route Boolean - The random-route attribute to generate a unique route and avoid name collisions.
- readiness
Health StringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health NumberCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health NumberCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health StringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes List<Property Map>
- The routes to map to the application to control its ingress traffic.
- service
Bindings List<Property Map> - Service instances to bind to the application.
- sidecars List<Property Map>
- The attribute specifies additional processes to run in the same container as your app
- source
Code StringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- stack String
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped Boolean
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy String
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout Number
- Time in seconds at which the health-check will report failure.
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- created_
at string - The date and time when the resource was created in RFC3339 format.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - The date and time when the resource was updated in RFC3339 format.
- created_
at str - The date and time when the resource was created in RFC3339 format.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - The date and time when the resource was updated in RFC3339 format.
Look up Existing App Resource
Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
app_deployed_running_check_interval: Optional[float] = None,
app_deployed_running_timeout: Optional[float] = None,
buildpacks: Optional[Sequence[str]] = None,
command: Optional[str] = None,
created_at: Optional[str] = None,
disk_quota: Optional[str] = None,
docker_credentials: Optional[AppDockerCredentialsArgs] = None,
docker_image: Optional[str] = None,
enable_ssh: Optional[bool] = None,
environment: Optional[Mapping[str, str]] = None,
health_check_http_endpoint: Optional[str] = None,
health_check_interval: Optional[float] = None,
health_check_invocation_timeout: Optional[float] = None,
health_check_type: Optional[str] = None,
instances: Optional[float] = None,
labels: Optional[Mapping[str, str]] = None,
lifecycle_type: Optional[str] = None,
log_rate_limit_per_second: Optional[str] = None,
memory: Optional[str] = None,
name: Optional[str] = None,
no_route: Optional[bool] = None,
org_name: Optional[str] = None,
path: Optional[str] = None,
processes: Optional[Sequence[AppProcessArgs]] = None,
random_route: Optional[bool] = None,
readiness_health_check_http_endpoint: Optional[str] = None,
readiness_health_check_interval: Optional[float] = None,
readiness_health_check_invocation_timeout: Optional[float] = None,
readiness_health_check_type: Optional[str] = None,
routes: Optional[Sequence[AppRouteArgs]] = None,
service_bindings: Optional[Sequence[AppServiceBindingArgs]] = None,
sidecars: Optional[Sequence[AppSidecarArgs]] = None,
source_code_hash: Optional[str] = None,
space_name: Optional[str] = None,
stack: Optional[str] = None,
stopped: Optional[bool] = None,
strategy: Optional[str] = None,
timeout: Optional[float] = None,
updated_at: Optional[str] = None) -> Appfunc GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)public static App get(String name, Output<String> id, AppState state, CustomResourceOptions options)resources: _: type: cloudfoundry:App get: id: ${id}import {
to = cloudfoundry_app.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Annotations Dictionary<string, string>
- The annotations associated with Cloud Foundry resources. Add as described here.
- App
Deployed doubleRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- App
Deployed doubleRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- Buildpacks List<string>
- Multiple buildpacks used to stage the application.
- Command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Disk
Quota string - The disk space to be allocated for each application instance.
- Docker
Credentials AppDocker Credentials - Defines login credentials for private docker repositories
- Docker
Image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- Enable
Ssh bool - Whether to enable or disable SSH access on an app level.
- Environment Dictionary<string, string>
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- Health
Check stringHttp Endpoint - The endpoint for the http health check type.
- Health
Check doubleInterval - The interval in seconds between health checks.
- Health
Check doubleInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- Health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- Instances double
- The number of app instances that you want to start. Defaults to 1.
- Labels Dictionary<string, string>
- The labels associated with Cloud Foundry resources. Add as described here.
- Lifecycle
Type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - Log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- Memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- Name string
- The name of the application.
- No
Route bool - The attribute with a value of true to prevent a route from being created for your app.
- Org
Name string - The name of the associated Cloud Foundry organization.
- Path string
- The path to the zip file for the application.
- Processes
List<App
Process> - List of configurations for individual process types.
- Random
Route bool - The random-route attribute to generate a unique route and avoid name collisions.
- Readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- Readiness
Health doubleCheck Interval - The interval in seconds between readiness health checks.
- Readiness
Health doubleCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- Readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- Routes
List<App
Route> - The routes to map to the application to control its ingress traffic.
- Service
Bindings List<AppService Binding> - Service instances to bind to the application.
- Sidecars
List<App
Sidecar> - The attribute specifies additional processes to run in the same container as your app
- Source
Code stringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- Space
Name string - The name of the associated Cloud Foundry space.
- Stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- Stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- Strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- Timeout double
- Time in seconds at which the health-check will report failure.
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- Annotations map[string]string
- The annotations associated with Cloud Foundry resources. Add as described here.
- App
Deployed float64Running Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- App
Deployed float64Running Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- Buildpacks []string
- Multiple buildpacks used to stage the application.
- Command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- Created
At string - The date and time when the resource was created in RFC3339 format.
- Disk
Quota string - The disk space to be allocated for each application instance.
- Docker
Credentials AppDocker Credentials Args - Defines login credentials for private docker repositories
- Docker
Image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- Enable
Ssh bool - Whether to enable or disable SSH access on an app level.
- Environment map[string]string
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- Health
Check stringHttp Endpoint - The endpoint for the http health check type.
- Health
Check float64Interval - The interval in seconds between health checks.
- Health
Check float64Invocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- Health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- Instances float64
- The number of app instances that you want to start. Defaults to 1.
- Labels map[string]string
- The labels associated with Cloud Foundry resources. Add as described here.
- Lifecycle
Type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - Log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- Memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- Name string
- The name of the application.
- No
Route bool - The attribute with a value of true to prevent a route from being created for your app.
- Org
Name string - The name of the associated Cloud Foundry organization.
- Path string
- The path to the zip file for the application.
- Processes
[]App
Process Args - List of configurations for individual process types.
- Random
Route bool - The random-route attribute to generate a unique route and avoid name collisions.
- Readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- Readiness
Health float64Check Interval - The interval in seconds between readiness health checks.
- Readiness
Health float64Check Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- Readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- Routes
[]App
Route Args - The routes to map to the application to control its ingress traffic.
- Service
Bindings []AppService Binding Args - Service instances to bind to the application.
- Sidecars
[]App
Sidecar Args - The attribute specifies additional processes to run in the same container as your app
- Source
Code stringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- Space
Name string - The name of the associated Cloud Foundry space.
- Stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- Stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- Strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- Timeout float64
- Time in seconds at which the health-check will report failure.
- Updated
At string - The date and time when the resource was updated in RFC3339 format.
- annotations map(string)
- The annotations associated with Cloud Foundry resources. Add as described here.
- app_
deployed_ numberrunning_ check_ interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app_
deployed_ numberrunning_ timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks list(string)
- Multiple buildpacks used to stage the application.
- command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- created_
at string - The date and time when the resource was created in RFC3339 format.
- disk_
quota string - The disk space to be allocated for each application instance.
- docker_
credentials object - Defines login credentials for private docker repositories
- docker_
image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable_
ssh bool - Whether to enable or disable SSH access on an app level.
- environment map(string)
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health_
check_ stringhttp_ endpoint - The endpoint for the http health check type.
- health_
check_ numberinterval - The interval in seconds between health checks.
- health_
check_ numberinvocation_ timeout - The timeout in seconds for the health check requests for http and port health checks.
- health_
check_ stringtype - The health check type which can be one of 'port', 'process', 'http'.
- instances number
- The number of app instances that you want to start. Defaults to 1.
- labels map(string)
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle_
type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log_
rate_ stringlimit_ per_ second - The attribute specifies the log rate limit for all instances of an app.
- memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name string
- The name of the application.
- no_
route bool - The attribute with a value of true to prevent a route from being created for your app.
- org_
name string - The name of the associated Cloud Foundry organization.
- path string
- The path to the zip file for the application.
- processes list(object)
- List of configurations for individual process types.
- random_
route bool - The random-route attribute to generate a unique route and avoid name collisions.
- readiness_
health_ stringcheck_ http_ endpoint - The endpoint for the http readiness health check type.
- readiness_
health_ numbercheck_ interval - The interval in seconds between readiness health checks.
- readiness_
health_ numbercheck_ invocation_ timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness_
health_ stringcheck_ type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes list(object)
- The routes to map to the application to control its ingress traffic.
- service_
bindings list(object) - Service instances to bind to the application.
- sidecars list(object)
- The attribute specifies additional processes to run in the same container as your app
- source_
code_ stringhash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- space_
name string - The name of the associated Cloud Foundry space.
- stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout number
- Time in seconds at which the health-check will report failure.
- updated_
at string - The date and time when the resource was updated in RFC3339 format.
- annotations Map<String,String>
- The annotations associated with Cloud Foundry resources. Add as described here.
- app
Deployed DoubleRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app
Deployed DoubleRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks List<String>
- Multiple buildpacks used to stage the application.
- command String
- A custom start command for the application. This overrides the start command provided by the buildpack.
- created
At String - The date and time when the resource was created in RFC3339 format.
- disk
Quota String - The disk space to be allocated for each application instance.
- docker
Credentials AppDocker Credentials - Defines login credentials for private docker repositories
- docker
Image String - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable
Ssh Boolean - Whether to enable or disable SSH access on an app level.
- environment Map<String,String>
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health
Check StringHttp Endpoint - The endpoint for the http health check type.
- health
Check DoubleInterval - The interval in seconds between health checks.
- health
Check DoubleInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check StringType - The health check type which can be one of 'port', 'process', 'http'.
- instances Double
- The number of app instances that you want to start. Defaults to 1.
- labels Map<String,String>
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle
Type String - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log
Rate StringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory String
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name String
- The name of the application.
- no
Route Boolean - The attribute with a value of true to prevent a route from being created for your app.
- org
Name String - The name of the associated Cloud Foundry organization.
- path String
- The path to the zip file for the application.
- processes
List<App
Process> - List of configurations for individual process types.
- random
Route Boolean - The random-route attribute to generate a unique route and avoid name collisions.
- readiness
Health StringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health DoubleCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health DoubleCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health StringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes
List<App
Route> - The routes to map to the application to control its ingress traffic.
- service
Bindings List<AppService Binding> - Service instances to bind to the application.
- sidecars
List<App
Sidecar> - The attribute specifies additional processes to run in the same container as your app
- source
Code StringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- space
Name String - The name of the associated Cloud Foundry space.
- stack String
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped Boolean
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy String
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout Double
- Time in seconds at which the health-check will report failure.
- updated
At String - The date and time when the resource was updated in RFC3339 format.
- annotations {[key: string]: string}
- The annotations associated with Cloud Foundry resources. Add as described here.
- app
Deployed numberRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app
Deployed numberRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks string[]
- Multiple buildpacks used to stage the application.
- command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- created
At string - The date and time when the resource was created in RFC3339 format.
- disk
Quota string - The disk space to be allocated for each application instance.
- docker
Credentials AppDocker Credentials - Defines login credentials for private docker repositories
- docker
Image string - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable
Ssh boolean - Whether to enable or disable SSH access on an app level.
- environment {[key: string]: string}
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health
Check stringHttp Endpoint - The endpoint for the http health check type.
- health
Check numberInterval - The interval in seconds between health checks.
- health
Check numberInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- instances number
- The number of app instances that you want to start. Defaults to 1.
- labels {[key: string]: string}
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle
Type string - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name string
- The name of the application.
- no
Route boolean - The attribute with a value of true to prevent a route from being created for your app.
- org
Name string - The name of the associated Cloud Foundry organization.
- path string
- The path to the zip file for the application.
- processes
App
Process[] - List of configurations for individual process types.
- random
Route boolean - The random-route attribute to generate a unique route and avoid name collisions.
- readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health numberCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health numberCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes
App
Route[] - The routes to map to the application to control its ingress traffic.
- service
Bindings AppService Binding[] - Service instances to bind to the application.
- sidecars
App
Sidecar[] - The attribute specifies additional processes to run in the same container as your app
- source
Code stringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- space
Name string - The name of the associated Cloud Foundry space.
- stack string
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped boolean
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy string
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout number
- Time in seconds at which the health-check will report failure.
- updated
At string - The date and time when the resource was updated in RFC3339 format.
- annotations Mapping[str, str]
- The annotations associated with Cloud Foundry resources. Add as described here.
- app_
deployed_ floatrunning_ check_ interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app_
deployed_ floatrunning_ timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks Sequence[str]
- Multiple buildpacks used to stage the application.
- command str
- A custom start command for the application. This overrides the start command provided by the buildpack.
- created_
at str - The date and time when the resource was created in RFC3339 format.
- disk_
quota str - The disk space to be allocated for each application instance.
- docker_
credentials AppDocker Credentials Args - Defines login credentials for private docker repositories
- docker_
image str - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable_
ssh bool - Whether to enable or disable SSH access on an app level.
- environment Mapping[str, str]
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health_
check_ strhttp_ endpoint - The endpoint for the http health check type.
- health_
check_ floatinterval - The interval in seconds between health checks.
- health_
check_ floatinvocation_ timeout - The timeout in seconds for the health check requests for http and port health checks.
- health_
check_ strtype - The health check type which can be one of 'port', 'process', 'http'.
- instances float
- The number of app instances that you want to start. Defaults to 1.
- labels Mapping[str, str]
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle_
type str - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log_
rate_ strlimit_ per_ second - The attribute specifies the log rate limit for all instances of an app.
- memory str
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name str
- The name of the application.
- no_
route bool - The attribute with a value of true to prevent a route from being created for your app.
- org_
name str - The name of the associated Cloud Foundry organization.
- path str
- The path to the zip file for the application.
- processes
Sequence[App
Process Args] - List of configurations for individual process types.
- random_
route bool - The random-route attribute to generate a unique route and avoid name collisions.
- readiness_
health_ strcheck_ http_ endpoint - The endpoint for the http readiness health check type.
- readiness_
health_ floatcheck_ interval - The interval in seconds between readiness health checks.
- readiness_
health_ floatcheck_ invocation_ timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness_
health_ strcheck_ type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes
Sequence[App
Route Args] - The routes to map to the application to control its ingress traffic.
- service_
bindings Sequence[AppService Binding Args] - Service instances to bind to the application.
- sidecars
Sequence[App
Sidecar Args] - The attribute specifies additional processes to run in the same container as your app
- source_
code_ strhash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- space_
name str - The name of the associated Cloud Foundry space.
- stack str
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped bool
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy str
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout float
- Time in seconds at which the health-check will report failure.
- updated_
at str - The date and time when the resource was updated in RFC3339 format.
- annotations Map<String>
- The annotations associated with Cloud Foundry resources. Add as described here.
- app
Deployed NumberRunning Check Interval - The interval in seconds between checks to see if the app is running after updating deployment with 'blue-green' strategy. The default is 5 seconds. Min value is 1 second, max value is 30 seconds. Used only when strategy is set to 'blue-green'.
- app
Deployed NumberRunning Timeout - Timeout in minutes to wait for app to be running after updating deployment with 'blue-green' strategy. The default is 5 minutes. Min value is 1 minute. Used only when strategy is set to 'blue-green'.
- buildpacks List<String>
- Multiple buildpacks used to stage the application.
- command String
- A custom start command for the application. This overrides the start command provided by the buildpack.
- created
At String - The date and time when the resource was created in RFC3339 format.
- disk
Quota String - The disk space to be allocated for each application instance.
- docker
Credentials Property Map - Defines login credentials for private docker repositories
- docker
Image String - The URL to the docker image with tag e.g registry.example.com:5000/user/repository/tag or docker image name from the public repo e.g. redis:4.0
- enable
Ssh Boolean - Whether to enable or disable SSH access on an app level.
- environment Map<String>
- Key/value pairs of custom environment variables to set in your app. Does not include any system or service variables.
- health
Check StringHttp Endpoint - The endpoint for the http health check type.
- health
Check NumberInterval - The interval in seconds between health checks.
- health
Check NumberInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check StringType - The health check type which can be one of 'port', 'process', 'http'.
- instances Number
- The number of app instances that you want to start. Defaults to 1.
- labels Map<String>
- The labels associated with Cloud Foundry resources. Add as described here.
- lifecycle
Type String - The lifecycle type used to stage the application. Valid values are
buildpack,docker, andcnb(Cloud Native Buildpacks). Defaults todockerwhendocker_imageis set, otherwisebuildpack. - log
Rate StringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory String
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- name String
- The name of the application.
- no
Route Boolean - The attribute with a value of true to prevent a route from being created for your app.
- org
Name String - The name of the associated Cloud Foundry organization.
- path String
- The path to the zip file for the application.
- processes List<Property Map>
- List of configurations for individual process types.
- random
Route Boolean - The random-route attribute to generate a unique route and avoid name collisions.
- readiness
Health StringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health NumberCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health NumberCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health StringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- routes List<Property Map>
- The routes to map to the application to control its ingress traffic.
- service
Bindings List<Property Map> - Service instances to bind to the application.
- sidecars List<Property Map>
- The attribute specifies additional processes to run in the same container as your app
- source
Code StringHash - Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the path specified.
- space
Name String - The name of the associated Cloud Foundry space.
- stack String
- The base operating system and file system that your application will execute in. Please refer to the docs for more information
- stopped Boolean
- Whether the application is started or stopped after creation. By default, this value is false, meaning the application will be started automatically after creation.
- strategy String
- The deployment strategy to use when deploying the application. Valid values are 'none', 'rolling', and 'blue-green', defaults to 'none'.
- timeout Number
- Time in seconds at which the health-check will report failure.
- updated
At String - The date and time when the resource was updated in RFC3339 format.
Supporting Types
AppDockerCredentials, AppDockerCredentialsArgs
AppProcess, AppProcessArgs
- Type string
- The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
- Command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- Disk
Quota string - The disk space to be allocated for each application instance.
- Health
Check stringHttp Endpoint - The endpoint for the http health check type.
- Health
Check doubleInterval - The interval in seconds between health checks.
- Health
Check doubleInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- Health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- Instances double
- The number of app instances that you want to start. Defaults to 1.
- Log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- Memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- Readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- Readiness
Health doubleCheck Interval - The interval in seconds between readiness health checks.
- Readiness
Health doubleCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- Readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- Timeout double
- Time in seconds at which the health-check will report failure.
- Type string
- The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
- Command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- Disk
Quota string - The disk space to be allocated for each application instance.
- Health
Check stringHttp Endpoint - The endpoint for the http health check type.
- Health
Check float64Interval - The interval in seconds between health checks.
- Health
Check float64Invocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- Health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- Instances float64
- The number of app instances that you want to start. Defaults to 1.
- Log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- Memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- Readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- Readiness
Health float64Check Interval - The interval in seconds between readiness health checks.
- Readiness
Health float64Check Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- Readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- Timeout float64
- Time in seconds at which the health-check will report failure.
- type string
- The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
- command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk_
quota string - The disk space to be allocated for each application instance.
- health_
check_ stringhttp_ endpoint - The endpoint for the http health check type.
- health_
check_ numberinterval - The interval in seconds between health checks.
- health_
check_ numberinvocation_ timeout - The timeout in seconds for the health check requests for http and port health checks.
- health_
check_ stringtype - The health check type which can be one of 'port', 'process', 'http'.
- instances number
- The number of app instances that you want to start. Defaults to 1.
- log_
rate_ stringlimit_ per_ second - The attribute specifies the log rate limit for all instances of an app.
- memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- readiness_
health_ stringcheck_ http_ endpoint - The endpoint for the http readiness health check type.
- readiness_
health_ numbercheck_ interval - The interval in seconds between readiness health checks.
- readiness_
health_ numbercheck_ invocation_ timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness_
health_ stringcheck_ type - The readiness health check type which can be one of 'port', 'process', 'http'.
- timeout number
- Time in seconds at which the health-check will report failure.
- type String
- The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
- command String
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk
Quota String - The disk space to be allocated for each application instance.
- health
Check StringHttp Endpoint - The endpoint for the http health check type.
- health
Check DoubleInterval - The interval in seconds between health checks.
- health
Check DoubleInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check StringType - The health check type which can be one of 'port', 'process', 'http'.
- instances Double
- The number of app instances that you want to start. Defaults to 1.
- log
Rate StringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory String
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- readiness
Health StringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health DoubleCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health DoubleCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health StringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- timeout Double
- Time in seconds at which the health-check will report failure.
- type string
- The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
- command string
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk
Quota string - The disk space to be allocated for each application instance.
- health
Check stringHttp Endpoint - The endpoint for the http health check type.
- health
Check numberInterval - The interval in seconds between health checks.
- health
Check numberInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check stringType - The health check type which can be one of 'port', 'process', 'http'.
- instances number
- The number of app instances that you want to start. Defaults to 1.
- log
Rate stringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory string
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- readiness
Health stringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health numberCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health numberCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health stringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- timeout number
- Time in seconds at which the health-check will report failure.
- type str
- The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
- command str
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk_
quota str - The disk space to be allocated for each application instance.
- health_
check_ strhttp_ endpoint - The endpoint for the http health check type.
- health_
check_ floatinterval - The interval in seconds between health checks.
- health_
check_ floatinvocation_ timeout - The timeout in seconds for the health check requests for http and port health checks.
- health_
check_ strtype - The health check type which can be one of 'port', 'process', 'http'.
- instances float
- The number of app instances that you want to start. Defaults to 1.
- log_
rate_ strlimit_ per_ second - The attribute specifies the log rate limit for all instances of an app.
- memory str
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- readiness_
health_ strcheck_ http_ endpoint - The endpoint for the http readiness health check type.
- readiness_
health_ floatcheck_ interval - The interval in seconds between readiness health checks.
- readiness_
health_ floatcheck_ invocation_ timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness_
health_ strcheck_ type - The readiness health check type which can be one of 'port', 'process', 'http'.
- timeout float
- Time in seconds at which the health-check will report failure.
- type String
- The process type. Any string identifier is accepted (e.g., web, worker, scheduler).
- command String
- A custom start command for the application. This overrides the start command provided by the buildpack.
- disk
Quota String - The disk space to be allocated for each application instance.
- health
Check StringHttp Endpoint - The endpoint for the http health check type.
- health
Check NumberInterval - The interval in seconds between health checks.
- health
Check NumberInvocation Timeout - The timeout in seconds for the health check requests for http and port health checks.
- health
Check StringType - The health check type which can be one of 'port', 'process', 'http'.
- instances Number
- The number of app instances that you want to start. Defaults to 1.
- log
Rate StringLimit Per Second - The attribute specifies the log rate limit for all instances of an app.
- memory String
- The memory limit for each application instance. If not provided, value is computed and retreived from Cloud Foundry.
- readiness
Health StringCheck Http Endpoint - The endpoint for the http readiness health check type.
- readiness
Health NumberCheck Interval - The interval in seconds between readiness health checks.
- readiness
Health NumberCheck Invocation Timeout - The timeout in seconds for the readiness health check requests for http and port health checks.
- readiness
Health StringCheck Type - The readiness health check type which can be one of 'port', 'process', 'http'.
- timeout Number
- Time in seconds at which the health-check will report failure.
AppRoute, AppRouteArgs
AppServiceBinding, AppServiceBindingArgs
- Params string
- A json object to send to the service broker during service binding.
- Service
Instance string - The service instance name.
- Params string
- A json object to send to the service broker during service binding.
- Service
Instance string - The service instance name.
- params string
- A json object to send to the service broker during service binding.
- service_
instance string - The service instance name.
- params String
- A json object to send to the service broker during service binding.
- service
Instance String - The service instance name.
- params string
- A json object to send to the service broker during service binding.
- service
Instance string - The service instance name.
- params str
- A json object to send to the service broker during service binding.
- service_
instance str - The service instance name.
- params String
- A json object to send to the service broker during service binding.
- service
Instance String - The service instance name.
AppSidecar, AppSidecarArgs
- Name string
- Sidecar name. The identifier for the sidecars to be configured.
- Command string
- The command used to start the sidecar.
- Memory string
- The memory limit for the sidecar.
- Process
Types List<string> - List of processes to associate sidecar with.
- Name string
- Sidecar name. The identifier for the sidecars to be configured.
- Command string
- The command used to start the sidecar.
- Memory string
- The memory limit for the sidecar.
- Process
Types []string - List of processes to associate sidecar with.
- name string
- Sidecar name. The identifier for the sidecars to be configured.
- command string
- The command used to start the sidecar.
- memory string
- The memory limit for the sidecar.
- process_
types list(string) - List of processes to associate sidecar with.
- name String
- Sidecar name. The identifier for the sidecars to be configured.
- command String
- The command used to start the sidecar.
- memory String
- The memory limit for the sidecar.
- process
Types List<String> - List of processes to associate sidecar with.
- name string
- Sidecar name. The identifier for the sidecars to be configured.
- command string
- The command used to start the sidecar.
- memory string
- The memory limit for the sidecar.
- process
Types string[] - List of processes to associate sidecar with.
- name str
- Sidecar name. The identifier for the sidecars to be configured.
- command str
- The command used to start the sidecar.
- memory str
- The memory limit for the sidecar.
- process_
types Sequence[str] - List of processes to associate sidecar with.
- name String
- Sidecar name. The identifier for the sidecars to be configured.
- command String
- The command used to start the sidecar.
- memory String
- The memory limit for the sidecar.
- process
Types List<String> - List of processes to associate sidecar with.
Import
terraform
$ pulumi import cloudfoundry:index/app:App <resource_name> <app_guid>
$ pulumi import cloudfoundry:index/app:App gobis-server' f71f4a6e-253c-4025-8e45-d2be1a0d9b15
$ pulumi import cloudfoundry:index/app:App #using id attribute in import block
import {
to = cloudfoundry_app.<resource_name>
id = “<app_guid>”
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
- License
- Notes
- This Pulumi package is based on the
cloudfoundryTerraform Provider.
published on Friday, Nov 13, 2026 by cloudfoundry