{"id":20017144,"url":"https://github.com/blackbird-cloud/terraform-google-scheduler-function2","last_synced_at":"2025-08-18T10:04:58.994Z","repository":{"id":152686865,"uuid":"626834403","full_name":"blackbird-cloud/terraform-google-scheduler-function2","owner":"blackbird-cloud","description":"Terraform module to create a Google Cloud Scheduler job","archived":false,"fork":false,"pushed_at":"2025-01-31T15:26:25.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T03:15:37.795Z","etag":null,"topics":["cloud-scheduler","google","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackbird-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-12T08:53:05.000Z","updated_at":"2025-01-31T15:26:11.000Z","dependencies_parsed_at":"2025-01-12T15:43:55.592Z","dependency_job_id":"542eff27-54d5-439f-a594-14d4c16224ee","html_url":"https://github.com/blackbird-cloud/terraform-google-scheduler-function2","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":"blackbird-cloud/terraform-module-template","purl":"pkg:github/blackbird-cloud/terraform-google-scheduler-function2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-google-scheduler-function2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-google-scheduler-function2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-google-scheduler-function2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-google-scheduler-function2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackbird-cloud","download_url":"https://codeload.github.com/blackbird-cloud/terraform-google-scheduler-function2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbird-cloud%2Fterraform-google-scheduler-function2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270975318,"owners_count":24678279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-scheduler","google","terraform"],"created_at":"2024-11-13T08:14:38.653Z","updated_at":"2025-08-18T10:04:58.966Z","avatar_url":"https://github.com/blackbird-cloud.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![blackbird-logo](https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png)](https://blackbird.cloud)\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 0.1 |\n| \u003ca name=\"requirement_archive\"\u003e\u003c/a\u003e [archive](#requirement\\_archive) | \u003e= 2.3 |\n| \u003ca name=\"requirement_google\"\u003e\u003c/a\u003e [google](#requirement\\_google) | \u003e= 4.61 |\n| \u003ca name=\"requirement_null\"\u003e\u003c/a\u003e [null](#requirement\\_null) | \u003e= 3.2 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_google\"\u003e\u003c/a\u003e [google](#provider\\_google) | 4.61.0 |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_function2\"\u003e\u003c/a\u003e [function2](#module\\_function2) | blackbird-cloud/function2/google | 0.0.1 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [google_cloud_scheduler_job.scheduler](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_scheduler_job) | resource |\n| [google_project_iam_member.run_invoker](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project_iam_member) | resource |\n| [google_service_account.default](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/service_account) | resource |\n| [google_cloud_run_service.default](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/cloud_run_service) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_all_traffic_on_latest_revision\"\u003e\u003c/a\u003e [all\\_traffic\\_on\\_latest\\_revision](#input\\_all\\_traffic\\_on\\_latest\\_revision) | (Optional) Whether 100% of traffic is routed to the latest revision. Defaults to true. | `bool` | `true` | no |\n| \u003ca name=\"input_attempt_deadline\"\u003e\u003c/a\u003e [attempt\\_deadline](#input\\_attempt\\_deadline) | (Optional) The deadline for job attempts. | `string` | n/a | yes |\n| \u003ca name=\"input_available_cpu\"\u003e\u003c/a\u003e [available\\_cpu](#input\\_available\\_cpu) | (Optional) The number of CPUs used in a single container instance. Default value is calculated from available memory. | `string` | `\"\"` | no |\n| \u003ca name=\"input_available_memory\"\u003e\u003c/a\u003e [available\\_memory](#input\\_available\\_memory) | (Optional) The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. | `string` | `\"256Mi\"` | no |\n| \u003ca name=\"input_bucket_force_destroy\"\u003e\u003c/a\u003e [bucket\\_force\\_destroy](#input\\_bucket\\_force\\_destroy) | When deleting the GCS bucket containing the cloud function, delete all objects in the bucket first. | `bool` | `false` | no |\n| \u003ca name=\"input_bucket_labels\"\u003e\u003c/a\u003e [bucket\\_labels](#input\\_bucket\\_labels) | A set of key/value label pairs to assign to the function source archive bucket. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_bucket_name\"\u003e\u003c/a\u003e [bucket\\_name](#input\\_bucket\\_name) | The name to apply to the bucket. Will default to a string of the function name. | `string` | `\"\"` | no |\n| \u003ca name=\"input_build_environment_variables\"\u003e\u003c/a\u003e [build\\_environment\\_variables](#input\\_build\\_environment\\_variables) | A set of key/value environment variable pairs available during build time. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_create_bucket\"\u003e\u003c/a\u003e [create\\_bucket](#input\\_create\\_bucket) | Whether to create a new bucket or use an existing one. If false, `bucket_name` should reference the name of the alternate bucket to use. | `bool` | `false` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | The description of the function. | `string` | `\"Processes events.\"` | no |\n| \u003ca name=\"input_entry_point\"\u003e\u003c/a\u003e [entry\\_point](#input\\_entry\\_point) | The name of a method in the function source which will be invoked when the function is executed. | `string` | n/a | yes |\n| \u003ca name=\"input_environment_variables\"\u003e\u003c/a\u003e [environment\\_variables](#input\\_environment\\_variables) | A set of key/value environment variable pairs to assign to the function. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_files_to_exclude_in_source_dir\"\u003e\u003c/a\u003e [files\\_to\\_exclude\\_in\\_source\\_dir](#input\\_files\\_to\\_exclude\\_in\\_source\\_dir) | Specify files to ignore when reading the source\\_dir | `list(string)` | `[]` | no |\n| \u003ca name=\"input_ingress_settings\"\u003e\u003c/a\u003e [ingress\\_settings](#input\\_ingress\\_settings) | The ingress settings for the function. Allowed values are ALLOW\\_ALL, ALLOW\\_INTERNAL\\_AND\\_GCLB and ALLOW\\_INTERNAL\\_ONLY. Changes to this field will recreate the cloud function. | `string` | `\"ALLOW_ALL\"` | no |\n| \u003ca name=\"input_labels\"\u003e\u003c/a\u003e [labels](#input\\_labels) | A set of key/value label pairs to assign to the Cloud Function. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | (Optional) The location of this cloud function. | `string` | `\"\"` | no |\n| \u003ca name=\"input_log_bucket\"\u003e\u003c/a\u003e [log\\_bucket](#input\\_log\\_bucket) | Log bucket | `string` | `null` | no |\n| \u003ca name=\"input_log_object_prefix\"\u003e\u003c/a\u003e [log\\_object\\_prefix](#input\\_log\\_object\\_prefix) | Log object prefix | `string` | `null` | no |\n| \u003ca name=\"input_max_instance_count\"\u003e\u003c/a\u003e [max\\_instance\\_count](#input\\_max\\_instance\\_count) | (Optional) The limit on the maximum number of function instances that may coexist at a given time. | `number` | `100` | no |\n| \u003ca name=\"input_max_instance_request_concurrency\"\u003e\u003c/a\u003e [max\\_instance\\_request\\_concurrency](#input\\_max\\_instance\\_request\\_concurrency) | (Optional) Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. | `number` | `1` | no |\n| \u003ca name=\"input_min_instance_count\"\u003e\u003c/a\u003e [min\\_instance\\_count](#input\\_min\\_instance\\_count) | (Optional) The limit on the minimum number of function instances that may coexist at a given time. | `number` | `null` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name to apply to any nameable resources. | `string` | n/a | yes |\n| \u003ca name=\"input_paused\"\u003e\u003c/a\u003e [paused](#input\\_paused) | (Optional) Sets the job to a paused state. Jobs default to being enabled when this property is not set. | `string` | n/a | yes |\n| \u003ca name=\"input_project_id\"\u003e\u003c/a\u003e [project\\_id](#input\\_project\\_id) | The ID of the project to which resources will be applied. | `string` | n/a | yes |\n| \u003ca name=\"input_region\"\u003e\u003c/a\u003e [region](#input\\_region) | The region in which resources will be applied. | `string` | n/a | yes |\n| \u003ca name=\"input_retry_count\"\u003e\u003c/a\u003e [retry\\_count](#input\\_retry\\_count) | (Optional) The number of attempts that the system will make to run a job using the exponential backoff procedure described by maxDoublings. Values greater than 5 and negative values are not allowed. | `number` | n/a | yes |\n| \u003ca name=\"input_runtime\"\u003e\u003c/a\u003e [runtime](#input\\_runtime) | The runtime in which the function will be executed. | `string` | n/a | yes |\n| \u003ca name=\"input_schedule\"\u003e\u003c/a\u003e [schedule](#input\\_schedule) | (Optional) Describes the schedule on which the job will be executed. | `string` | n/a | yes |\n| \u003ca name=\"input_scheduler_http_body\"\u003e\u003c/a\u003e [scheduler\\_http\\_body](#input\\_scheduler\\_http\\_body) | (Optional) Cloud Scheduler HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. A base64-encoded string. | `string` | `null` | no |\n| \u003ca name=\"input_scheduler_http_headers\"\u003e\u003c/a\u003e [scheduler\\_http\\_headers](#input\\_scheduler\\_http\\_headers) | (Optional) Cloud Scheduler HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. | `map(string)` | `{}` | no |\n| \u003ca name=\"input_scheduler_http_method\"\u003e\u003c/a\u003e [scheduler\\_http\\_method](#input\\_scheduler\\_http\\_method) | (Optional) Which HTTP method to use for the Cloud Scheduler request. | `string` | `\"POST\"` | no |\n| \u003ca name=\"input_scheduler_region\"\u003e\u003c/a\u003e [scheduler\\_region](#input\\_scheduler\\_region) | The region in which the scheduler resources will be applied, not available in all regions. | `string` | n/a | yes |\n| \u003ca name=\"input_secret_environment_variables\"\u003e\u003c/a\u003e [secret\\_environment\\_variables](#input\\_secret\\_environment\\_variables) | A list of maps which contains key, project\\_id, secret\\_name (not the full secret id) and version to assign to the function as a set of secret environment variables. | `list(map(string))` | `[]` | no |\n| \u003ca name=\"input_service_account_email\"\u003e\u003c/a\u003e [service\\_account\\_email](#input\\_service\\_account\\_email) | The service account to run the function as. | `string` | `\"\"` | no |\n| \u003ca name=\"input_source_dependent_files\"\u003e\u003c/a\u003e [source\\_dependent\\_files](#input\\_source\\_dependent\\_files) | A list of any Terraform created `local_file`s that the module will wait for before creating the archive. | \u003cpre\u003elist(object({\u003cbr\u003e    filename = string\u003cbr\u003e    id       = string\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_source_directory\"\u003e\u003c/a\u003e [source\\_directory](#input\\_source\\_directory) | The pathname of the directory which contains the function source code. | `string` | n/a | yes |\n| \u003ca name=\"input_time_zone\"\u003e\u003c/a\u003e [time\\_zone](#input\\_time\\_zone) | (Optional) Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the tz database. | `string` | n/a | yes |\n| \u003ca name=\"input_timeout_s\"\u003e\u003c/a\u003e [timeout\\_s](#input\\_timeout\\_s) | The amount of time in seconds allotted for the execution of the function. | `number` | `60` | no |\n| \u003ca name=\"input_vpc_connector\"\u003e\u003c/a\u003e [vpc\\_connector](#input\\_vpc\\_connector) | The VPC Network Connector that this cloud function can connect to. It should be set up as fully-qualified URI. The format of this field is projects/*/locations/*/connectors/*. | `string` | `null` | no |\n| \u003ca name=\"input_vpc_connector_egress_settings\"\u003e\u003c/a\u003e [vpc\\_connector\\_egress\\_settings](#input\\_vpc\\_connector\\_egress\\_settings) | The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are ALL\\_TRAFFIC and PRIVATE\\_RANGES\\_ONLY. If unset, this field preserves the previously set value. | `string` | `\"PRIVATE_RANGES_ONLY\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_cloud_run_service\"\u003e\u003c/a\u003e [cloud\\_run\\_service](#output\\_cloud\\_run\\_service) | The google cloud run service. |\n| \u003ca name=\"output_function2\"\u003e\u003c/a\u003e [function2](#output\\_function2) | The google cloud function2. |\n\n## About\n\nWe are [Blackbird Cloud](https://blackbird.cloud), Amsterdam based cloud consultancy, and cloud management service provider. We help companies build secure, cost efficient, and scale-able solutions.\n\nCheckout our other :point\\_right: [terraform modules](https://registry.terraform.io/namespaces/blackbird-cloud)\n\n## Copyright\n\nCopyright © 2017-2023 [Blackbird Cloud](https://blackbird.cloud)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbird-cloud%2Fterraform-google-scheduler-function2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackbird-cloud%2Fterraform-google-scheduler-function2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbird-cloud%2Fterraform-google-scheduler-function2/lists"}