terraform-provider-githubdeploymentenvironment

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

README

A Terraform provider for managing files in GitHub repositories.

Installation

Download the relevant binary from releases and copy it to $HOME/.terraform.d/plugins/.

Configuration

The following provider block variables are available for configuration:

Name Description
github_token A GitHub authorisation token with repo permissions.
github_owner The name of the Github organization in which to use the provider.

Alternatively, these values can be read from environment variables.

Resources

github-deployment-environment_branch_policy

The github-deployment-environment_branch_policy resource represents a deployment environment branch policy.

⚠ Custom branch policies must be enabled, otherwise the provider is gonna fail!

Attributes
Name Description
repository The name of the repository.
environment The name of the environment.
branch_pattern The branch pattern on which to restrict environment deployment on.
Example
resource "github-deployment-environment_branch_policy" "my-resource" {
    repository 	   = "my-repo"
    environment	   = "test-environment"
    branch_pattern = "master"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL