Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11533

Any way to Fetch computed value

$
0
0

Hello,

For Azure, Private Endpoint resource , private_ip_address is a computed value.

For Private DNS A Record , only IP address is allowed.

Is there a way that I can fetch the computed value(private_ip_address) and use it in Private DNS A Record .
(records = [azurerm_private_endpoint.example.private_ip_address])

If i try to use it like an attribute , I get an error.
Object does not have an attribute named private_ip_address.


2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 11533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>