Dagger
Search

terraform-module

No long description provided.

Installation

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

Entrypoint

Return Type
TerraformModule !
Example
dagger -m github.com/techdecline/terraform-module@af43d9dbc06fbf09db27908086a8d758811a1d7b call \
func (m *MyModule) Example() *dagger.TerraformModule  {
	return dag.
			Terraformmodule()
}
@function
def example() -> dagger.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 *dagger.Directory, azauthDirectory *dagger.Directory) string  {
	return dag.
			Terraformmodule().
			Terraformplan(ctx, directoryArg, azauthDirectory)
}
@function
async def example(directoryarg: dagger.Directory, azauthdirectory: dagger.Directory) -> str:
	return await (
		dag.terraform_module()
		.terraformplan(directoryarg, azauthdirectory)
	)
@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 *dagger.Directory) string  {
	return dag.
			Terraformmodule().
			Terraformcheckov(ctx, directoryArg)
}
@function
async def example(directoryarg: dagger.Directory) -> str:
	return await (
		dag.terraform_module()
		.terraformcheckov(directoryarg)
	)
@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 *dagger.Directory) string  {
	return dag.
			Terraformmodule().
			Terraformtflint(ctx, directoryArg)
}
@function
async def example(directoryarg: dagger.Directory) -> str:
	return await (
		dag.terraform_module()
		.terraformtflint(directoryarg)
	)
@func()
async example(directoryArg: Directory): Promise<string> {
	return dag
		.terraformModule()
		.terraformTflint(directoryArg)
}