# Override in Dynamic block? AppGateway

**URL:** <https://discuss.hashicorp.com/t/override-in-dynamic-block-appgateway/74439>\
**Category:** Terraform\
**Tags:** hcp-terraform, azure\
**Created:** [April 15, 2025, 1:39pm UTC](https://discuss.hashicorp.com/t/override-in-dynamic-block-appgateway/74439 "2025-04-15T13:39:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![wyardley](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/wyardley/32/21845_2.png) [@wyardley](https://discuss.hashicorp.com/u/wyardley)\
**Post date:** [April 18, 2025, 5:01am UTC](https://discuss.hashicorp.com/t/override-in-dynamic-block-appgateway/74439/4 "2025-04-18T05:01:24Z")

</div>

See the SO link - it should be possible to define defaults if you want. One way would be to merge the defaults with each item in the list, but I think there should be a cleaner way too.

[Is it possible to set attribute defaults in a list of objects? - #4 by jmdoman](https://discuss.hashicorp.com/t/is-it-possible-to-set-attribute-defaults-in-a-list-of-objects/50593/4) is another thread you could look at.

If you show an example of how the data structure you’re passing into that looks, someone might be able to provide a little more help as to how else you could do it.

---

_[View the full topic](https://discuss.hashicorp.com/t/override-in-dynamic-block-appgateway/74439)._
