-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR
The output psc_auto_connection
contains one object psc_auto_connection
. So you have to write psc_auto_connection.psc_auto_connection
what is unexpected, not documented and looks strange.
Expected behavior
I'd expected that I can simply use psc_auto_connection
. Having the structure of all outputs (and inputs) being documented (like that is done for all resources of the Google Terraform provider) would help too.
Observed behavior
I need to use psc_auto_connection.psc_auto_connection
.
Terraform Configuration
module "valkey" {
source = "terraform-google-modules/memorystore/google//modules/valkey"
version = "~> 15.2"
...
}
resource "google_dns_record_set" "internal" {
name = "${local.dns_name}."
type = "A"
ttl = 300
managed_zone = module.network.internal_managed_zone
rrdatas = [for c in module.valkey.psc_auto_connection.psc_auto_connection : c.ip_address]
}
Terraform Version
Terraform v1.13.3
on darwin_arm64
+ provider registry.terraform.io/hashicorp/google v7.3.0
+ provider registry.terraform.io/hashicorp/google-beta v7.4.0
Terraform Provider Versions
Providers required by configuration:
.
├── provider[registry.terraform.io/hashicorp/google] ~> 7.3.0
└── module.valkey
├── provider[registry.terraform.io/hashicorp/google] >= 7.3.0
├── module.valkey
│ ├── provider[registry.terraform.io/hashicorp/google] >= 6.30.0, < 8.0.0
│ └── module.enable_apis
│ ├── provider[registry.terraform.io/hashicorp/google] >= 3.43.0, < 8.0.0
│ └── provider[registry.terraform.io/hashicorp/google-beta] >= 3.43.0, < 8.0.0
└── module.network
└── provider[registry.terraform.io/hashicorp/google] >= 7.3.0
Providers required by state:
provider[registry.terraform.io/hashicorp/google]
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working