Open deshdeep-airwallex opened 4 years ago
@deshdeep-airwallex You don't show any values, what are you trying to set? show a full plan. As for second question it's a terraform question and not provider specific , I'd advice to look into terraform repo for help (but overall nested dynamic block do seem to be possible)
EDIT: in your second question do you mean a conditional block? if yes, have a look At this article -> in order to make combine conditional with dynamic modify the non-empty list given to foreach. Interested in terraform? Check out my articles!
Terraform Version
Terraform v0.12.29
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Resource
Terraform Input
Debug Output
Expected Behavior
Should allow to set a rotation between 12 pm to 11:59 am
Actual Behavior
As debug output above
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Is it possible to create
time_restriction
as both dynamic and optional object? I tried something like this but couldn't get it working.Terraform opsgenie_schedule_rotation resource