Skip to content

[feature request] add deployment environment resource #528

Closed

Description

@raboley

I like the idea of using github environments, and for my repositories that are only terraform it would be nice to have this be part of the github provider.

I would think this could be a resource that always ran last and could succeed for the environment if all terraform succeeded, and fail if it failed.

The reason I thought of terraform is for transient environments that when I delete them I would want to inactivate the environment that the transient branch belonged to. Any feedback on this idea would be appreciated!

thanks!

Activity

  1. raboley commented on Aug 12, 2020

    @raboley
    Author

    oops wrong issue

  2. jcudit commented on Nov 26, 2020

    @jcudit
    Contributor

    This is a cool concept, thanks for starting the discussion! 🤔 what what example HCL look like?

  3. srgustafson8 commented on Apr 8, 2021

    @srgustafson8
    Contributor

    I just had a PR merged into the go-github module that provides the client for environments and environment secrets (google/go-github#1847). Not sure how long this will take to make it's way here but it may help

  4. threeseed commented on Jun 2, 2021

    @threeseed
    Contributor

    For those interested I am currently working on this in conjunction wth #681.

  5. threeseed commented on Jun 3, 2021

    @threeseed
    Contributor

    PR has been raised. Huge thank you to @srgustafson8 for adding support in go-github.

  6. kfcampbell commented on Dec 6, 2022

    @kfcampbell
    Contributor

    Closing as #805 has been merged. Thanks @nadenf!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueNew resourceType: Feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions