Tfe.NetClient is a .NET Client for Terraform Enterprise.
Terraform Cloud API Documentation can be found here.
dotnet add package Tfe.NetClientCreate a TfeConfig object
var httpClient = new HttpClient(); var config = new TfeConfig(<YOUR TOKEN HERE>, httpClient);
var client = new TfeClient(config);Create a request and call the correponding method
/// This sample creates a workspace /// Create a WorkspacesRequest var request = new WorkspacesRequest(); var workspaceName = $"test-{Guid.NewGuid().ToString()}"; request.Data.Attributes.Name = workspaceName; /// Call the CreateAsync method. var result = await client.Workspace.CreateAsync(organizationName, request);
Please check the Integration tests here for more samples.
Contributing to Tfe.NetClientCheck our Contributing guidelines here.
mkdir -p everis-technology/Tfe.NetClient git clone https://github.com/everis-technology/Tfe.NetClient everis-technology/Tfe.NetClient
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4