This terraform module creates and sets CircleCI project/context variables and scheduled (cron-like) pipelines.
** NOTE: Unless specific permissions are granted to the GSA project, the project won't have access to contexts.
Name | Version |
---|---|
circleci | 0.8.2 |
Name | Version |
---|---|
circleci | 0.8.2 |
No modules.
Name | Type |
---|---|
circleci_context.this | resource |
circleci_context_environment_variable.this | resource |
circleci_environment_variable.this | resource |
circleci_schedule.schedule | resource |
circleci_context.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
context_name | The CircleCI context to add variables to. | string |
null |
no |
env | Project environmental variables. | any |
n/a | yes |
schedules | Set a scheduled pipeline. | any |
{} |
no |
secrets | Sensitive credentials to be used with the application. | map(string) |
{} |
no |
No outputs.
module "circleci" {
source = "./modules/circleci"
env = local.env
services = local.services
secrets = local.secrets
schedules = local.env.circleci.schedules
}