Dagger
Search

terraform-module

No long description provided.

Installation

dagger install github.com/techdecline/terraform-module@v0.0.1

Entrypoint

Return Type
TerraformModule !
Example
func (m *myModule) example() *TerraformModule  {
	return dag.
			TerraformModule()
}
@function
def example() -> dag.TerraformModule:
	return (
		dag.terraform_module()
	)
@func()
example(): TerraformModule {
	return dag
		.terraformModule()
}

Types

TerraformModule 🔗

terraformPlan() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
directoryArgDirectory !-A directory.
azauthDirectoryDirectory !-A directory.
Example
func (m *myModule) example(ctx context.Context, directoryArg *Directory, azauthDirectory *Directory) string  {
	return dag.
			TerraformModule().
			TerraformPlan(ctx, directoryArg, azauthDirectory)
}
@function
async def example(directory_arg: dagger.Directory, azauth_directory: dagger.Directory) -> str:
	return await (
		dag.terraform_module()
		.terraform_plan(directory_arg, azauth_directory)
	)
@func()
async example(directoryArg: Directory, azauthDirectory: Directory): Promise<string> {
	return dag
		.terraformModule()
		.terraformPlan(directoryArg, azauthDirectory)
}

terraformCheckov() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
directoryArgDirectory !-A directory.
Example
func (m *myModule) example(ctx context.Context, directoryArg *Directory) string  {
	return dag.
			TerraformModule().
			TerraformCheckov(ctx, directoryArg)
}
@function
async def example(directory_arg: dagger.Directory) -> str:
	return await (
		dag.terraform_module()
		.terraform_checkov(directory_arg)
	)
@func()
async example(directoryArg: Directory): Promise<string> {
	return dag
		.terraformModule()
		.terraformCheckov(directoryArg)
}

terraformTflint() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
directoryArgDirectory !-A directory.
Example
func (m *myModule) example(ctx context.Context, directoryArg *Directory) string  {
	return dag.
			TerraformModule().
			TerraformTflint(ctx, directoryArg)
}
@function
async def example(directory_arg: dagger.Directory) -> str:
	return await (
		dag.terraform_module()
		.terraform_tflint(directory_arg)
	)
@func()
async example(directoryArg: Directory): Promise<string> {
	return dag
		.terraformModule()
		.terraformTflint(directoryArg)
}