CI/CD pipelines with Terraform Cloud

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

ความคิดเห็น • 4

  • @samys288
    @samys288 11 หลายเดือนก่อน

    Thank you Sam, excellent video!. I would like ask you 2 things; from the point of view of the maintainer the source code; using the API Workflow approach can be more complex in the time? the another question is when your using Sentinel for evaluate the any rule before to do the merge, what happen if the rule return: false, then the pull request will fail too?

    • @HashiCorp
      @HashiCorp  11 หลายเดือนก่อน +2

      1. Yes - API Workflow is a more complex approach, which is why we need to consider at least the three key questions before we dive into such approach:
      a. What is the use-case that we’re solving that requires a CI/CD workflow?
      b. Can our use-case be resolved through alternative workflows like VCS?
      c. Do we have the resources to implement and maintain an API-driven workflow?
      API driven is not meant to be simple, it’s meant to give us substantial amount of flexibility for the use-case we’re trying to resolve.
      2. If the rule returns “False”, the speculative plan from Terraform Cloud will fail - and the pull request will have a failed check. This is intended because it provides us a feedback loop.
      For further information, please refer to: support.hashicorp.com/hc/en-us/articles/360000484507-Resolving-a-PR-plan-failure

    • @samys288
      @samys288 11 หลายเดือนก่อน +1

      Thank you Sam!

  • @vitbyst
    @vitbyst 11 หลายเดือนก่อน

    I would use a Beginner -> Pro -> Expert level sequence