Skip to content

Provide a hook for arbitrary scripts after 'apply' #250

@kmanning

Description

@kmanning

UseCase: Healthcheck

  • I've deployed infrastructure to an environment, using terraform-pipeline
  • I want to confirm that the infrastructure "works as expected"
  • If I had a "hook" that allowed me to run an arbitrary shell script, my shell script could validate the my infrastructure "works as expected"
  • If my shell script returns a zero-status, I assume "it works" (based on unix return code conventions)
  • If my shell script returns a non-zero status, I assume that "it did not work as expected", and marks the "apply" stage of my environment as failed. I'm not allowed to continue.
  • My shell script should get all the "goodness" of pipelines that operate during "apply". Eg: I can access the IAM role and EnvironmentVariables provided by plugins like ParameterStorePlugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions