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_secretwill be stored in the raw state as plain-text. Read more about sensitive data in state.
Create a Application Resource
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);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:
- Location
Id string The location to serve the app from.
- Auth
Domain string The domain to authenticate users with when using App Engine’s User API.
- Database
Type string The type of the Cloud Firestore or Cloud Datastore database associated with this application.
- Feature
Settings ApplicationFeature Settings Args A block of optional settings to configure specific App Engine features:
- Iap
Application
Iap Args 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.
- Serving
Status string The serving status of the app.
- Location
Id string The location to serve the app from.
- Auth
Domain string The domain to authenticate users with when using App Engine’s User API.
- Database
Type string The type of the Cloud Firestore or Cloud Datastore database associated with this application.
- Feature
Settings ApplicationFeature Settings A block of optional settings to configure specific App Engine features:
- Iap
Application
Iap 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.
- Serving
Status string The serving status of the app.
- location
Id string The location to serve the app from.
- auth
Domain string The domain to authenticate users with when using App Engine’s User API.
- database
Type string The type of the Cloud Firestore or Cloud Datastore database associated with this application.
- feature
Settings ApplicationFeature Settings A block of optional settings to configure specific App Engine features:
- iap
Application
Iap 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.
- serving
Status 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[ApplicationFeature Settings] A block of optional settings to configure specific App Engine features:
- iap
Dict[Application
Iap] 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:
- App
Id string Identifier of the app, usually
{PROJECT_ID}- Code
Bucket string The GCS bucket code is being stored in for this app.
- Default
Bucket string The GCS bucket content is being stored in for this app.
- Default
Hostname string The default hostname for this app.
- Gcr
Domain 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}- Url
Dispatch List<ApplicationRules Url Dispatch Rule> A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
- App
Id string Identifier of the app, usually
{PROJECT_ID}- Code
Bucket string The GCS bucket code is being stored in for this app.
- Default
Bucket string The GCS bucket content is being stored in for this app.
- Default
Hostname string The default hostname for this app.
- Gcr
Domain 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}- Url
Dispatch []ApplicationRules Url Dispatch Rule A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
- app
Id string Identifier of the app, usually
{PROJECT_ID}- code
Bucket string The GCS bucket code is being stored in for this app.
- default
Bucket string The GCS bucket content is being stored in for this app.
- default
Hostname string The default hostname for this app.
- gcr
Domain 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}- url
Dispatch ApplicationRules Url Dispatch Rule[] A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
- 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_ List[Applicationrules Url Dispatch Rule] A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
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): Applicationstatic 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:
- App
Id string Identifier of the app, usually
{PROJECT_ID}- Auth
Domain string The domain to authenticate users with when using App Engine’s User API.
- Code
Bucket string The GCS bucket code is being stored in for this app.
- Database
Type string The type of the Cloud Firestore or Cloud Datastore database associated with this application.
- Default
Bucket string The GCS bucket content is being stored in for this app.
- Default
Hostname string The default hostname for this app.
- Feature
Settings ApplicationFeature Settings Args A block of optional settings to configure specific App Engine features:
- Gcr
Domain string The GCR domain used for storing managed Docker images for this app.
- Iap
Application
Iap Args Settings for enabling Cloud Identity Aware Proxy
- Location
Id 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.
- Serving
Status string The serving status of the app.
- Url
Dispatch List<ApplicationRules Url Dispatch Rule Args> A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
- App
Id string Identifier of the app, usually
{PROJECT_ID}- Auth
Domain string The domain to authenticate users with when using App Engine’s User API.
- Code
Bucket string The GCS bucket code is being stored in for this app.
- Database
Type string The type of the Cloud Firestore or Cloud Datastore database associated with this application.
- Default
Bucket string The GCS bucket content is being stored in for this app.
- Default
Hostname string The default hostname for this app.
- Feature
Settings ApplicationFeature Settings A block of optional settings to configure specific App Engine features:
- Gcr
Domain string The GCR domain used for storing managed Docker images for this app.
- Iap
Application
Iap Settings for enabling Cloud Identity Aware Proxy
- Location
Id 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.
- Serving
Status string The serving status of the app.
- Url
Dispatch []ApplicationRules Url Dispatch Rule A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
- app
Id string Identifier of the app, usually
{PROJECT_ID}- auth
Domain string The domain to authenticate users with when using App Engine’s User API.
- code
Bucket string The GCS bucket code is being stored in for this app.
- database
Type string The type of the Cloud Firestore or Cloud Datastore database associated with this application.
- default
Bucket string The GCS bucket content is being stored in for this app.
- default
Hostname string The default hostname for this app.
- feature
Settings ApplicationFeature Settings A block of optional settings to configure specific App Engine features:
- gcr
Domain string The GCR domain used for storing managed Docker images for this app.
- iap
Application
Iap Settings for enabling Cloud Identity Aware Proxy
- location
Id 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.
- serving
Status string The serving status of the app.
- url
Dispatch ApplicationRules Url Dispatch Rule[] A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
- 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[ApplicationFeature Settings] 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[Application
Iap] 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_ List[Applicationrules Url Dispatch Rule] A list of dispatch rule blocks. Each block has a
domain,path, andservicefield.
Supporting Types
ApplicationFeatureSettings
- Split
Health boolChecks Set to false to use the legacy health check instead of the readiness and liveness checks.
- Split
Health boolChecks Set to false to use the legacy health check instead of the readiness and liveness checks.
- split
Health booleanChecks Set to false to use the legacy health check instead of the readiness and liveness checks.
- split
Health boolChecks Set to false to use the legacy health check instead of the readiness and liveness checks.
ApplicationIap
- Oauth2Client
Id string OAuth2 client ID to use for the authentication flow.
- Oauth2Client
Secret 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
- Oauth2Client
Secret stringSha256 Hex-encoded SHA-256 hash of the client secret.
- Oauth2Client
Id string OAuth2 client ID to use for the authentication flow.
- Oauth2Client
Secret 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
- Oauth2Client
Secret stringSha256 Hex-encoded SHA-256 hash of the client secret.
- oauth2Client
Id string OAuth2 client ID to use for the authentication flow.
- oauth2Client
Secret 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
- oauth2Client
Secret stringSha256 Hex-encoded SHA-256 hash of the client secret.
- oauth2Client
Id str OAuth2 client ID to use for the authentication flow.
- oauth2Client
Secret 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
- oauth2Client
Secret strSha256 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.