Design Center v1 API - Class TerraformModule (1.0.0-beta01)

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 > TerraformModule

Namespace

Google.Cloud.DesignCenter.V1

Assembly

Google.Cloud.DesignCenter.V1.dll

Constructors

TerraformModule()

public TerraformModule()

TerraformModule(TerraformModule)

public TerraformModule(TerraformModule other)
Parameter
Name Description
other TerraformModule

Properties

Files

public RepeatedField<TerraformFile> Files { get; }

The files within the Terraform module.

Property Value
Type Description
RepeatedFieldTerraformFile

Source

public string Source { get; set; }

The source of the Terraform module.

Property Value
Type Description
string