The test flakes because URLs don't always come in the same order, so added a helper that just ensures all matchers match once
To test locally, you can do
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 TestAccResourceDatabase_redis github.com/aptible/terraform-provider-aptible/aptible
The test flakes because URLs don't always come in the same order, so added a helper that just ensures all matchers match once
To test locally, you can do
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 TestAccResourceDatabase_redis github.com/aptible/terraform-provider-aptible/aptible