Skip to content
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

Stacks support (Beta) #920

Merged
merged 2 commits into from
Jun 27, 2024
Merged

Stacks support (Beta) #920

merged 2 commits into from
Jun 27, 2024

Conversation

brandonc
Copy link
Collaborator

Description

Adds Beta support for Stacks

Testing plan

Tests are subject to Beta skips. See output below.

Output from tests

Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against.

$ OAUTH_CLIENT_GITHUB_TOKEN=ghp_xxx go test ./... -run "TestStack" -v
?   	github.com/hashicorp/go-tfe/examples/backing_data	[no test files]
?   	github.com/hashicorp/go-tfe/examples/configuration_versions	[no test files]
?   	github.com/hashicorp/go-tfe/examples/organizations	[no test files]
?   	github.com/hashicorp/go-tfe/examples/registry_modules	[no test files]
?   	github.com/hashicorp/go-tfe/examples/run_errors	[no test files]
?   	github.com/hashicorp/go-tfe/examples/state_versions	[no test files]
?   	github.com/hashicorp/go-tfe/examples/users	[no test files]
?   	github.com/hashicorp/go-tfe/examples/workspaces	[no test files]
?   	github.com/hashicorp/go-tfe/mocks	[no test files]
=== RUN   TestStackCreateAndList
=== RUN   TestStackCreateAndList/List_without_options
=== PAUSE TestStackCreateAndList/List_without_options
=== RUN   TestStackCreateAndList/List_with_project_filter
=== PAUSE TestStackCreateAndList/List_with_project_filter
=== RUN   TestStackCreateAndList/List_with_name_filter
=== PAUSE TestStackCreateAndList/List_with_name_filter
=== RUN   TestStackCreateAndList/List_with_sort_options
=== PAUSE TestStackCreateAndList/List_with_sort_options
=== RUN   TestStackCreateAndList/List_with_pagination
=== PAUSE TestStackCreateAndList/List_with_pagination
=== CONT  TestStackCreateAndList/List_without_options
=== CONT  TestStackCreateAndList/List_with_sort_options
=== CONT  TestStackCreateAndList/List_with_name_filter
=== CONT  TestStackCreateAndList/List_with_project_filter
=== CONT  TestStackCreateAndList/List_with_pagination
--- PASS: TestStackCreateAndList (9.00s)
    --- PASS: TestStackCreateAndList/List_with_project_filter (2.04s)
    --- PASS: TestStackCreateAndList/List_with_name_filter (2.32s)
    --- PASS: TestStackCreateAndList/List_without_options (2.41s)
    --- PASS: TestStackCreateAndList/List_with_pagination (2.57s)
    --- PASS: TestStackCreateAndList/List_with_sort_options (3.39s)
=== RUN   TestStackReadUpdateDelete
--- PASS: TestStackReadUpdateDelete (10.94s)
PASS
ok  	github.com/hashicorp/go-tfe	24.318s

@brandonc brandonc requested a review from a team as a code owner June 24, 2024 21:12
Copy link
Contributor

@sebasslash sebasslash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor things. Should we also add a changelog entry?

stack.go Outdated Show resolved Hide resolved
stack_integration_test.go Outdated Show resolved Hide resolved
@brandonc brandonc force-pushed the TF-17012-stacks-support-in-go-tfe branch from 35e77f6 to c4fda27 Compare June 26, 2024 22:31
@brandonc brandonc merged commit f18ee8e into main Jun 27, 2024
7 checks passed
@brandonc brandonc deleted the TF-17012-stacks-support-in-go-tfe branch June 27, 2024 13:51
Copy link

Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants