aptible / terraform-provider-aptible

The official Terraform provider for Aptible Deploy
https://registry.terraform.io/providers/aptible/aptible/latest
10 stars 13 forks source link

Add ZDD fields to Service and update App for aptible-api-go #120

Closed mdelaossa closed 1 month ago

mdelaossa commented 1 month ago

How to test

APTIBLE_AUTH_ROOT_URL="YOURAUTHSANDBOX" APTIBLE_API_ROOT_URL="YOURAPISANDBOX" APTIBLE_ACCESS_TOKEN="YOURSANDBOXTOKEN" APTIBLE_ORGANIZATION_ID="YOURORGID" APTIBLE_STACK_ID="YOURSTACKID" TF_ACC=1 go test -run "^(TestAccResourceApp_basic|TestAccResourceApp_deploy|TestAccResourceApp_multiple_services|TestAccResourceApp_updateConfig|TestAccResourceApp_scaleDown)$" github.com/aptible/terraform-provider-aptible/aptible
mdelaossa commented 1 month ago

whoops, accidentally pushed a commit that didn't belong, sorry for the noise

joshraker commented 1 month ago

Can you share a screenshot or copy/past the output of running acceptance tests against your stack?

mdelaossa commented 1 month ago

Can you share a screenshot or copy/past the output of running acceptance tests against your stack?

@joshraker sure! Sorry, the passing tests aren't very verbose so didn't think to do it. Here's a failure: image

and then here's it passing: image I can't really share my command in the screenshot as it has credentials, but the test was run in this way both times: go test -run "^(TestAccResourceApp_basic|TestAccResourceApp_deploy|TestAccResourceApp_multiple_services|TestAccResourceApp_updateConfig|TestAccResourceApp_scaleDown)$" github.com/aptible/terraform-provider-aptible/aptible