CircleCI-Public / terraform-orb

Deploy your infrastructure via a CircleCI pipeline using the Terraform orb. Integrate Infrastructure-as-Code (IaC) to help provision and manage any cloud, infrastructure, or service of your choice.
https://circleci.com/orbs/registry/orb/circleci/terraform
MIT License
10 stars 44 forks source link

[semver:minor] add "backend" parameter to validate job #19

Closed gmemstr closed 3 years ago

gmemstr commented 3 years ago

Close https://github.com/CircleCI-Public/terraform-orb/issues/15

Recreating #16, as the branch name matched the Alpha branch and was merged/pushed there when triggering tests. Credit to @shirakiya.

gmemstr commented 3 years ago

Tests failing unrelated to changes. @aedifex @KyleTryon mind taking a peek when you have a chance?

Otherwise, changes look solid. :+1:

shirakiya commented 3 years ago

@gmemstr I appreciate your support!

KyleTryon commented 3 years ago

Error:

Error: Error creating Security Group: InvalidGroup.Duplicate: The security group 'terracube-example' already exists for VPC 'vpc-d62fceb2'
    status code: 400, request id: 0cce9141-a11c-471c-8445-8ebf4508c138

This should be due to a failure not allowing the full teardown process to run from a previous run. I have SSH'd into the failed build and ran:

cd project/src/infra
terraform init
terraform destroy

I then re-ran the workflow: https://app.circleci.com/pipelines/github/CircleCI-Public/terraform-orb/250/workflows/7e99d5c0-5551-49b5-b39a-71eeeb71c383

It has now passed @gmemstr

KyleTryon commented 3 years ago

The build errors appear to have sent their own Checks to the API that cannot be overridden. This may be a bug, but I'm not sure if I have seen this before. Keeping an eye out on that, wanted to address it so we can see if that happens again. We should be clear to merge though.