A Problem with App Connector Group Attributes #162
Replies: 2 comments
-
Hi @afellows142 the app_connector_groups parameter is supposed to be a list of IDs as per the example below // Create Server Group - Dynamic Discovery "True"
resource "zpa_server_group" "example" {
name = "Example"
description = "Example"
enabled = true
dynamic_discovery = true
app_connector_groups {
id = [data.zpa_app_connector_group.example.id]
}
}
data "zpa_app_connector_group" "example" {
name = "Example"
} |
Beta Was this translation helpful? Give feedback.
-
Thanks William. That actually wasn't my problem as I am passing it as a list
The issue I had involved variable type. When you import resources to a state file, it imports them as string values which is why I had my variable type set as |
Beta Was this translation helpful? Give feedback.
-
I just ran into a problem with the "id" attribute for a zpa_app_connector_group resource, and any help would be appreciated. I'm using App Connector Group and Server Group modules that I made in the same config file, which looks like this
The
acg_id
is what I named the variable for the id for the App_Connector_Group, as seen here:When I run a plan, the following error gets thrown and I can't tell why.
Beta Was this translation helpful? Give feedback.
All reactions