You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_app_engine_flexible_app_version" {
source="./modules/google-beta/r/google_app_engine_flexible_app_version"# beta_settings - (optional) is a type of map of stringbeta_settings={}
# default_expiration - (optional) is a type of stringdefault_expiration=null# delete_service_on_destroy - (optional) is a type of booldelete_service_on_destroy=null# env_variables - (optional) is a type of map of stringenv_variables={}
# inbound_services - (optional) is a type of set of stringinbound_services=[]
# instance_class - (optional) is a type of stringinstance_class=null# nobuild_files_regex - (optional) is a type of stringnobuild_files_regex=null# noop_on_destroy - (optional) is a type of boolnoop_on_destroy=null# project - (optional) is a type of stringproject=null# runtime - (required) is a type of stringruntime=null# runtime_api_version - (optional) is a type of stringruntime_api_version=null# runtime_channel - (optional) is a type of stringruntime_channel=null# runtime_main_executable_path - (optional) is a type of stringruntime_main_executable_path=null# service - (required) is a type of stringservice=null# serving_status - (optional) is a type of stringserving_status=null# version_id - (optional) is a type of stringversion_id=nullapi_config=[{
auth_fail_action =null
login =null
script =null
security_level =null
url =null
}]
automatic_scaling=[{
cool_down_period =null
cpu_utilization = [{
aggregation_window_length =null
target_utilization =null
}]
disk_utilization = [{
target_read_bytes_per_second =null
target_read_ops_per_second =null
target_write_bytes_per_second =null
target_write_ops_per_second =null
}]
max_concurrent_requests =null
max_idle_instances =null
max_pending_latency =null
max_total_instances =null
min_idle_instances =null
min_pending_latency =null
min_total_instances =null
network_utilization = [{
target_received_bytes_per_second =null
target_received_packets_per_second =null
target_sent_bytes_per_second =null
target_sent_packets_per_second =null
}]
request_utilization = [{
target_concurrent_requests =null
target_request_count_per_second =null
}]
}]
deployment=[{
cloud_build_options = [{
app_yaml_path =null
cloud_build_timeout =null
}]
container = [{
image =null
}]
files = [{
name =null
sha1_sum =null
source_url =null
}]
zip = [{
files_count =null
source_url =null
}]
}]
endpoints_api_service=[{
config_id =null
disable_trace_sampling =null
name =null
rollout_strategy =null
}]
entrypoint=[{
shell =null
}]
handlers=[{
auth_fail_action =null
login =null
redirect_http_response_code =null
script = [{
script_path =null
}]
security_level =null
static_files = [{
application_readable =null
expiration =null
http_headers = {}
mime_type =null
path =null
require_matching_file =null
upload_path_regex =null
}]
url_regex =null
}]
liveness_check=[{
check_interval =null
failure_threshold =null
host =null
initial_delay =null
path =null
success_threshold =null
timeout =null
}]
manual_scaling=[{
instances =null
}]
network=[{
forwarded_ports = []
instance_tag =null
name =null
session_affinity =null
subnetwork =null
}]
readiness_check=[{
app_start_timeout =null
check_interval =null
failure_threshold =null
host =null
path =null
success_threshold =null
timeout =null
}]
resources=[{
cpu =null
disk_gb =null
memory_gb =null
volumes = [{
name =null
size_gb =null
volume_type =null
}]
}]
timeouts=[{
create =null
delete =null
update =null
}]
vpc_access_connector=[{
name =null
}]
}
variable"beta_settings" {
description="(optional) - Metadata settings that are supplied to this version to enable beta runtime features."type=map(string)
default=null
}
variable"default_expiration" {
description="(optional) - Duration that static files should be cached by web proxies and browsers.\nOnly applicable if the corresponding StaticFilesHandler does not specify its own expiration time."type=stringdefault=null
}
variable"delete_service_on_destroy" {
description="(optional)"type=booldefault=null
}
variable"env_variables" {
description="(optional) - Environment variables available to the application. As these are not returned in the API request, Terraform will not detect any changes made outside of the Terraform config."type=map(string)
default=null
}
variable"inbound_services" {
description="(optional) - A list of the types of messages that this application is able to receive. Possible values: [\"INBOUND_SERVICE_MAIL\", \"INBOUND_SERVICE_MAIL_BOUNCE\", \"INBOUND_SERVICE_XMPP_ERROR\", \"INBOUND_SERVICE_XMPP_MESSAGE\", \"INBOUND_SERVICE_XMPP_SUBSCRIBE\", \"INBOUND_SERVICE_XMPP_PRESENCE\", \"INBOUND_SERVICE_CHANNEL_PRESENCE\", \"INBOUND_SERVICE_WARMUP\"]"type=set(string)
default=null
}
variable"instance_class" {
description="(optional) - Instance class that is used to run this version. Valid values are\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling: B1, B2, B4, B8, B4_1G\nDefaults to F1 for AutomaticScaling and B1 for ManualScaling."type=stringdefault=null
}
variable"nobuild_files_regex" {
description="(optional) - Files that match this pattern will not be built into this version. Only applicable for Go runtimes."type=stringdefault=null
}
variable"noop_on_destroy" {
description="(optional)"type=booldefault=null
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"runtime" {
description="(required) - Desired runtime. Example python27."type=string
}
variable"runtime_api_version" {
description="(optional) - The version of the API in the given runtime environment.\nPlease see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref"type=stringdefault=null
}
variable"runtime_channel" {
description="(optional) - The channel of the runtime to use. Only available for some runtimes."type=stringdefault=null
}
variable"runtime_main_executable_path" {
description="(optional) - The path or name of the app's main executable."type=stringdefault=null
}
variable"service" {
description="(required) - AppEngine service resource"type=string
}
variable"serving_status" {
description="(optional) - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed. Default value: \"SERVING\" Possible values: [\"SERVING\", \"STOPPED\"]"type=stringdefault=null
}
variable"version_id" {
description="(optional) - Relative name of the version within the service. For example, 'v1'. Version names can contain only lowercase letters, numbers, or hyphens.\nReserved names,\"default\", \"latest\", and any name with the prefix \"ah-\"."type=stringdefault=null
}
variable"api_config" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
auth_fail_action =string
login =string
script =string
security_level =string
url =string
}
))
default=[]
}
variable"automatic_scaling" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
cool_down_period =string
cpu_utilization =list(object(
{
aggregation_window_length =string
target_utilization =number
}
))
disk_utilization =list(object(
{
target_read_bytes_per_second =number
target_read_ops_per_second =number
target_write_bytes_per_second =number
target_write_ops_per_second =number
}
))
max_concurrent_requests =number
max_idle_instances =number
max_pending_latency =string
max_total_instances =number
min_idle_instances =number
min_pending_latency =string
min_total_instances =number
network_utilization =list(object(
{
target_received_bytes_per_second =number
target_received_packets_per_second =number
target_sent_bytes_per_second =number
target_sent_packets_per_second =number
}
))
request_utilization =list(object(
{
target_concurrent_requests =number
target_request_count_per_second =string
}
))
}
))
default=[]
}
variable"deployment" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
cloud_build_options =list(object(
{
app_yaml_path =string
cloud_build_timeout =string
}
))
container =list(object(
{
image =string
}
))
files =set(object(
{
name =string
sha1_sum =string
source_url =string
}
))
zip =list(object(
{
files_count =number
source_url =string
}
))
}
))
default=[]
}
variable"endpoints_api_service" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
config_id =string
disable_trace_sampling =bool
name =string
rollout_strategy =string
}
))
default=[]
}
variable"entrypoint" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
shell =string
}
))
default=[]
}
variable"handlers" {
description="nested block: NestingList, min items: 0, max items: 0"type=set(object(
{
auth_fail_action =string
login =string
redirect_http_response_code =string
script =list(object(
{
script_path =string
}
))
security_level =string
static_files =list(object(
{
application_readable =bool
expiration =string
http_headers =map(string)
mime_type =string
path =string
require_matching_file =bool
upload_path_regex =string
}
))
url_regex =string
}
))
default=[]
}
variable"liveness_check" {
description="nested block: NestingList, min items: 1, max items: 1"type=set(object(
{
check_interval =string
failure_threshold =number
host =string
initial_delay =string
path =string
success_threshold =number
timeout =string
}
))
}
variable"manual_scaling" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
instances =number
}
))
default=[]
}
variable"network" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
forwarded_ports =list(string)
instance_tag =string
name =string
session_affinity =bool
subnetwork =string
}
))
default=[]
}
variable"readiness_check" {
description="nested block: NestingList, min items: 1, max items: 1"type=set(object(
{
app_start_timeout =string
check_interval =string
failure_threshold =number
host =string
path =string
success_threshold =number
timeout =string
}
))
}
variable"resources" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
cpu =number
disk_gb =number
memory_gb =number
volumes =list(object(
{
name =string
size_gb =number
volume_type =string
}
))
}
))
default=[]
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
variable"vpc_access_connector" {
description="nested block: NestingList, min items: 0, max items: 1"type=set(object(
{
name =string
}
))
default=[]
}
resource"google_app_engine_flexible_app_version""this" {
# beta_settings - (optional) is a type of map of stringbeta_settings=var.beta_settings# default_expiration - (optional) is a type of stringdefault_expiration=var.default_expiration# delete_service_on_destroy - (optional) is a type of booldelete_service_on_destroy=var.delete_service_on_destroy# env_variables - (optional) is a type of map of stringenv_variables=var.env_variables# inbound_services - (optional) is a type of set of stringinbound_services=var.inbound_services# instance_class - (optional) is a type of stringinstance_class=var.instance_class# nobuild_files_regex - (optional) is a type of stringnobuild_files_regex=var.nobuild_files_regex# noop_on_destroy - (optional) is a type of boolnoop_on_destroy=var.noop_on_destroy# project - (optional) is a type of stringproject=var.project# runtime - (required) is a type of stringruntime=var.runtime# runtime_api_version - (optional) is a type of stringruntime_api_version=var.runtime_api_version# runtime_channel - (optional) is a type of stringruntime_channel=var.runtime_channel# runtime_main_executable_path - (optional) is a type of stringruntime_main_executable_path=var.runtime_main_executable_path# service - (required) is a type of stringservice=var.service# serving_status - (optional) is a type of stringserving_status=var.serving_status# version_id - (optional) is a type of stringversion_id=var.version_iddynamic"api_config" {
for_each=var.api_configcontent {
# auth_fail_action - (optional) is a type of stringauth_fail_action=api_config.value["auth_fail_action"]
# login - (optional) is a type of stringlogin=api_config.value["login"]
# script - (required) is a type of stringscript=api_config.value["script"]
# security_level - (optional) is a type of stringsecurity_level=api_config.value["security_level"]
# url - (optional) is a type of stringurl=api_config.value["url"]
}
}
dynamic"automatic_scaling" {
for_each=var.automatic_scalingcontent {
# cool_down_period - (optional) is a type of stringcool_down_period=automatic_scaling.value["cool_down_period"]
# max_concurrent_requests - (optional) is a type of numbermax_concurrent_requests=automatic_scaling.value["max_concurrent_requests"]
# max_idle_instances - (optional) is a type of numbermax_idle_instances=automatic_scaling.value["max_idle_instances"]
# max_pending_latency - (optional) is a type of stringmax_pending_latency=automatic_scaling.value["max_pending_latency"]
# max_total_instances - (optional) is a type of numbermax_total_instances=automatic_scaling.value["max_total_instances"]
# min_idle_instances - (optional) is a type of numbermin_idle_instances=automatic_scaling.value["min_idle_instances"]
# min_pending_latency - (optional) is a type of stringmin_pending_latency=automatic_scaling.value["min_pending_latency"]
# min_total_instances - (optional) is a type of numbermin_total_instances=automatic_scaling.value["min_total_instances"]
dynamic"cpu_utilization" {
for_each=automatic_scaling.value.cpu_utilizationcontent {
# aggregation_window_length - (optional) is a type of stringaggregation_window_length=cpu_utilization.value["aggregation_window_length"]
# target_utilization - (required) is a type of numbertarget_utilization=cpu_utilization.value["target_utilization"]
}
}
dynamic"disk_utilization" {
for_each=automatic_scaling.value.disk_utilizationcontent {
# target_read_bytes_per_second - (optional) is a type of numbertarget_read_bytes_per_second=disk_utilization.value["target_read_bytes_per_second"]
# target_read_ops_per_second - (optional) is a type of numbertarget_read_ops_per_second=disk_utilization.value["target_read_ops_per_second"]
# target_write_bytes_per_second - (optional) is a type of numbertarget_write_bytes_per_second=disk_utilization.value["target_write_bytes_per_second"]
# target_write_ops_per_second - (optional) is a type of numbertarget_write_ops_per_second=disk_utilization.value["target_write_ops_per_second"]
}
}
dynamic"network_utilization" {
for_each=automatic_scaling.value.network_utilizationcontent {
# target_received_bytes_per_second - (optional) is a type of numbertarget_received_bytes_per_second=network_utilization.value["target_received_bytes_per_second"]
# target_received_packets_per_second - (optional) is a type of numbertarget_received_packets_per_second=network_utilization.value["target_received_packets_per_second"]
# target_sent_bytes_per_second - (optional) is a type of numbertarget_sent_bytes_per_second=network_utilization.value["target_sent_bytes_per_second"]
# target_sent_packets_per_second - (optional) is a type of numbertarget_sent_packets_per_second=network_utilization.value["target_sent_packets_per_second"]
}
}
dynamic"request_utilization" {
for_each=automatic_scaling.value.request_utilizationcontent {
# target_concurrent_requests - (optional) is a type of numbertarget_concurrent_requests=request_utilization.value["target_concurrent_requests"]
# target_request_count_per_second - (optional) is a type of stringtarget_request_count_per_second=request_utilization.value["target_request_count_per_second"]
}
}
}
}
dynamic"deployment" {
for_each=var.deploymentcontent {
dynamic"cloud_build_options" {
for_each=deployment.value.cloud_build_optionscontent {
# app_yaml_path - (required) is a type of stringapp_yaml_path=cloud_build_options.value["app_yaml_path"]
# cloud_build_timeout - (optional) is a type of stringcloud_build_timeout=cloud_build_options.value["cloud_build_timeout"]
}
}
dynamic"container" {
for_each=deployment.value.containercontent {
# image - (required) is a type of stringimage=container.value["image"]
}
}
dynamic"files" {
for_each=deployment.value.filescontent {
# name - (required) is a type of stringname=files.value["name"]
# sha1_sum - (optional) is a type of stringsha1_sum=files.value["sha1_sum"]
# source_url - (required) is a type of stringsource_url=files.value["source_url"]
}
}
dynamic"zip" {
for_each=deployment.value.zipcontent {
# files_count - (optional) is a type of numberfiles_count=zip.value["files_count"]
# source_url - (required) is a type of stringsource_url=zip.value["source_url"]
}
}
}
}
dynamic"endpoints_api_service" {
for_each=var.endpoints_api_servicecontent {
# config_id - (optional) is a type of stringconfig_id=endpoints_api_service.value["config_id"]
# disable_trace_sampling - (optional) is a type of booldisable_trace_sampling=endpoints_api_service.value["disable_trace_sampling"]
# name - (required) is a type of stringname=endpoints_api_service.value["name"]
# rollout_strategy - (optional) is a type of stringrollout_strategy=endpoints_api_service.value["rollout_strategy"]
}
}
dynamic"entrypoint" {
for_each=var.entrypointcontent {
# shell - (required) is a type of stringshell=entrypoint.value["shell"]
}
}
dynamic"handlers" {
for_each=var.handlerscontent {
# auth_fail_action - (optional) is a type of stringauth_fail_action=handlers.value["auth_fail_action"]
# login - (optional) is a type of stringlogin=handlers.value["login"]
# redirect_http_response_code - (optional) is a type of stringredirect_http_response_code=handlers.value["redirect_http_response_code"]
# security_level - (optional) is a type of stringsecurity_level=handlers.value["security_level"]
# url_regex - (optional) is a type of stringurl_regex=handlers.value["url_regex"]
dynamic"script" {
for_each=handlers.value.scriptcontent {
# script_path - (required) is a type of stringscript_path=script.value["script_path"]
}
}
dynamic"static_files" {
for_each=handlers.value.static_filescontent {
# application_readable - (optional) is a type of boolapplication_readable=static_files.value["application_readable"]
# expiration - (optional) is a type of stringexpiration=static_files.value["expiration"]
# http_headers - (optional) is a type of map of stringhttp_headers=static_files.value["http_headers"]
# mime_type - (optional) is a type of stringmime_type=static_files.value["mime_type"]
# path - (optional) is a type of stringpath=static_files.value["path"]
# require_matching_file - (optional) is a type of boolrequire_matching_file=static_files.value["require_matching_file"]
# upload_path_regex - (optional) is a type of stringupload_path_regex=static_files.value["upload_path_regex"]
}
}
}
}
dynamic"liveness_check" {
for_each=var.liveness_checkcontent {
# check_interval - (optional) is a type of stringcheck_interval=liveness_check.value["check_interval"]
# failure_threshold - (optional) is a type of numberfailure_threshold=liveness_check.value["failure_threshold"]
# host - (optional) is a type of stringhost=liveness_check.value["host"]
# initial_delay - (optional) is a type of stringinitial_delay=liveness_check.value["initial_delay"]
# path - (required) is a type of stringpath=liveness_check.value["path"]
# success_threshold - (optional) is a type of numbersuccess_threshold=liveness_check.value["success_threshold"]
# timeout - (optional) is a type of stringtimeout=liveness_check.value["timeout"]
}
}
dynamic"manual_scaling" {
for_each=var.manual_scalingcontent {
# instances - (required) is a type of numberinstances=manual_scaling.value["instances"]
}
}
dynamic"network" {
for_each=var.networkcontent {
# forwarded_ports - (optional) is a type of list of stringforwarded_ports=network.value["forwarded_ports"]
# instance_tag - (optional) is a type of stringinstance_tag=network.value["instance_tag"]
# name - (required) is a type of stringname=network.value["name"]
# session_affinity - (optional) is a type of boolsession_affinity=network.value["session_affinity"]
# subnetwork - (optional) is a type of stringsubnetwork=network.value["subnetwork"]
}
}
dynamic"readiness_check" {
for_each=var.readiness_checkcontent {
# app_start_timeout - (optional) is a type of stringapp_start_timeout=readiness_check.value["app_start_timeout"]
# check_interval - (optional) is a type of stringcheck_interval=readiness_check.value["check_interval"]
# failure_threshold - (optional) is a type of numberfailure_threshold=readiness_check.value["failure_threshold"]
# host - (optional) is a type of stringhost=readiness_check.value["host"]
# path - (required) is a type of stringpath=readiness_check.value["path"]
# success_threshold - (optional) is a type of numbersuccess_threshold=readiness_check.value["success_threshold"]
# timeout - (optional) is a type of stringtimeout=readiness_check.value["timeout"]
}
}
dynamic"resources" {
for_each=var.resourcescontent {
# cpu - (optional) is a type of numbercpu=resources.value["cpu"]
# disk_gb - (optional) is a type of numberdisk_gb=resources.value["disk_gb"]
# memory_gb - (optional) is a type of numbermemory_gb=resources.value["memory_gb"]
dynamic"volumes" {
for_each=resources.value.volumescontent {
# name - (required) is a type of stringname=volumes.value["name"]
# size_gb - (required) is a type of numbersize_gb=volumes.value["size_gb"]
# volume_type - (required) is a type of stringvolume_type=volumes.value["volume_type"]
}
}
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
dynamic"vpc_access_connector" {
for_each=var.vpc_access_connectorcontent {
# name - (required) is a type of stringname=vpc_access_connector.value["name"]
}
}
}