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

Adds html_url attribute to d/tfe_workspace and r/tfe_workspace #784

Conversation

brandonc
Copy link
Collaborator

@brandonc brandonc commented Feb 2, 2023

Description

Adds html_url attribute to workspace resource & data source which is the URL to the browsable terraform cloud workspace overview as reported by the API

Output from acceptance tests

$ TESTARGS="-run TestAccTFEWorkspace_basic" make testacc
TF_ACC=1 TF_LOG_SDK_PROTO=OFF go test $(go list ./... |grep -v 'vendor') -v -run TestAccTFEWorkspace_basic -timeout 15m
?   	github.com/hashicorp/terraform-provider-tfe	[no test files]
=== RUN   TestAccTFEWorkspace_basic
--- PASS: TestAccTFEWorkspace_basic (38.37s)
=== RUN   TestAccTFEWorkspace_basicReadProjectId
    testing.go:186: Skipping test related to a Terraform Cloud/Enterprise beta feature. Set ENABLE_BETA=1 to run.
--- SKIP: TestAccTFEWorkspace_basicReadProjectId (0.00s)
=== RUN   TestAccTFEWorkspace_basicAssessmentsEnabled
--- PASS: TestAccTFEWorkspace_basicAssessmentsEnabled (61.81s)
PASS
ok  	github.com/hashicorp/terraform-provider-tfe/tfe	100.627s
?   	github.com/hashicorp/terraform-provider-tfe/version	[no test files]
...

@brandonc brandonc force-pushed the TF-3849-add-html-url-field-to-tfe-workspace-resource-data-source branch 2 times, most recently from 8056c79 to 35b7bcd Compare February 8, 2023 17:52
@brandonc brandonc marked this pull request as ready for review February 8, 2023 22:54
@brandonc brandonc requested a review from a team as a code owner February 8, 2023 22:54
@brandonc brandonc force-pushed the TF-3849-add-html-url-field-to-tfe-workspace-resource-data-source branch from 35b7bcd to d648ee9 Compare February 8, 2023 22:56
@brandonc brandonc merged commit 4c496e9 into main Feb 9, 2023
@brandonc brandonc deleted the TF-3849-add-html-url-field-to-tfe-workspace-resource-data-source branch February 9, 2023 18:39
brandonc added a commit that referenced this pull request Feb 9, 2023
brandonc added a commit that referenced this pull request Feb 9, 2023
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.

None yet

2 participants