Dagger
Search

OpenTofu

No long description provided.

Installation

dagger install github.com/levlaz/daggerverse/opentofu@85f4f9942ba7f694b04caf6dc690fe04144e6d72

Entrypoint

Return Type
OpenTofu
Example
dagger -m github.com/levlaz/daggerverse/opentofu@85f4f9942ba7f694b04caf6dc690fe04144e6d72 call \
func (m *myModule) example() *OpenTofu  {
	return dag.
			OpenTofu()
}
@function
def example() -> dag.OpenTofu:
	return (
		dag.open_tofu()
	)
@func()
example(): OpenTofu {
	return dag
		.openTofu()
}

Types

OpenTofu 🔗

ctr() 🔗

Return Type
Container !
Example
dagger -m github.com/levlaz/daggerverse/opentofu@85f4f9942ba7f694b04caf6dc690fe04144e6d72 call \
 ctr
func (m *myModule) example() *Container  {
	return dag.
			OpenTofu().
			Ctr()
}
@function
def example() -> dagger.Container:
	return (
		dag.open_tofu()
		.ctr()
	)
@func()
example(): Container {
	return dag
		.openTofu()
		.ctr()
}

run() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
commandString !-No description provided
Example
dagger -m github.com/levlaz/daggerverse/opentofu@85f4f9942ba7f694b04caf6dc690fe04144e6d72 call \
 run --command string
func (m *myModule) example(command string) *Container  {
	return dag.
			OpenTofu().
			Run(command)
}
@function
def example(command: str) -> dagger.Container:
	return (
		dag.open_tofu()
		.run(command)
	)
@func()
example(command: string): Container {
	return dag
		.openTofu()
		.run(command)
}