Closed ashleyghooper closed 2 weeks ago
@ashleyghooper According to the doc it accepts network ID
. I think we can add mode details in description or perhaps add another variable network_id and deprecate network_self_link
variable.
variable "network_self_link" {
description = "Network ID where the AlloyDb cluster will be deployed."
type = string
}
Hi @imrannayer, thanks for your reply. I just noticed looking at a Compute instance just now in the GCP Console and clicking the Equivalent REST response, that the selfLink
property is also specified without the https://www.googleapis.com/compute/...
prefix.
Maybe my assumption that self links should always be full URLs is incorrect?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
seems like self link and ID have same value
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
The
network_self_link
attribute actually will not accept a network'sself_link
. If a self link is provided, an error like the below is seen:The usage example in the main README.md composes the value as below:
I believe that format is known as a resource's
id
. In my experience, the convention is to passself_link
s around, so ideally the module internals would be changed to support accepting an actualself_link
(perhaps falling back to accepting anid
if possible).