Google App Engine Service Network Settings

This page shows how to write Terraform for App Engine Service Network Settings and write them securely.

google_app_engine_service_network_settings (Terraform)

The Service Network Settings in App Engine can be configured in Terraform with the resource name google_app_engine_service_network_settings. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • service - (Required) The name of the service these settings apply to.

  • network_settings - (Required) Ingress settings for this service. Will apply to all versions. Structure is documented below.

The network_settings block supports:

  • ingress_traffic_allowed - (Optional) The ingress settings for version or service. Default value is INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED. Possible values are INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED, INGRESS_TRAFFIC_ALLOWED_ALL, INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY, and INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB.

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format apps/[[project]]/services/[[service]]

Explanation in Terraform Registry

A NetworkSettings resource is a container for ingress settings for a version or service. To get more information about ServiceNetworkSettings, see:

Frequently asked questions

What is Google App Engine Service Network Settings?

Google App Engine Service Network Settings is a resource for App Engine of Google Cloud Platform. Settings can be wrote in Terraform.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.