gcp.appengine.Application
Explore with Pulumi AI
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.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const myProject = new gcp.organizations.Project("my_project", {
name: "My Project",
projectId: "your-project-id",
orgId: "1234567",
});
const app = new gcp.appengine.Application("app", {
project: myProject.projectId,
locationId: "us-central",
});
import pulumi
import pulumi_gcp as gcp
my_project = gcp.organizations.Project("my_project",
name="My Project",
project_id="your-project-id",
org_id="1234567")
app = gcp.appengine.Application("app",
project=my_project.project_id,
location_id="us-central")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/appengine"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
myProject, err := organizations.NewProject(ctx, "my_project", &organizations.ProjectArgs{
Name: pulumi.String("My Project"),
ProjectId: pulumi.String("your-project-id"),
OrgId: pulumi.String("1234567"),
})
if err != nil {
return err
}
_, err = appengine.NewApplication(ctx, "app", &appengine.ApplicationArgs{
Project: myProject.ProjectId,
LocationId: pulumi.String("us-central"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var myProject = new Gcp.Organizations.Project("my_project", new()
{
Name = "My Project",
ProjectId = "your-project-id",
OrgId = "1234567",
});
var app = new Gcp.AppEngine.Application("app", new()
{
Project = myProject.ProjectId,
LocationId = "us-central",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.appengine.Application;
import com.pulumi.gcp.appengine.ApplicationArgs;
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 myProject = new Project("myProject", ProjectArgs.builder()
.name("My Project")
.projectId("your-project-id")
.orgId("1234567")
.build());
var app = new Application("app", ApplicationArgs.builder()
.project(myProject.projectId())
.locationId("us-central")
.build());
}
}
resources:
myProject:
type: gcp:organizations:Project
name: my_project
properties:
name: My Project
projectId: your-project-id
orgId: '1234567'
app:
type: gcp:appengine:Application
properties:
project: ${myProject.projectId}
locationId: us-central
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
location_id: Optional[str] = None,
auth_domain: Optional[str] = None,
database_type: Optional[str] = None,
feature_settings: Optional[ApplicationFeatureSettingsArgs] = None,
iap: Optional[ApplicationIapArgs] = None,
project: Optional[str] = None,
serving_status: Optional[str] = None)
func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: gcp:appengine:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
- args ApplicationArgs
- 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 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.
- name String
- The unique name of the resource.
- args ApplicationArgs
- 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 applicationResource = new Gcp.AppEngine.Application("applicationResource", new()
{
LocationId = "string",
AuthDomain = "string",
DatabaseType = "string",
FeatureSettings = new Gcp.AppEngine.Inputs.ApplicationFeatureSettingsArgs
{
SplitHealthChecks = false,
},
Iap = new Gcp.AppEngine.Inputs.ApplicationIapArgs
{
Oauth2ClientId = "string",
Oauth2ClientSecret = "string",
Enabled = false,
Oauth2ClientSecretSha256 = "string",
},
Project = "string",
ServingStatus = "string",
});
example, err := appengine.NewApplication(ctx, "applicationResource", &appengine.ApplicationArgs{
LocationId: pulumi.String("string"),
AuthDomain: pulumi.String("string"),
DatabaseType: pulumi.String("string"),
FeatureSettings: &appengine.ApplicationFeatureSettingsArgs{
SplitHealthChecks: pulumi.Bool(false),
},
Iap: &appengine.ApplicationIapArgs{
Oauth2ClientId: pulumi.String("string"),
Oauth2ClientSecret: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Oauth2ClientSecretSha256: pulumi.String("string"),
},
Project: pulumi.String("string"),
ServingStatus: pulumi.String("string"),
})
var applicationResource = new Application("applicationResource", ApplicationArgs.builder()
.locationId("string")
.authDomain("string")
.databaseType("string")
.featureSettings(ApplicationFeatureSettingsArgs.builder()
.splitHealthChecks(false)
.build())
.iap(ApplicationIapArgs.builder()
.oauth2ClientId("string")
.oauth2ClientSecret("string")
.enabled(false)
.oauth2ClientSecretSha256("string")
.build())
.project("string")
.servingStatus("string")
.build());
application_resource = gcp.appengine.Application("applicationResource",
location_id="string",
auth_domain="string",
database_type="string",
feature_settings=gcp.appengine.ApplicationFeatureSettingsArgs(
split_health_checks=False,
),
iap=gcp.appengine.ApplicationIapArgs(
oauth2_client_id="string",
oauth2_client_secret="string",
enabled=False,
oauth2_client_secret_sha256="string",
),
project="string",
serving_status="string")
const applicationResource = new gcp.appengine.Application("applicationResource", {
locationId: "string",
authDomain: "string",
databaseType: "string",
featureSettings: {
splitHealthChecks: false,
},
iap: {
oauth2ClientId: "string",
oauth2ClientSecret: "string",
enabled: false,
oauth2ClientSecretSha256: "string",
},
project: "string",
servingStatus: "string",
});
type: gcp:appengine:Application
properties:
authDomain: string
databaseType: string
featureSettings:
splitHealthChecks: false
iap:
enabled: false
oauth2ClientId: string
oauth2ClientSecret: string
oauth2ClientSecretSha256: string
locationId: string
project: string
servingStatus: string
Application Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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 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.
- 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - feature
Settings Property Map - A block of optional settings to configure specific App Engine features:
- iap Property Map
- 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.
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
, andservice
field.
- 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
, andservice
field.
- 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
, andservice
field.
- 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
, andservice
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_ Sequence[Applicationrules Url Dispatch Rule] - A list of dispatch rule blocks. Each block has a
domain
,path
, andservice
field.
- 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<Property Map>Rules - A list of dispatch rule blocks. Each block has a
domain
,path
, andservice
field.
Look up 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
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
auth_domain: Optional[str] = None,
code_bucket: Optional[str] = None,
database_type: Optional[str] = None,
default_bucket: Optional[str] = None,
default_hostname: Optional[str] = None,
feature_settings: Optional[ApplicationFeatureSettingsArgs] = None,
gcr_domain: Optional[str] = None,
iap: Optional[ApplicationIapArgs] = None,
location_id: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
serving_status: Optional[str] = None,
url_dispatch_rules: Optional[Sequence[ApplicationUrlDispatchRuleArgs]] = None) -> Application
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)
public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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 List<ApplicationRules Url Dispatch Rule> - A list of dispatch rule blocks. Each block has a
domain
,path
, andservice
field.
- 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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 []ApplicationRules Url Dispatch Rule Args - A list of dispatch rule blocks. Each block has a
domain
,path
, andservice
field.
- 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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 List<ApplicationRules Url Dispatch Rule> - A list of dispatch rule blocks. Each block has a
domain
,path
, andservice
field.
- 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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
, andservice
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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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 ApplicationFeature Settings Args - 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
Application
Iap Args - 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_ Sequence[Applicationrules Url Dispatch Rule Args] - A list of dispatch rule blocks. Each block has a
domain
,path
, andservice
field.
- 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.
Can be
CLOUD_FIRESTORE
orCLOUD_DATASTORE_COMPATIBILITY
for new instances. To support old instances, the valueCLOUD_DATASTORE
is accepted by the provider, but will be rejected by the API. To create a Cloud Firestore database without creating an App Engine application, use thegcp.firestore.Database
resource instead. - 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 Property Map - 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 Property Map
- 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<Property Map>Rules - A list of dispatch rule blocks. Each block has a
domain
,path
, andservice
field.
Supporting Types
ApplicationFeatureSettings, ApplicationFeatureSettingsArgs
- 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 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.
- split
Health BooleanChecks - Set to false to use the legacy health check instead of the readiness and liveness checks.
ApplicationIap, ApplicationIapArgs
- 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
- (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
- 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
- (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
- 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
- (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
- 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
- (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
- oauth2Client
Secret stringSha256 - Hex-encoded SHA-256 hash of the client secret.
- oauth2_
client_ strid - OAuth2 client ID to use for the authentication flow.
- oauth2_
client_ strsecret - OAuth2 client secret to use for the authentication flow. The SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field.
- enabled bool
- (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
- oauth2_
client_ strsecret_ sha256 - 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
- (Optional) Whether the serving infrastructure will authenticate and authorize all incoming requests. (default is false)
- oauth2Client
Secret StringSha256 - Hex-encoded SHA-256 hash of the client secret.
ApplicationUrlDispatchRule, ApplicationUrlDispatchRuleArgs
Import
Applications can be imported using the ID of the project the application belongs to, e.g.
{{project-id}}
When using the pulumi import
command, Applications can be imported using one of the formats above. For example:
$ pulumi import gcp:appengine/application:Application default {{project-id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.