Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::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" } ] }
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#files
def files() -> ::Array<::Google::Cloud::DesignCenter::V1::TerraformFile>
Returns
- (::Array<::Google::Cloud::DesignCenter::V1::TerraformFile>) — The files within the Terraform module.
#files=
def files=(value) -> ::Array<::Google::Cloud::DesignCenter::V1::TerraformFile>
Parameter
- value (::Array<::Google::Cloud::DesignCenter::V1::TerraformFile>) — The files within the Terraform module.
Returns
- (::Array<::Google::Cloud::DesignCenter::V1::TerraformFile>) — The files within the Terraform module.
#source
def source() -> ::String
Returns
- (::String) — The source of the Terraform module.
#source=
def source=(value) -> ::String
Parameter
- value (::String) — The source of the Terraform module.
Returns
- (::String) — The source of the Terraform module.