Replies: 1 comment 1 reply
-
Hey @PatBolkun unfortunately, I can't help you with the Azure provider because I don't use it myself, but if you don't get help here, try the OpenTofu Slack. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Folks, I'm in the process of implementing OpenTofu and am struggling to pass User Defined Parameters to specific definitions of a policy definition set (initiative). At this time I'm able to deploy one or the other set of parameters for an initiative. The error I'm receiving is "Inappropriate value for attribute "parameters": string required." which occurs because I'm passing an int / number type in one of the definition parameters. This implementation works without issue if I deploy one or the other.
I'm currently using a child and root module design pattern. I'll expand upon this below. Anything commented out if an implementation that I've attempted to use.
Child Module main.tf:
Child Module: variables.tf:
Root Module Main.tf:
Root Module locals.tf:
./initative_parameters/cismicrosoftazurefoundationsbenchmark2.parameters.json
mcsp.parameters.json:
Root Module variables.tf
Root Module test.tfvars:
I'm using the following commands:
Any insight or thoughts would be helpful to bypass this type conversion issue. Thank you in advanced, I will keep a close eye to this thread.
Beta Was this translation helpful? Give feedback.
All reactions