-
Notifications
You must be signed in to change notification settings - Fork 86
datasource_app
ArthurHlt edited this page Dec 11, 2019
·
2 revisions
Gets information on a Cloud Foundry application.
data "cloudfoundry_app" "my-app" {
name_or_id = "my-app"
space = "space-id"
}The following arguments are supported:
-
name_or_id- (Required) The name of the application or its guid. -
space- (Required) The space guid of the app.
The following attributes are exported:
-
id- The GUID of the application -
name- The name of the application. -
instances- The number of app instances that you want to start. Defaults to 1. -
memory- The memory limit for each application instance in megabytes. -
disk_quota- The disk space to be allocated for each application instance in megabytes. -
stack- The GUID of the stack the application will be deployed to. -
buildpack- The buildpack used to stage the application. -
command- The custom start command for the application. -
enable_ssh- Whether to enable or disable SSH access to the container. -
state- Current state of the app (stoppedorrunningorstarted). -
environment- Key/value pairs of custom environment variables to set in your app. -
health_check_http_endpoint- The endpoint for the http health check type. -
health_check_type- The health check type which can be one of "port", "process", "http" or "none". -
health_check_timeout- The timeout in seconds for the health check. -
labels- Labels as described here. -
annotations- Annotations as described here.
- cloudfoundry_app
- cloudfoundry_asg
- cloudfoundry_domain
- cloudfoundry_info
- cloudfoundry_isolation_segment
- cloudfoundry_org
- cloudfoundry_org_quota
- cloudfoundry_route
- cloudfoundry_router_group
- cloudfoundry_service
- cloudfoundry_service_instance
- cloudfoundry_service_key
- cloudfoundry_space
- cloudfoundry_space_quota
- cloudfoundry_stack
- cloudfoundry_user
- cloudfoundry_user_provided_service
- cloudfoundry_app
- cloudfoundry_asg
- cloudfoundry_buildpack
- cloudfoundry_default_asg
- cloudfoundry_domain
- cloudfoundry_evg
- cloudfoundry_feature_flag
- cloudfoundry_isolation_segment
- cloudfoundry_isolation_segment_entitlement
- cloudfoundry_network_policy
- cloudfoundry_org
- cloudfoundry_org_quota
- cloudfoundry_org_users
- cloudfoundry_private_domain_access
- cloudfoundry_route
- cloudfoundry_route_service_binding
- cloudfoundry_service_broker
- cloudfoundry_service_instance
- cloudfoundry_service_key
- cloudfoundry_service_plan_access
- cloudfoundry_space
- cloudfoundry_space_quota
- cloudfoundry_space_users
- cloudfoundry_user
- cloudfoundry_user_provided_service