Application

Allows creation and management of an App Engine application.

App Engine applications cannot be deleted once they’re created; you have to delete the entire project to delete the application. This provider will report the application has been successfully deleted; this is a limitation of the provider, and will go away in the future. This provider is not able to delete App Engine applications.

Warning: All arguments including iap.oauth2_client_secret will be stored in the raw state as plain-text. Read more about sensitive data in state.

Create a Application Resource

def Application(resource_name, opts=None, auth_domain=None, database_type=None, feature_settings=None, iap=None, location_id=None, project=None, serving_status=None, __props__=None);
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Application Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Application resource accepts the following input properties:

LocationId string

The location to serve the app from.

AuthDomain string

The domain to authenticate users with when using App Engine’s User API.

DatabaseType string

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

FeatureSettings ApplicationFeatureSettingsArgs

A block of optional settings to configure specific App Engine features:

Iap ApplicationIapArgs

Settings for enabling Cloud Identity Aware Proxy

Project string

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

ServingStatus string

The serving status of the app.

LocationId string

The location to serve the app from.

AuthDomain string

The domain to authenticate users with when using App Engine’s User API.

DatabaseType string

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

FeatureSettings ApplicationFeatureSettings

A block of optional settings to configure specific App Engine features:

Iap ApplicationIap

Settings for enabling Cloud Identity Aware Proxy

Project string

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

ServingStatus string

The serving status of the app.

locationId string

The location to serve the app from.

authDomain string

The domain to authenticate users with when using App Engine’s User API.

databaseType string

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

featureSettings ApplicationFeatureSettings

A block of optional settings to configure specific App Engine features:

iap ApplicationIap

Settings for enabling Cloud Identity Aware Proxy

project string

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

servingStatus string

The serving status of the app.

location_id str

The location to serve the app from.

auth_domain str

The domain to authenticate users with when using App Engine’s User API.

database_type str

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

feature_settings Dict[ApplicationFeatureSettings]

A block of optional settings to configure specific App Engine features:

iap Dict[ApplicationIap]

Settings for enabling Cloud Identity Aware Proxy

project str

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

serving_status str

The serving status of the app.

Outputs

All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:

AppId string

Identifier of the app, usually {PROJECT_ID}

CodeBucket string

The GCS bucket code is being stored in for this app.

DefaultBucket string

The GCS bucket content is being stored in for this app.

DefaultHostname string

The default hostname for this app.

GcrDomain string

The GCR domain used for storing managed Docker images for this app.

Id string
The provider-assigned unique ID for this managed resource.
Name string

Unique name of the app, usually apps/{PROJECT_ID}

UrlDispatchRules List<ApplicationUrlDispatchRule>

A list of dispatch rule blocks. Each block has a domain, path, and service field.

AppId string

Identifier of the app, usually {PROJECT_ID}

CodeBucket string

The GCS bucket code is being stored in for this app.

DefaultBucket string

The GCS bucket content is being stored in for this app.

DefaultHostname string

The default hostname for this app.

GcrDomain string

The GCR domain used for storing managed Docker images for this app.

Id string
The provider-assigned unique ID for this managed resource.
Name string

Unique name of the app, usually apps/{PROJECT_ID}

UrlDispatchRules []ApplicationUrlDispatchRule

A list of dispatch rule blocks. Each block has a domain, path, and service field.

appId string

Identifier of the app, usually {PROJECT_ID}

codeBucket string

The GCS bucket code is being stored in for this app.

defaultBucket string

The GCS bucket content is being stored in for this app.

defaultHostname string

The default hostname for this app.

gcrDomain string

The GCR domain used for storing managed Docker images for this app.

id string
The provider-assigned unique ID for this managed resource.
name string

Unique name of the app, usually apps/{PROJECT_ID}

urlDispatchRules ApplicationUrlDispatchRule[]

A list of dispatch rule blocks. Each block has a domain, path, and service field.

app_id str

Identifier of the app, usually {PROJECT_ID}

code_bucket str

The GCS bucket code is being stored in for this app.

default_bucket str

The GCS bucket content is being stored in for this app.

default_hostname str

The default hostname for this app.

gcr_domain str

The GCR domain used for storing managed Docker images for this app.

id str
The provider-assigned unique ID for this managed resource.
name str

Unique name of the app, usually apps/{PROJECT_ID}

url_dispatch_rules List[ApplicationUrlDispatchRule]

A list of dispatch rule blocks. Each block has a domain, path, and service field.

Look up an Existing Application Resource

Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application
static get(resource_name, id, opts=None, app_id=None, auth_domain=None, code_bucket=None, database_type=None, default_bucket=None, default_hostname=None, feature_settings=None, gcr_domain=None, iap=None, location_id=None, name=None, project=None, serving_status=None, url_dispatch_rules=None, __props__=None);
func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AppId string

Identifier of the app, usually {PROJECT_ID}

AuthDomain string

The domain to authenticate users with when using App Engine’s User API.

CodeBucket string

The GCS bucket code is being stored in for this app.

DatabaseType string

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

DefaultBucket string

The GCS bucket content is being stored in for this app.

DefaultHostname string

The default hostname for this app.

FeatureSettings ApplicationFeatureSettingsArgs

A block of optional settings to configure specific App Engine features:

GcrDomain string

The GCR domain used for storing managed Docker images for this app.

Iap ApplicationIapArgs

Settings for enabling Cloud Identity Aware Proxy

LocationId string

The location to serve the app from.

Name string

Unique name of the app, usually apps/{PROJECT_ID}

Project string

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

ServingStatus string

The serving status of the app.

UrlDispatchRules List<ApplicationUrlDispatchRuleArgs>

A list of dispatch rule blocks. Each block has a domain, path, and service field.

AppId string

Identifier of the app, usually {PROJECT_ID}

AuthDomain string

The domain to authenticate users with when using App Engine’s User API.

CodeBucket string

The GCS bucket code is being stored in for this app.

DatabaseType string

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

DefaultBucket string

The GCS bucket content is being stored in for this app.

DefaultHostname string

The default hostname for this app.

FeatureSettings ApplicationFeatureSettings

A block of optional settings to configure specific App Engine features:

GcrDomain string

The GCR domain used for storing managed Docker images for this app.

Iap ApplicationIap

Settings for enabling Cloud Identity Aware Proxy

LocationId string

The location to serve the app from.

Name string

Unique name of the app, usually apps/{PROJECT_ID}

Project string

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

ServingStatus string

The serving status of the app.

UrlDispatchRules []ApplicationUrlDispatchRule

A list of dispatch rule blocks. Each block has a domain, path, and service field.

appId string

Identifier of the app, usually {PROJECT_ID}

authDomain string

The domain to authenticate users with when using App Engine’s User API.

codeBucket string

The GCS bucket code is being stored in for this app.

databaseType string

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

defaultBucket string

The GCS bucket content is being stored in for this app.

defaultHostname string

The default hostname for this app.

featureSettings ApplicationFeatureSettings

A block of optional settings to configure specific App Engine features:

gcrDomain string

The GCR domain used for storing managed Docker images for this app.

iap ApplicationIap

Settings for enabling Cloud Identity Aware Proxy

locationId string

The location to serve the app from.

name string

Unique name of the app, usually apps/{PROJECT_ID}

project string

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

servingStatus string

The serving status of the app.

urlDispatchRules ApplicationUrlDispatchRule[]

A list of dispatch rule blocks. Each block has a domain, path, and service field.

app_id str

Identifier of the app, usually {PROJECT_ID}

auth_domain str

The domain to authenticate users with when using App Engine’s User API.

code_bucket str

The GCS bucket code is being stored in for this app.

database_type str

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

default_bucket str

The GCS bucket content is being stored in for this app.

default_hostname str

The default hostname for this app.

feature_settings Dict[ApplicationFeatureSettings]

A block of optional settings to configure specific App Engine features:

gcr_domain str

The GCR domain used for storing managed Docker images for this app.

iap Dict[ApplicationIap]

Settings for enabling Cloud Identity Aware Proxy

location_id str

The location to serve the app from.

name str

Unique name of the app, usually apps/{PROJECT_ID}

project str

The project ID to create the application under. ~>NOTE: GCP only accepts project ID, not project number. If you are using number, you may get a “Permission denied” error.

serving_status str

The serving status of the app.

url_dispatch_rules List[ApplicationUrlDispatchRule]

A list of dispatch rule blocks. Each block has a domain, path, and service field.

Supporting Types

ApplicationFeatureSettings

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

SplitHealthChecks bool

Set to false to use the legacy health check instead of the readiness and liveness checks.

SplitHealthChecks bool

Set to false to use the legacy health check instead of the readiness and liveness checks.

splitHealthChecks boolean

Set to false to use the legacy health check instead of the readiness and liveness checks.

splitHealthChecks bool

Set to false to use the legacy health check instead of the readiness and liveness checks.

ApplicationIap

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Oauth2ClientId string

OAuth2 client ID to use for the authentication flow.

Oauth2ClientSecret string

OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.

Enabled bool
Oauth2ClientSecretSha256 string

Hex-encoded SHA-256 hash of the client secret.

Oauth2ClientId string

OAuth2 client ID to use for the authentication flow.

Oauth2ClientSecret string

OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.

Enabled bool
Oauth2ClientSecretSha256 string

Hex-encoded SHA-256 hash of the client secret.

oauth2ClientId string

OAuth2 client ID to use for the authentication flow.

oauth2ClientSecret string

OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.

enabled boolean
oauth2ClientSecretSha256 string

Hex-encoded SHA-256 hash of the client secret.

oauth2ClientId str

OAuth2 client ID to use for the authentication flow.

oauth2ClientSecret str

OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.

enabled bool
oauth2ClientSecretSha256 str

Hex-encoded SHA-256 hash of the client secret.

ApplicationUrlDispatchRule

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Domain string
Path string
Service string
Domain string
Path string
Service string
domain string
path string
service string
domain str
path str
service str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.