Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 2.14 KB

README.md

File metadata and controls

60 lines (43 loc) · 2.14 KB

CircleCI Module

Introduction

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.

Requirements

Name Version
circleci 0.8.2

Providers

Name Version
circleci 0.8.2

Modules

No modules.

Resources

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

Inputs

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

Outputs

No outputs.

Examples

module "circleci" {
  source = "./modules/circleci"
  env = local.env
  services = local.services
  secrets = local.secrets
  schedules = local.env.circleci.schedules
}