We changed our privacy policy. Read more.
3

No, you cannot nest jinja2 expansion i.e. the following won't work: # Warning ! Those will fail ! some_var: "{{ some_dict[{{ some_dynamic_key }}] }}" other_var: "{{ {{ dynamicaly_prefixed }}_var }}" # Did I forget to say the above examples will fail ? But you can use your var without any problem, just as in almost any other programming ...


1

I believe you should be able to reference the namespace name like so: namespace_name = azurerm_eventhub_namespace.eventhub[0].name However, if the namespace_name field is a required parameter on the resources you are passing it to, you might run into other issues while you are trying to set enabled to false, as the resources depend on the output of the ...


Only top voted, non community-wiki answers of a minimum length are eligible