I'm using the rundeck terraform provider and I need to pass a variable or option to an inline_script that I added to a job workflow. I was not able to find that argument for the rundeck_job resource so I started wondering if that kind of argument really exists.
In the UI I can configure a parameter like "${option.NAME}", so the command will end up executing like: echo.sh ${option.NAME}.
I just don't know how to do the same using Terraform code.
Hi all,
I'm using the rundeck terraform provider and I need to pass a variable or option to an
inline_script
that I added to a job workflow. I was not able to find that argument for therundeck_job
resource so I started wondering if that kind of argument really exists.In the UI I can configure a parameter like "${option.NAME}", so the command will end up executing like: echo.sh ${option.NAME}. I just don't know how to do the same using Terraform code.
Terraform Version
Terraform v1.3.7 on linux_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
There is no error since it seems that this functionality is not supported by the Rundeck Terraform module. I guess.
Panic Output
There is no panic.
Expected Behavior
I was expecting the
echo.sh
command to be executed likeecho.sh ${option.NAME}
.Actual Behavior
The
echo.sh
command is being executed like:echo.sh
(no parameter is passed to the echo.sh shell script).