oracle-terraform-modules/terraform-oci-vcn

add outputs for full parity of attributes with provider

kral2 opened this issue · 1 comments

kral2 commented

When wrapping a resource behind a module, the most common problem is that you cannot interact with it as you would with the original resources, or let's say you can interact with the module inner resources as much as your Inputs and Ouputs permits.

We need output that gives access to all existing attributes: that's key for reusability with module composition and when using remote state data source.

Some examples that could be interesting on a vcn: vcn_domain_name, display_name, the default resources ids (default SL, default RT, default DHCP Options), time_created.

VCN is a fundamental module: we don't know yet what will be built with it, so the tool should allow for great level of flexibility.

Ideally, the solution should update itself as provider adds new attributes. In the long run this means lower maintenance on the module.

Originally posted by @kral2 in #32 (comment)

kral2 commented

🎉 This issue has been resolved in version v2.2.0 🎉

The release is available here