wp-opentofu
Woodpecker CI plugin to manage infrastructure with OpenTofu.
steps:
- name: tofu
image: quay.io/thegeeklab/wp-opentofu
settings:
action:
- validate
- plan
-
Tofu actions to execute.Default: validate, plan
-
Plugin environment variables.Default: none
-
Options for the fmt command, see the OpenTofu fmt command documentation.Default: none
-
Tofu init command options, see the OpenTofu init command documentation.Default: none
-
Skip SSL verification.Default: none
-
Plugin log level.Default: info
-
Suppress tofu command output for
plan,applyanddestroyaction.Default: none -
Number of concurrent operations.Default: none
-
Enables refreshing of the state before
planandapplycommands.Default: true -
Root directory where the tofu files live.Default: none
-
Targets to run
planorapplyaction on.Default: none -
Tofu version to use.Default: none
Build the binary with the following command:
make build
Build the Container image with the following command:
docker build --file Containerfile.multiarch --tag thegeeklab/wp-opentofu .
docker run --rm \
-e PLUGIN_ACTION=validate \
-v $(pwd):/build:z \
-w /build \
thegeeklab/wp-opentofu