Terraform gitlab environment

Latest Release Lint CI Test pre-commit Conventional Commits KeepAChangelog

terraform-gitlab-environment

terraform-gitlab-environment for gitlab

Requirements

This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:

Usage

  module "main" {
    source  = "hadenlabs/environment/gitlab"
    version = "0.0.0"
    project_name = "organization/project"
    variables = {
      "key" = "value"
    }
  }

Full working examples can be found in examples folder.

Examples

common

  module "main" {
    source  = "hadenlabs/environment/gitlab"
    version = "0.0.0"
  }

Requirements

Name Version
terraform >= 0.13
gitlab >=3.5.0

Providers

Name Version
gitlab >=3.5.0

Modules

No modules.

Resources

Name Type
gitlab_project_variable.this resource
gitlab_project.this data source

Inputs

Name Description Type Default Required
project_name The name of project ex: namespace/repository string n/a yes
scope The scope of variables string "*" no
variables Variables for group. map(any) {} no

Outputs

Name Description
instance output instance gitlab_variable
project output instance gitlab_project
project_name output project name
scope output scope
variables List of variables available.

Help

Got a question?

File a GitHub issue.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Development

In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub

  2. Clone the project to your own machine

  3. Commit changes to your own branch

  4. Push your work back up to your fork

  5. Submit a Pull Request so that we can review your changes

NOTE: Be sure to rebase the latest changes from "upstream" before making a pull request!

Module Versioning

This Module follows the principles of Semantic Versioning (SemVer).

Using the given version number of MAJOR.MINOR.PATCH, we apply the following constructs:

  1. Use the MAJOR version for incompatible changes.
  2. Use the MINOR version when adding functionality in a backwards compatible manner.
  3. Use the PATCH version when introducing backwards compatible bug fixes.

Backwards compatibility in 0.0.z and 0.y.z version

  • In the context of initial development, backwards compatibility in versions 0.0.z is not guaranteed when z is increased. (Initial development)
  • In the context of pre-release, backwards compatibility in versions 0.y.z is not guaranteed when y is increased. (Pre-release)

Copyright

Copyright Β© 2018-2021 Hadenlabs

Trademarks

All other trademarks referenced herein are the property of their respective owners.

License

The code and styles are licensed under the LGPL-3.0 license See project license..

Don't forget to 🌟 Star 🌟 the repo if you like terraform-gitlab-environment

Your feedback is appreciated

Similar Resources

Go-test-app - Test application to verify environment deployment and reachability over HTTP

Test app Test application to verify environment deployment and reachability over

May 23, 2022

A CLI Tool to easily generate your Terraform configuration

Tf Tf is a command line tool to easily generate your Terraform configuration with an interactive prompt. Inspiration Boredom in Covid-19 Installation

Sep 30, 2022

Command Line Interface for Terraform Enterprise/Cloud ( tecli )

Command Line Interface for Terraform Enterprise/Cloud ( tecli )

In a world where everything is Terraform, teams use Terraform Cloud API to manage their workloads. TECLI increases teams productivity by facilitating such interaction and by providing easy commands that can be executed on a terminal or on CI/CD systems.

Dec 16, 2022

Declaratively configure your Hydra server with Terraform.

terraform-provider-hydra The Terraform Hydra provider is a plugin for Terraform that allows for declarative management of a Hydra instance. You can fi

Nov 9, 2022

Terraform Redshift provider

Terraform Provider for AWS Redshift This provider allows to manage with Terraform AWS Redshift objects like users, groups, schemas, etc.. It's publish

Dec 12, 2022

Terraform MCS Provider

Terraform MCS Provider Documentation https://registry.terraform.io/providers/MailRuCloudSolutions/mcs/latest/docs Requirements Terraform 1.0.x Go 1.16

Jun 5, 2022

CLI to support with downloading and compiling terraform providers for Mac with M1 chip

m1-terraform-provider-helper A CLI to help with managing the installation and compilation of terraform providers when running a new M1 Mac. Motivation

Jan 2, 2023

A CLI command to parse Terraform execution result and notify it to Backlog

A CLI command to parse Terraform execution result and notify it to Backlog

tf2b Fork of mercari/tfnotify tf2b parses Terraform commands' execution result and applies it to an arbitrary template and then notifies it to Backlog

Oct 15, 2021

DBT Cloud Terraform Provider

terraform-provider-dbt-cloud Terraform Provider for DBT Cloud Primarily focused on managing jobs in DBT Cloud, given what is available via the API. Da

Dec 11, 2022
Comments
  • chore: implement scope for vars

    chore: implement scope for vars

    Proposed changes

    changes:

    • build: generate file readme (#5)
    • chore: implement scope environment (#5)
    • refactor: generator test plop (#5)
    • test: implement environment scope (#5)
    • chore: implement generator plop test (#5)

    Types of changes

    What types of changes does your code introduce to Project? Put an x in the boxes that apply

    • [ ] Bugfix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

    Checklist

    Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

    • [x] I have read the CONTRIBUTING doc
    • [x] Lint and unit tests pass locally with my changes
    • [ ] I have added tests that prove my fix is effective or that my feature works
    • [ ] I have added necessary documentation (if appropriate)
    • [ ] Any dependent changes have been merged and published in downstream modules
  • chore: implement test variables

    chore: implement test variables

    Proposed changes

    changes:

    • build: generate readme (#3)
    • fix: information usage generator readme (#3)
    • sample: implement basic environment (#3)
    • refactor: configuration vars project (#3)
    • test: implement environment basic (#3)

    Types of changes

    What types of changes does your code introduce to Project? Put an x in the boxes that apply

    • [ ] Bugfix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

    Checklist

    Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

    • [x] I have read the CONTRIBUTING doc
    • [x] Lint and unit tests pass locally with my changes
    • [ ] I have added tests that prove my fix is effective or that my feature works
    • [ ] I have added necessary documentation (if appropriate)
    • [ ] Any dependent changes have been merged and published in downstream modules
  • chore: change name project

    chore: change name project

    Proposed changes

    changes:

    • chore: implement ssh task (#1)
    • build: generate files readme (#1)
    • chore: implement vars for variables (#1)
    • chore: change name repository (#1)

    Types of changes

    What types of changes does your code introduce to Project? Put an x in the boxes that apply

    • [ ] Bugfix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

    Checklist

    Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

    • [x] I have read the CONTRIBUTING doc
    • [x] Lint and unit tests pass locally with my changes
    • [ ] I have added tests that prove my fix is effective or that my feature works
    • [ ] I have added necessary documentation (if appropriate)
    • [ ] Any dependent changes have been merged and published in downstream modules
Gitlab Command to simplify some Gitlab Workflow

GitLabCommand - glc - README How to use ? ensure glc.yaml is configured with the valid token and url gitlab_token: <your valid token> gitlab_url: ht

Oct 14, 2021
Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration

TerraCognita Imports your current Cloud infrastructure to an Infrastructure As Code Terraform configuration (HCL) or/and to a Terraform State. At Cycl

Dec 30, 2022
`tfx` is a standalone CLI for Terraform Cloud and Terraform Enterprise.
`tfx` is a standalone CLI for Terraform Cloud and Terraform Enterprise.

TFx CLI tfx is a standalone CLI for Terraform Cloud and Terraform Enterprise. The initial focus of tfx is to execute the API-Driven workflow for a Wor

Dec 21, 2022
A command-line tool for gitlab
A command-line tool for gitlab

Lab A fuzzy finder command line tool for gitlab. δΈ­ζ–‡ζ–‡ζ‘£ Feature lab sync Sync gitlab projects lab browser Fuzzy find gitlab repo and open it

Nov 28, 2022
Tag-based environment configuration for structs

env Tag-based environment configuration for structs. Installation $ go get -u github.com/codingconcepts/env Usage package main import ( "fmt" "log"

Dec 23, 2022
Substitute environment variables from command line for template driven configuration files.
Substitute  environment variables from command line for template driven configuration files.

Substitute Variables (subvars) is a small utility which provides a way to render any Go templates from command line recognizing the object being passed in and drawing attributes from the object to create wanted text. It is very useful for template driven configuration files.

Jun 3, 2022
Cli app to quicky add gitignore files to your current environment
Cli app to quicky add gitignore files to your current environment

Gitignorer Cli app to quickly add gitignore files to your current environment/projects Usage Make sure golang s installed on your machine. After that

Jul 18, 2022
A CLI tool that masks and obscurates your environment variables for demos

envo - Mask your environment variables envo (environment variable obscuration) is a CLI tool that masks/obscurates your environment variables. Use cas

Dec 3, 2022
Run any shell command in a temporary proxy environment.

Run any shell command in a temporary proxy environment.

Jun 2, 2022
Envp - ENVP is cli wrapper that sets environment variables by profile when you execute the command line

ENVP ENVP is cli wrapper that sets environment variables by profile based config

Nov 7, 2022