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

Data source no-code module #1246

Merged
merged 8 commits into from
Feb 6, 2024
Merged

Data source no-code module #1246

merged 8 commits into from
Feb 6, 2024

Conversation

sebasslash
Copy link
Contributor

Description

This PR adds a new data source tfe_no_code_module for getting basic info on a single no-code module.

Remember to:

Testing plan

  1. Have an existing no-code provisioning module
  2. Get it's ID (either with the API or visiting the no-code module's settings on app.terraform.io)
  3. Use the ID in the data sources' ID field
  4. Enjoy?

External links

API Docs:

Output from acceptance tests

$ ENABLE_BETA=1 TESTARGS="-run=TestAccTFENoCodeModuleDataSource_public -v" make testacc
TF_ACC=1 TF_LOG_SDK_PROTO=OFF go test $(go list ./... |grep -v 'vendor') -v -run=TestAccTFENoCodeModuleDataSource_public -v -timeout 15m
?       github.com/hashicorp/terraform-provider-tfe     [no test files]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-tfe/internal/client     (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-tfe/internal/logging    (cached) [no tests to run]
?       github.com/hashicorp/terraform-provider-tfe/version     [no test files]
=== RUN   TestAccTFENoCodeModuleDataSource_public
--- PASS: TestAccTFENoCodeModuleDataSource_public (4.19s)
PASS
ok      github.com/hashicorp/terraform-provider-tfe/internal/provider   (cached)

@sebasslash sebasslash requested a review from a team as a code owner February 5, 2024 23:45
@sebasslash sebasslash mentioned this pull request Feb 5, 2024
2 tasks
@sebasslash sebasslash merged commit 496b6fe into main Feb 6, 2024
10 checks passed
@sebasslash sebasslash deleted the sebasslash/data-source-module branch February 6, 2024 16:32
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.

3 participants