Code Monkey home page Code Monkey logo

terraform-provider-gitlabcommit's Introduction

Terraform Provider Gitlabcommits

Can add one or more files using the for_each meta-argument on gitlabcommits_fileresource.

Motivation

As of writing there is one pull request for adding file resource for the offical Gitlab terraform provider, but is has a limitation of only being able to add one file at a time or set -parallelism=1. This provider collects create, update and delete actions and commits all changes in one commit.

Known issues

Confusing error message

The provider will halt one resource in order to not be exited by Terraform. This results in possible error messages being displayed for that specific resource while the error might be for another resource in the for_each collection.

Incorrect state

This issue is also due to the resource halting. The resources that is not halted by the provider will display that they were applied, but this might be incorrect if the commit failed. This will hopefully be corrected when a read/plan is executed.

terraform-provider-gitlabcommit's People

Contributors

akselleirv avatar dependabot[bot] avatar

Stargazers

Anton Kuznetsov avatar

Watchers

 avatar

terraform-provider-gitlabcommit's Issues

Issue with applying two digits amount of files

When adding large amounts of files the debounce timer is not flexible enough.

Find away to dynamically increase debounce time based on number of files received? Temporary solution for now is to let user set a higher debounce_time manually.

Another safer work around, but far from optimal is to set -parallelism equal to number of files

Unable to send since actionSync exited

Resource will be created forever since the provider was created too long before the files was sent.

Fixes:
Do exit the action sync goroutine and instead wait for further actions.
Should not be an issue since terraform will kill the goroutine on its exit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.