-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the cloud region data source #581
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some drive-by suggestions (because I'm always happy to see progress on terraform/go!) on the Github actions / test side of things, mostly to help make it more understandable.
I'll leave approval to modern deployments, but LGTM if you update the old node version and don't use apt-get to install gotestsum 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's some crazy workflow changes to remove one line of code :D
This PR fixes the bug at #580.
The cloud region data source was the only one that removed the
endpoint
field from the schema. This in turn broke the data source when it tried to flatten targets into the returned results.Since other data sources leave the
endpoint
field in the schema, this PR removes the line that deletes theendpoint
field.To speed up the integration tests, the
hashicorp-forge/go-test-split-action@v1
action has been added. This runts the integration tests across 15 nodes, reducing the test time to under ten minutes (down from an hour).The tests were also updated to run against Octopus 2023.4.