Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Terraform provider for the Codefresh API

License

NotificationsYou must be signed in to change notification settings

codefresh-io/terraform-provider-codefresh

Repository files navigation

This is the official Terraform Provider for Codefresh.

Terraform Registry:registry.terraform.io/providers/codefresh-io/codefresh

Requirements

Download the Provider

Download and extract terraform-provider-codefresh fromreleases

Using the Provider

Inversions.tf:

terraform {required_providers {codefresh={      version="x.y.z"# Optional but recommended; replace with latest semantic version      source="codefresh-io/codefresh"    }  }}

Building the Provider Locally

make install

The documentation is generated usingtfplugindocs.

See:CONTRIBUTING.md

To configure Codefresh provider:

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'

Testing the Provider

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

Contributors

Acknowledgements

This provider was initialized byLightStep.

License

Copyright 2023 Codefresh.

The Codefresh Provider is available underMPL2.0 license.

Packages

No packages published

Contributors28

Languages


[8]ページ先頭

©2009-2025 Movatter.jp