diff --git a/docs/data-sources/module_testing_project.md b/docs/data-sources/module_testing_project.md new file mode 100644 index 00000000..d9a18192 --- /dev/null +++ b/docs/data-sources/module_testing_project.md @@ -0,0 +1,32 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "env0_module_testing_project Data Source - terraform-provider-env0" +subcategory: "" +description: |- + Can be used to get the projectid for agentprojectassignment and cloudcredentialsprojectassignment +--- + +# env0_module_testing_project (Data Source) + +Can be used to get the project_id for agent_project_assignment and cloud_credentials_project_assignment + +## Example Usage + +```terraform +data "env0_module_testing_project" "project" {} + +data "env0_agents" "agents" {} + +resource "env0_agent_project_assignment" "example" { + agent_id = data.env0_agents.agents.0.agent_key + project_id = env0_module_testing_project.project.id +} +``` + + +## Schema + +### Read-Only + +- `id` (String) the module testing project id +- `name` (String) the module testing project id