- Notifications
You must be signed in to change notification settings - Fork24
Terraform provider for the Codefresh API
License
codefresh-io/terraform-provider-codefresh
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is the official Terraform Provider for Codefresh.
Terraform Registry:registry.terraform.io/providers/codefresh-io/codefresh
- Terraform
1.x.x
Download and extract terraform-provider-codefresh fromreleases
Inversions.tf:
terraform {required_providers {codefresh={ version="x.y.z"# Optional but recommended; replace with latest semantic version source="codefresh-io/codefresh" } }}
make install
The documentation is generated usingtfplugindocs.
See:CONTRIBUTING.md
provider"codefresh" {api_url="<MY API URL>"# Default value - https://g.codefresh.io/apitoken="<MY API TOKEN>"# If token isn't set the provider expects the $CODEFRESH_API_KEY env variable}
Get an API key fromCodefresh and set the following scopes:
- Environments-V2
- Pipeline
- Project
- Repos
- Step-Type
- Step-Types
- View
export CODEFRESH_API_KEY='xyz'
NOTE: Acceptance tests create real resources, including admin resources (accounts, users) so make sure thatCODEFRESH_API_KEY is set to an account that you are ok with being modified.
make testacc
This provider was initialized byLightStep.
Copyright 2023 Codefresh.
The Codefresh Provider is available underMPL2.0 license.
About
Terraform provider for the Codefresh API
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.