    public sealed class TerraformModule : IMessage<TerraformModule>, IEquatable<TerraformModule>, IDeepCloneable<TerraformModule>, IBufferMessage, IMessage

Reference documentation and code samples for the Design Center v1 API class TerraformModule.

Represents a Terraform module, which is a collection of Terraform files.
Eg:
{
"source": "git::<https://github.com/my-org/my-repo>",
"files": \[
{
"path": "/path/to/file/main.tf",
"content": "tf file content"
}
\]
}

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TerraformModule

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TerraformModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TerraformModule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TerraformModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TerraformModule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TerraformModule](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TerraformModule), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DesignCenter.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1)

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### TerraformModule()

    public TerraformModule()

### TerraformModule(TerraformModule)

    public TerraformModule(TerraformModule other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TerraformModule` |

## Properties

### Files

    public RepeatedField<TerraformFile> Files { get; }

The files within the Terraform module.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.TerraformFile` |   |

### Source

    public string Source { get; set; }

The source of the Terraform module.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |