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
dagger -m github.com/techdecline/terraform-module@af43d9dbc06fbf09db27908086a8d758811a1d7b call \
 terraform-plan --directory-arg DIR_PATH --azauth-directory DIR_PATH
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
dagger -m github.com/techdecline/terraform-module@af43d9dbc06fbf09db27908086a8d758811a1d7b call \
 terraform-checkov --directory-arg DIR_PATH
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
dagger -m github.com/techdecline/terraform-module@af43d9dbc06fbf09db27908086a8d758811a1d7b call \
 terraform-tflint --directory-arg DIR_PATH
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)
}